[FFmpeg-devel] [PATCH] avcodec/mjpegdec: fix regression with baseline RGB JPEGs

Michael Niedermayer michael at niedermayer.cc
Wed Apr 19 21:33:44 EEST 2023


On Wed, Apr 19, 2023 at 08:30:13PM +0200, Michael Niedermayer wrote:
> On Thu, Apr 13, 2023 at 08:45:06AM -0400, Leo Izen wrote:
> > Commit b18a9c29713abc3a1b081de3f320ab53a47120c6 introduced a regression
> > that broke some baseline RGB jpegs. (See Trac issue #4045). This fixes
> > that.
> > 
> > Signed-off-by: Leo Izen <leo.izen at gmail.com>
> > ---
> >  libavcodec/mjpegdec.c | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> Breaks:
> ./ffplay tickets/1651/prog_rgb_2.jpg

also this:
tickets/850/sequential_RGB_24bpp.jpg

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20230419/d930c29f/attachment.sig>


More information about the ffmpeg-devel mailing list