summaryrefslogtreecommitdiff
path: root/libavcodec/tiff.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-18 19:51:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-18 19:52:22 +0200
commit3f0c76e26205f867b089ac56d7cb14bf8d984ef0 (patch)
tree44bda496d6f5fd5d761b98385f3acb1e39bcb67b /libavcodec/tiff.c
parentf47751a56cc470c90f9761afd510e5a6560340f9 (diff)
parent12640e4cbb142be0cd025bcf37f1ea437bdfecd0 (diff)
downloadffmpeg-3f0c76e26205f867b089ac56d7cb14bf8d984ef0.tar.gz
Merge commit '12640e4cbb142be0cd025bcf37f1ea437bdfecd0'
* commit '12640e4cbb142be0cd025bcf37f1ea437bdfecd0': tiff: Return proper error for missing LZMA compression Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/tiff.c')
-rw-r--r--libavcodec/tiff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 7dab18466c..73bf828a84 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -772,6 +772,9 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
case TIFF_NEWJPEG:
avpriv_report_missing_feature(s->avctx, "JPEG compression");
return AVERROR_PATCHWELCOME;
+ case TIFF_LZMA:
+ avpriv_report_missing_feature(s->avctx, "LZMA compression");
+ return AVERROR_PATCHWELCOME;
default:
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n",
s->compr);