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

Marton Balint cus at passwd.hu
Wed Nov 7 02:07:45 EET 2018



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)?

Regards,
Marton


More information about the ffmpeg-devel mailing list