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
1 changed files with 1 additions and 1 deletions

View File

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