From 329851e03251b58b43c0b55c2852a69dcbb79459 Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Sat, 1 Dec 2007 15:41:35 +0000
Subject: [PATCH] TIFF may omit compression tag.

This fixes issue 276.

Originally committed as revision 11121 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/tiff.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 6c1c346e61..9b8da24e20 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -422,6 +422,7 @@ static int decode_frame(AVCodecContext *avctx,
     }
     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){