Re: [FFmpeg-devel] [PATCH] avcodec/mjpegdec: Try to continue decoding on zero quant matrix value

2021-07-05 Thread Andriy Gelman
On Sun, 04. Jul 21:28, Michael Niedermayer wrote: > On Sat, Jul 03, 2021 at 12:25:28PM -0400, Andriy Gelman wrote: > > From: Andriy Gelman > > > > A zero value in the quantization matrix is invalid but in practice will > > just set the transform coefficient to zero after inverse quantization. > >

Re: [FFmpeg-devel] [PATCH] avcodec/mjpegdec: Try to continue decoding on zero quant matrix value

2021-07-04 Thread Michael Niedermayer
On Sat, Jul 03, 2021 at 12:25:28PM -0400, Andriy Gelman wrote: > From: Andriy Gelman > > A zero value in the quantization matrix is invalid but in practice will > just set the transform coefficient to zero after inverse quantization. > Try to continue decoding if the AV_EF_EXPLODE flag is not set

[FFmpeg-devel] [PATCH] avcodec/mjpegdec: Try to continue decoding on zero quant matrix value

2021-07-03 Thread Andriy Gelman
From: Andriy Gelman A zero value in the quantization matrix is invalid but in practice will just set the transform coefficient to zero after inverse quantization. Try to continue decoding if the AV_EF_EXPLODE flag is not set. Fixes ticket #9287. Signed-off-by: Andriy Gelman --- The last frame