[FFmpeg-devel] [PATCH v3] avcodec/h264: ignore POC when flag is set

Kevin Wang kevmo314 at gmail.com
Tue Sep 17 16:00:56 EEST 2024


I have a file that repro's the issue along with a description of
what's going on in the file: https://trac.ffmpeg.org/ticket/11190

I can try dumping that into the `fate` samples? I don't see any
corrupted file samples in there though so I'm happy to follow whatever
guidance you can provide.

On Tue, Sep 17, 2024 at 8:15 AM Anton Khirnov <anton at khirnov.net> wrote:
>
> Quoting Kevin Wang (2024-09-16 06:26:34)
> > When the flag AV_CODEC_FLAG_OUTPUT_CORRUPT or AV_CODEC_FLAG2_SHOW_ALL
> > is set, ignore any out of order POC's as they may still be valid
> > frames.
> > ---
> > Reformat with more lines so the patch is better.
> >
> >  libavcodec/h264_slice.c | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
>
> Do you have a test case for this?
>
> Also, the patch formatting is still broken. If all else fails, you could
> just send it as an attachment.
>
> --
> Anton Khirnov


More information about the ffmpeg-devel mailing list