You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Warn about JPEG in TIFF
Originally committed as revision 7003 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -282,6 +282,10 @@ static int tiff_decode_tag(TiffContext *s, uint8_t *start, uint8_t *buf, uint8_t
|
|||||||
case TIFF_CCITT_RLE:
|
case TIFF_CCITT_RLE:
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "CCITT RLE compression is not supported\n");
|
av_log(s->avctx, AV_LOG_ERROR, "CCITT RLE compression is not supported\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
case TIFF_JPEG:
|
||||||
|
case TIFF_NEWJPEG:
|
||||||
|
av_log(s->avctx, AV_LOG_ERROR, "JPEG compression is not supported\n");
|
||||||
|
return -1;
|
||||||
default:
|
default:
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n", s->compr);
|
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n", s->compr);
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user