diff mbox series

[FFmpeg-devel,v2,2/4] avcodec/cbs_h2645: keep nal->nuh_layer_id > 0

Message ID tencent_964EE4706A2DE99AA140F89A759F56ABDA08@qq.com
State New
Headers show
Series [FFmpeg-devel,v2,1/4] avcodec/hevc_parse: keep nal->nuh_layer_id > 0 | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Zhao Zhili Jan. 6, 2023, 3:52 p.m. UTC
From: Zhao Zhili <zhilizhao@tencent.com>

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
---
 libavcodec/cbs_h2645.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

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;