[FFmpeg-devel] [PATCH 3/3] pngdec: add ability to check chunk CRC

Lynne dev at lynne.ee
Sat May 23 01:46:15 EEST 2020


Posting this again.

By default now, if AV_EF_CRCCHECK or AV_EF_IGNORE_ERR are enabled the decoder 
will skip the chunk and carry on with the next one. This should make the
decoder able to decode more corrupt files because the functions which decode
individual chunks will very likely error out if fed invalid data and stop the
decoding of the entire image.

Patch attached.
I think this one is important since it allows at least partial decoding of damaged files.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-pngdec-add-ability-to-check-chunk-CRC.patch
Type: text/x-patch
Size: 2458 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200523/e696592f/attachment.bin>


More information about the ffmpeg-devel mailing list