mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-28 20:14:02 +08:00
Make TIFF decoder load compression options only for corresponding codec
Originally committed as revision 20064 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -437,7 +437,11 @@ 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:
|
||||
if(s->compr == TIFF_G4)
|
||||
s->fax_opts = value;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user