[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec huffyuv.c,1.68,1.69

Michael Niedermayer CVS michael
Thu Mar 30 16:13:06 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv7892

Modified Files:
	huffyuv.c 
Log Message:
dont forget table_size in the decode_frame return value


Index: huffyuv.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/huffyuv.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- huffyuv.c	18 Mar 2006 02:29:58 -0000	1.68
+++ huffyuv.c	30 Mar 2006 14:13:03 -0000	1.69
@@ -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){





More information about the ffmpeg-cvslog mailing list