[FFmpeg-devel] [PATCH v2 2/4] avcodec/cbs_h2645: keep nal->nuh_layer_id > 0
Zhao Zhili
quinkblack at foxmail.com
Fri Jan 6 17:52:28 EET 2023
From: Zhao Zhili <zhilizhao at tencent.com>
Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
---
libavcodec/cbs_h2645.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 4ee06003c3..b12abede29 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -477,9 +477,6 @@ static int cbs_h2645_fragment_add_nals(CodedBitstreamContext *ctx,
AVBufferRef *ref;
size_t size = nal->size;
- if (nal->nuh_layer_id > 0)
- continue;
-
// Remove trailing zeroes.
while (size > 0 && nal->data[size - 1] == 0)
--size;
--
2.25.1
More information about the ffmpeg-devel
mailing list