changeset 5962:a6c9aa23d379 libavcodec

TIFF may omit compression tag. This fixes issue 276.
author kostya
date Sat, 01 Dec 2007 15:41:35 +0000
parents 74e314bb31c4
children 80103098c797
files tiff.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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){