# HG changeset patch # User kostya # Date 1163395785 0 # Node ID cfaa5d84641e11b8a1c8afc12553e66a987df827 # Parent c70922cdf2eee35b00c3a1b94f566846203ff770 Warn about JPEG in TIFF diff -r c70922cdf2ee -r cfaa5d84641e tiff.c --- a/tiff.c Mon Nov 13 05:28:55 2006 +0000 +++ b/tiff.c Mon Nov 13 05:29:45 2006 +0000 @@ -282,6 +282,10 @@ 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;