mirror of https://git.ffmpeg.org/ffmpeg.git
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;
|
||||
*data_size = sizeof(AVPicture);
|
||||
return 0;
|
||||
return buf_size;
|
||||
}
|
||||
|
||||
static int dnxhd_decode_close(AVCodecContext *avctx)
|
||||
|
|
Loading…
Reference in New Issue