Commit 1b17eaa9 authored by kostya's avatar kostya

Warn about JPEG in TIFF

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7003 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 571715ad
......@@ -282,6 +282,10 @@ static int tiff_decode_tag(TiffContext *s, uint8_t *start, uint8_t *buf, uint8_t
case TIFF_CCITT_RLE:
av_log(s->avctx, AV_LOG_ERROR, "CCITT RLE compression is not supported\n");
return -1;
case TIFF_JPEG:
case TIFF_NEWJPEG:
av_log(s->avctx, AV_LOG_ERROR, "JPEG compression is not supported\n");
return -1;
default:
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n", s->compr);
return -1;
......
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