PR #23032 opened by James Almer (jamrial) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23032 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23032.patch
>From c4db654dd17c5a1a2d2151780d8f3552b2154cb5 Mon Sep 17 00:00:00 2001 From: James Almer <[email protected]> Date: Wed, 6 May 2026 13:00:09 -0300 Subject: [PATCH] avcodec/vvc_parser: properly split PUs when a Prefix SEI NUT is found Signed-off-by: James Almer <[email protected]> --- libavcodec/vvc_parser.c | 2 +- tests/ref/fate/cbs-vvc-HRD_A_3 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vvc_parser.c b/libavcodec/vvc_parser.c index 6a96dc086b..85510ff1f6 100644 --- a/libavcodec/vvc_parser.c +++ b/libavcodec/vvc_parser.c @@ -104,7 +104,7 @@ static int find_frame_end(AVCodecParserContext *s, const uint8_t *buf, // 7.4.2.4.3 and 7.4.2.4.4 if ((nut >= VVC_OPI_NUT && nut <= VVC_PREFIX_APS_NUT && nut != VVC_PH_NUT) || nut == VVC_AUD_NUT - || (nut == VVC_PREFIX_SEI_NUT && !pc->frame_start_found) + || nut == VVC_PREFIX_SEI_NUT || nut == VVC_RSV_NVCL_26 || nut == VVC_UNSPEC_28 || nut == VVC_UNSPEC_29) { if (pc->frame_start_found) { diff --git a/tests/ref/fate/cbs-vvc-HRD_A_3 b/tests/ref/fate/cbs-vvc-HRD_A_3 index 39e4b906c6..c75e059fd5 100644 --- a/tests/ref/fate/cbs-vvc-HRD_A_3 +++ b/tests/ref/fate/cbs-vvc-HRD_A_3 @@ -1 +1 @@ -c0d308912bcdda2b780f3e0a808ff138 +8f315df1b5f1f6f341554ff62980b8d9 -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
