Browse Source

TIFF may omit compression tag.

This fixes issue 276.

Originally committed as revision 11121 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Kostya Shishkov 17 years ago
parent
commit
329851e032
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/tiff.c

+ 1
- 0
libavcodec/tiff.c View File

@@ -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){


Loading…
Cancel
Save