diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 8a42e677ce..7d0a78cb3c 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -1682,9 +1682,6 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame) } break; case TIFF_ICC_PROFILE: - if (type != TIFF_UNDEFINED) - return AVERROR_INVALIDDATA; - gb_temp = s->gb; bytestream2_seek(&gb_temp, SEEK_SET, off);