changeset 4721:3e15e577ca32 libavcodec

actually return bytes read
author bcoudurier
date Sun, 25 Mar 2007 00:16:30 +0000
parents 7775ba23c931
children 7595ead28402
files dnxhddec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dnxhddec.c	Sun Mar 25 00:12:24 2007 +0000
+++ b/dnxhddec.c	Sun Mar 25 00:16:30 2007 +0000
@@ -340,7 +340,7 @@
 
     *picture = ctx->picture;
     *data_size = sizeof(AVPicture);
-    return 0;
+    return buf_size;
 }
 
 static int dnxhd_decode_close(AVCodecContext *avctx)