From 239e1b6f8faf665aec5ba595c2ca7cddae987f42 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sun, 25 Mar 2007 00:16:30 +0000 Subject: [PATCH] actually return bytes read Originally committed as revision 8504 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dnxhddec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 44aae5a891..224439c47b 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -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)