[FFmpeg-cvslog] r20072 - trunk/libavcodec/faxcompr.c

kostya subversion
Tue Sep 29 07:55:15 CEST 2009


Author: kostya
Date: Tue Sep 29 07:55:14 2009
New Revision: 20072

Log:
Make sure all the bits are written to output in fax data decoder.
This fixes decoding TIFF images with fax compression and width being not
multiple of eight (and issue 1429).

Modified:
   trunk/libavcodec/faxcompr.c

Modified: trunk/libavcodec/faxcompr.c
==============================================================================
--- trunk/libavcodec/faxcompr.c	Mon Sep 28 23:46:22 2009	(r20071)
+++ trunk/libavcodec/faxcompr.c	Tue Sep 29 07:55:14 2009	(r20072)
@@ -253,6 +253,7 @@ static void put_line(uint8_t *dst, int s
         if(run)
             put_sbits(&pb, run, mode);
     }
+    flush_put_bits(&pb);
 }
 
 static int find_group3_syncmarker(GetBitContext *gb, int srcsize)



More information about the ffmpeg-cvslog mailing list