diff mbox series

[FFmpeg-devel] lavc/mjpegdec: Decode format 211121 as YUV 4:4:4

Message ID CAB0OVGodV98yZsfCgpfQ+X3+mz3ZS_a_D1=ZAjmcodbBkUS_QQ@mail.gmail.com
State Accepted
Commit 3220a908ca3c9e2d4108464f2127fdbb7479e69a
Headers show
Series [FFmpeg-devel] lavc/mjpegdec: Decode format 211121 as YUV 4:4:4
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Carl Eugen Hoyos March 21, 2021, 12:39 a.m. UTC
Hi!

Attached patch fixes ticket #8930 for me.

Please comment, Carl Eugen
Subject: [PATCH] lavc/mjpegdec: Decode format 211121 as YUV 4:4:4

Fixes ticket #8930.
---
 libavcodec/mjpegdec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer March 23, 2021, 7:59 p.m. UTC | #1
On Sun, Mar 21, 2021 at 01:39:28AM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #8930 for me.
> 
> Please comment, Carl Eugen

>  mjpegdec.c |    1 +
>  1 file changed, 1 insertion(+)
> 092c45ecc5789ce34c9f905ce55d7c573f39fce5  0001-lavc-mjpegdec-Decode-format-211121-as-YUV-4-4-4.patch
> From f032f8963d3da6a074f626e6c97c2c95d3918194 Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <ceffmpeg@gmail.com>
> Date: Sun, 21 Mar 2021 01:36:32 +0100
> Subject: [PATCH] lavc/mjpegdec: Decode format 211121 as YUV 4:4:4
> 
> Fixes ticket #8930.
> ---
>  libavcodec/mjpegdec.c | 1 +
>  1 file changed, 1 insertion(+)

probably ok

thx

[...]
Carl Eugen Hoyos March 23, 2021, 9 p.m. UTC | #2
Am Di., 23. März 2021 um 21:00 Uhr schrieb Michael Niedermayer
<michael@niedermayer.cc>:
>
> On Sun, Mar 21, 2021 at 01:39:28AM +0100, Carl Eugen Hoyos wrote:
> > Hi!
> >
> > Attached patch fixes ticket #8930 for me.
> >
> > Please comment, Carl Eugen
>
> >  mjpegdec.c |    1 +
> >  1 file changed, 1 insertion(+)
> > 092c45ecc5789ce34c9f905ce55d7c573f39fce5  0001-lavc-mjpegdec-Decode-format-211121-as-YUV-4-4-4.patch
> > From f032f8963d3da6a074f626e6c97c2c95d3918194 Mon Sep 17 00:00:00 2001
> > From: Carl Eugen Hoyos <ceffmpeg@gmail.com>
> > Date: Sun, 21 Mar 2021 01:36:32 +0100
> > Subject: [PATCH] lavc/mjpegdec: Decode format 211121 as YUV 4:4:4
> >
> > Fixes ticket #8930.
> > ---
> >  libavcodec/mjpegdec.c | 1 +
> >  1 file changed, 1 insertion(+)
>
> probably ok

Patch applied.

Thank you, Carl Eugen
diff mbox series

Patch

diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 20f310fd70..5583d2aa35 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -560,6 +560,7 @@  int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
         case 0x12121100:
         case 0x22122100:
         case 0x21211100:
+        case 0x21112100:
         case 0x22211200:
         case 0x22221100:
         case 0x22112200: