aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 00:16:30 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-25 00:16:30 +0000
commit239e1b6f8faf665aec5ba595c2ca7cddae987f42 (patch)
treedc4670f12138eb76b4a55eedaa2b2c9ea8c85f7e
parentea82552c09b5c35528d0d8d79ed6b2879e5e3299 (diff)
downloadffmpeg-239e1b6f8faf665aec5ba595c2ca7cddae987f42.tar.gz
actually return bytes read
Originally committed as revision 8504 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/dnxhddec.c2
1 files changed, 1 insertions, 1 deletions
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)