avcodec/vvc_parser: properly split PUs when a Prefix SEI NUT is found

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2026-05-09 11:44:39 -03:00
parent 2948acd528
commit b2dfc14276
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -1 +1 @@
c0d308912bcdda2b780f3e0a808ff138
8f315df1b5f1f6f341554ff62980b8d9