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

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Never trust a computer, one day, it may think you are the virus. -- Compn

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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".

Reply via email to