[FFmpeg-devel] [PATCH] libopenjpeg: fix encoding of odd sized subsampled images

Michael Niedermayer michaelni at gmx.at
Sat Sep 28 16:01:33 CEST 2013


On Mon, Sep 16, 2013 at 08:12:08PM -0600, Michael Bradshaw wrote:
> Hi,
> 
> Attached patch fixes encoding of odd sized subsampled images. Currently,
> subsampled channels have their sizes rounded down, which causes the
> libopenjpeg to access invalid memory. It expects subsampled channel sizes
> to be rounded up.
> 
> Please review.
> 
> Thanks,
> 
> Michael Bradshaw

>  libopenjpegenc.c |   79 +++++++++++++++++++++++++++++++++++++++++++------------
>  1 file changed, 62 insertions(+), 17 deletions(-)
> 24e3bede3e8f404578559af0c5fbfe53ce8170d6  0001-libopenjpeg-fix-encoding-of-odd-sized-subsampled-ima.patch
> From 34c5bb1501b6e3fb41931e68b234dd88ef274b0f Mon Sep 17 00:00:00 2001
> From: Michael Bradshaw <mjbshaw at gmail.com>
> Date: Mon, 16 Sep 2013 20:10:04 -0600
> Subject: [PATCH] libopenjpeg: fix encoding of odd sized subsampled images

applied

thanks

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130928/accff3c9/attachment.asc>


More information about the ffmpeg-devel mailing list