[FFmpeg-devel] [RFC PATCH] libavcodec/jpeg2000: Make corrections jpeg2000 decoder

Michael Niedermayer michael at niedermayer.cc
Fri Jun 19 22:59:27 EEST 2020


On Thu, Jun 18, 2020 at 11:55:20PM +0530, gautamramk at gmail.com wrote:
> From: Gautam Ramakrishnan <gautamramk at gmail.com>
> 
> This is with reference to my previous email on the mailing list
> with subject: "query on pixel formats".
> I wish to cleanup some errors in the decoder code. These changes
> would allow the samples p1_01.j2k and p1_07.j2k to be decoded.
> However, I am facing issues with pixel format selection and have
> currently forced the pixel formats to demonstrate the changes made.
> Would be grateful if anyone could suggest modifications to the pix
> format selection.
> ---
>  libavcodec/jpeg2000.c    |  3 ---
>  libavcodec/jpeg2000dec.c | 53 ++++++++++++++++++++++++++--------------
>  2 files changed, 34 insertions(+), 22 deletions(-)

Its probably a good idea to run this through some fuzzer when checks are
removed, something really simple like zzuf is probably better than nothing

thx

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200619/70983d00/attachment.sig>


More information about the ffmpeg-devel mailing list