1
0
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:
Baptiste Coudurier 2007-03-25 00:16:30 +00:00
parent ea82552c09
commit 239e1b6f8f

View File

@ -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)