aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-06-07 08:36:31 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-23 17:11:40 +0200
commit52ce2d2a04726c7a5d7905ab735ea16cd5990bef (patch)
treef5b9c625e63d2ac103e63bd09d01bf19ca5eebd6
parent81e9afa6c22b3ef92de7dc30f340fe2ab7ff5112 (diff)
downloadffmpeg-52ce2d2a04726c7a5d7905ab735ea16cd5990bef.tar.gz
lavc/hevcdec/parse: process NALUs with nuh_layer_id>0
Otherwise parameter sets from extradata with nuh_layer_id>0 would be ignored. Needed for upcoming MV-HEVC support.
-rw-r--r--libavcodec/hevc/parse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/hevc/parse.c b/libavcodec/hevc/parse.c
index ad84b7b152..29f21a5966 100644
--- a/libavcodec/hevc/parse.c
+++ b/libavcodec/hevc/parse.c
@@ -38,9 +38,6 @@ static int hevc_decode_nal_units(const uint8_t *buf, int buf_size, HEVCParamSets
for (i = 0; i < pkt.nb_nals; i++) {
H2645NAL *nal = &pkt.nals[i];
- if (nal->nuh_layer_id > 0)
- continue;
-
/* ignore everything except parameter sets and VCL NALUs */
switch (nal->type) {
case HEVC_NAL_VPS: