[FFmpeg-devel] [PATCH] tiffenc: properly compute packet size

Michael Niedermayer michaelni at gmx.at
Wed Oct 22 22:27:19 CEST 2014


On Sun, Oct 19, 2014 at 05:10:09PM +0200, Christophe Gisquet wrote:
> Hi,
> 
> the attached patch fixes part of ticket #3874, for the part ffmpeg's
> encoder is responsible for. The remainder of the issue is decoders not
> correctly handling unusual chroma subsamplings.
> 
> Note: I have kept the computation from the width in raw bytes as I
> suspect this can be the worst case for lzw code expansion.
> 
> -- 
> Christophe

>  tiffenc.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 9c1c9a527929f8bba872601e55af87d8c6bd748f  0001-tiffenc-properly-compute-packet-size.patch
> From 9ec9a913fbfc6238de915c360df2324c309636fb Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Sun, 12 Oct 2014 21:10:54 +0200
> Subject: [PATCH] tiffenc: properly compute packet size
> 
> The bytes per row is a better indication of it.
> 
> Helps resolving ticket #3874 by fixing ffmpeg's encoder and transforming
> the issue in a issue with non-compliant decoders. ffmpeg's one is ok,
> but unfortunately, many aren't handling correctling unusual chroma
> samplings.
> ---
>  libavcodec/tiffenc.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141022/e3258303/attachment.asc>


More information about the ffmpeg-devel mailing list