From b1edf612d5f839fcfce1b32df4d02ab6578c56b7 Mon Sep 17 00:00:00 2001
From: yimingli <marcli@tencent.com>
Date: Tue, 12 Jul 2022 20:30:08 +0800
Subject: [PATCH] Fix for userdata SEI parsing
---
source/Lib/DecoderLib/DecLib.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp
index 50f6e775..1d96d894 100644
a
|
b
|
void DecLib::checkSeiContentInAccessUnit() |
1495 | 1495 | payloadType += val; |
1496 | 1496 | } while (val==0xFF); |
1497 | 1497 | |
| 1498 | if (payloadType == SEI::USER_DATA_REGISTERED_ITU_T_T35 || payloadType == SEI::USER_DATA_UNREGISTERED) { |
| 1499 | break; |
| 1500 | } |
| 1501 | |
1498 | 1502 | uint32_t payloadSize = 0; |
1499 | 1503 | do |
1500 | 1504 | { |
… |
… |
void DecLib::checkSeiContentInAccessUnit() |
1502 | 1506 | payloadSize += val; |
1503 | 1507 | } while (val==0xFF); |
1504 | 1508 | |
1505 | | if (payloadType != SEI::SCALABLE_NESTING && payloadType != SEI::USER_DATA_REGISTERED_ITU_T_T35 && payloadType != SEI::USER_DATA_UNREGISTERED) |
| 1509 | if (payloadType != SEI::SCALABLE_NESTING) |
1506 | 1510 | { |
1507 | 1511 | if (payloadType == SEI::BUFFERING_PERIOD || payloadType == SEI::PICTURE_TIMING || payloadType == SEI::DECODING_UNIT_INFO || payloadType == SEI::SUBPICTURE_LEVEL_INFO) |
1508 | 1512 | { |