diff tiff.c @ 5962:a6c9aa23d379 libavcodec

TIFF may omit compression tag. This fixes issue 276.
author kostya
date Sat, 01 Dec 2007 15:41:35 +0000
parents d6957da94689
children e7c178d397ea
line wrap: on
line diff
--- a/tiff.c	Sat Dec 01 12:05:59 2007 +0000
+++ b/tiff.c	Sat Dec 01 15:41:35 2007 +0000
@@ -422,6 +422,7 @@
     }
     s->le = le;
     s->invert = 0;
+    s->compr = TIFF_RAW;
     // As TIFF 6.0 specification puts it "An arbitrary but carefully chosen number
     // that further identifies the file as a TIFF file"
     if(tget_short(&buf, le) != 42){