Commit 32e8a58b authored by kostya's avatar kostya

Make TIFF decoder load compression options only for corresponding codec

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20064 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 927725a4
......@@ -437,8 +437,12 @@ static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
}
break;
case TIFF_T4OPTIONS:
if(s->compr == TIFF_G3)
s->fax_opts = value;
break;
case TIFF_T6OPTIONS:
s->fax_opts = value;
if(s->compr == TIFF_G4)
s->fax_opts = value;
break;
}
return 0;
......
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