mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
actually return bytes read
Originally committed as revision 8504 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ea82552c09
commit
239e1b6f8f
@ -340,7 +340,7 @@ static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
|||||||
|
|
||||||
*picture = ctx->picture;
|
*picture = ctx->picture;
|
||||||
*data_size = sizeof(AVPicture);
|
*data_size = sizeof(AVPicture);
|
||||||
return 0;
|
return buf_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int dnxhd_decode_close(AVCodecContext *avctx)
|
static int dnxhd_decode_close(AVCodecContext *avctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user