[FFmpeg-devel] [PATCH]lavf/apngdec: Return eof for incomplete files

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Nov 7 02:34:17 EET 2018


2018-11-07 1:07 GMT+01:00, Marton Balint <cus at passwd.hu>:
>
>
> On Wed, 7 Nov 2018, Carl Eugen Hoyos wrote:
>
>> Hi!
>>
>> Attached patch silences the console flooding for incomplete apng files
>> and fixes ticket #7536:
>> In-stream tag=[0][0][0][0] (0x00000000) len=0 is not implemented.
>> Update your FFmpeg version...
>>
>> Please comment, Carl Eugen
>>
>
>>+
>>+    if (pb->eof_reached)
>>+        return AVERROR_EOF;
>>+
>
> Why not avio_feof(pb)?

New patch attached.

Please comment, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-apngdec-Return-EOF-for-incomplete-files.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181107/f9c4f0c8/attachment.bin>


More information about the ffmpeg-devel mailing list