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 <andriy.gel...@gmail.com> > > > > 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 <andriy.gel...@gmail.com> > > --- > > > > The last frame in the sample of the ticket does not decode because the > > input file appears truncated. > > Something like the following patch would still be needed to output the final > > frame: > > https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210627135307.14008-1-mich...@niedermayer.cc/ > > > > libavcodec/mjpegdec.c | 6 ++++-- > > 1 file changed, 4 insertions(+), 2 deletions(-)
> > LGTM > Thanks, will apply. -- Andriy _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".