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. --- Apologies for the non-inlined patch but for some reason patchwork doesn't apply it correctly.
This is the same patch as https://ffmpeg.org/pipermail/ffmpeg-devel/2024-September/333451.html 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
avcodec-h264-ignore-POC-when-flag-is-set.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".