[FFmpeg-devel] [PATCH 04/11] avformat/apngdec: Return error when header incomplete

Nicolas George george at nsup.org
Thu Dec 12 14:07:14 EET 2019

James Almer (12019-12-10):
> An incomplete header is invalid/truncated data, so this should be either

AVERROR_INVALIDDATA ok, but not AVERROR(EIO): there was no input our
output error, except if reported by the underlying layer.

We have been using AVERROR(EIO) as a default error for some time because
we did not have the proper codes, but now we have.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191212/3929f6c8/attachment.sig>

More information about the ffmpeg-devel mailing list