[FFmpeg-devel] [PATCH] libavcodec/jpeg2000dec.c: fix error in cod marker

Gautam Ramakrishnan gautamramk at gmail.com
Sat Apr 11 05:46:44 EEST 2020


On Sat, Apr 11, 2020 at 2:25 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
> Am Fr., 10. Apr. 2020 um 20:28 Uhr schrieb <gautamramk at gmail.com>:
> >
> > From: Gautam Ramakrishnan <gautamramk at gmail.com>
> >
> > This patch fixes an error where the COC marker
> > overrides all data of the SPcod field of the
> > COD marker. It must override only one bit of
> > SPcod field. This now allows p0_08.j2k to be
> > decoded correctly (mentioned in #4679).
>
> This patch makes p0_08.j2k decoding bit-exact,
> the other sample is in
> http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket4679/
>
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

Hi Carl,

Have been debugging the other sample. Looks like
the numeric calculations with initialization of bands
precincts and codeblock is slightly wrong. I shall
try fixing it.

-- 
-------------
Gautam |


More information about the ffmpeg-devel mailing list