[Ffmpeg-cvslog] r7007 - trunk/libavcodec/tiff.c

kostya subversion
Mon Nov 13 12:27:37 CET 2006


Author: kostya
Date: Mon Nov 13 12:27:36 2006
New Revision: 7007

Modified:
   trunk/libavcodec/tiff.c

Log:
Decoder can decode many ZLib-packed strips

Modified: trunk/libavcodec/tiff.c
==============================================================================
--- trunk/libavcodec/tiff.c	(original)
+++ trunk/libavcodec/tiff.c	Mon Nov 13 12:27:36 2006
@@ -110,10 +110,6 @@
 
     if(s->compr == TIFF_DEFLATE || s->compr == TIFF_ADOBE_DEFLATE){
         outlen = width * lines;
-        if(lines != s->height){
-            av_log(s->avctx, AV_LOG_ERROR, "This decoder won't decode ZLib-packed TIFF with %i lines per strip\n", lines);
-            return -1;
-        }
         zbuf = av_malloc(outlen);
         if(uncompress(zbuf, &outlen, src, size) != Z_OK){
             av_log(s->avctx, AV_LOG_ERROR, "Uncompressing failed (%lu of %lu)\n", outlen, (unsigned long)width * lines);




More information about the ffmpeg-cvslog mailing list