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

Paul B Mahol onemda at gmail.com
Thu Nov 8 14:23:08 EET 2018


On 11/7/18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 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
>

Isn't this same patch?


More information about the ffmpeg-devel mailing list