From 12640e4cbb142be0cd025bcf37f1ea437bdfecd0 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Mon, 18 Aug 2014 09:27:49 +0100 Subject: tiff: Return proper error for missing LZMA compression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The LZMA support is a semi-official extension supported by libtiff 4.0.0 and later. Signed-off-by: Diego Elio Pettenò Signed-off-by: Luca Barbato --- libavcodec/tiff.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/tiff.h') diff --git a/libavcodec/tiff.h b/libavcodec/tiff.h index 8a3f7f75eb..68ac695937 100644 --- a/libavcodec/tiff.h +++ b/libavcodec/tiff.h @@ -71,7 +71,8 @@ enum TiffCompr { TIFF_NEWJPEG, TIFF_ADOBE_DEFLATE, TIFF_PACKBITS = 0x8005, - TIFF_DEFLATE = 0x80B2 + TIFF_DEFLATE = 0x80B2, + TIFF_LZMA = 0x886D, }; enum TiffTypes { -- cgit v1.2.3