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

Leo Izen leo.izen at gmail.com
Wed Apr 19 22:36:57 EEST 2023


On 4/19/23 14:33, Michael Niedermayer wrote:
> 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
> 
> [...]
> 
> 
> _______________________________________________
> 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".

I tested both of these against the patch v3 sent earlier today and both 
work with that.

- Leo Izen (Traneptora / thebombzen)


More information about the ffmpeg-devel mailing list