[FFmpeg-devel] [PATCH] lavc/tiff: add support for LZMA compression

James Almer jamrial at gmail.com
Sat Aug 23 16:57:04 CEST 2014


On 23/08/14 8:37 AM, Hendrik Leppkes wrote:
> On Sat, Aug 23, 2014 at 1:31 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> On Fri, Aug 22, 2014 at 11:39:57PM -0300, James Almer wrote:
>>> Derived from deflate code.
>>> Requires liblzma.
>>>
>>> Signed-off-by: James Almer <jamrial at gmail.com>
>>
>> how can this be tested ?
>> do you have a testcase / sample ?
>>
> 
> This image should be lzma compressed:
> https://www.flameeyes.eu/tmp/imgsrc001-lzma.tiff
> 
> - Hendrik

I get an assertion failure "width <= bytes_per_row" from this file in 
tiff_unpack_strip(), before the lzma code even comes to play.
libtiff seems to be able to handle it, though, so could open a ticket in track 
after this gets committed (Without this patch the decoder just aborts as soon 
as it finds it's lzma).


More information about the ffmpeg-devel mailing list