Commit 446e5ccd authored by kostya's avatar kostya

TIFF may omit compression tag.

This fixes issue 276.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11121 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eb1ea291
......@@ -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){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment