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

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Nov 8 14:39:29 EET 2018


2018-11-08 13:36 GMT+01:00, Paul B Mahol <onemda at gmail.com>:
> On 11/8/18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>> 2018-11-08 13:23 GMT+01:00, Paul B Mahol <onemda at gmail.com>:
>>> 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?
>>
>> Looks different here, the file name is the same though,
>> is that an issue?
>
> Sorry, latest patch is ok.

Thank you!

Patch applied, Carl Eugen


More information about the ffmpeg-devel mailing list