changeset 3234:823272bdb4f7 libavcodec

dont forget table_size in the decode_frame return value
author michael
date Thu, 30 Mar 2006 14:13:03 +0000
parents 18af2f7788c6
children d3c05c7dabcd
files huffyuv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/huffyuv.c	Thu Mar 30 04:33:05 2006 +0000
+++ b/huffyuv.c	Thu Mar 30 14:13:03 2006 +0000
@@ -1015,7 +1015,7 @@
     *picture= *p;
     *data_size = sizeof(AVFrame);
 
-    return (get_bits_count(&s->gb)+31)/32*4;
+    return (get_bits_count(&s->gb)+31)/32*4 + table_size;
 }
 
 static int common_end(HYuvContext *s){