diff dnxhddec.c @ 4721:3e15e577ca32 libavcodec

actually return bytes read
author bcoudurier
date Sun, 25 Mar 2007 00:16:30 +0000
parents 1cefcd7da878
children 521465ec12e0
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)