diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-12-01 15:41:35 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-12-01 15:41:35 +0000 |
commit | 329851e03251b58b43c0b55c2852a69dcbb79459 (patch) | |
tree | 8a9fd63eda39f2007f81a284e3fdfc6a9aee39cb | |
parent | 7338d36808dbcd3fcb3c986e63b5b43232319c14 (diff) | |
download | ffmpeg-329851e03251b58b43c0b55c2852a69dcbb79459.tar.gz |
TIFF may omit compression tag.
This fixes issue 276.
Originally committed as revision 11121 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/tiff.c | 1 |
1 files changed, 1 insertions, 0 deletions
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){ |