History

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.

Anton Khirnov committed 2 years ago

Commit 52ce2d21 parent 81e9afa1 file · +0 −3Browse files

Showing the changes to libavcodec/hevc/parse.c (1 of 1 file). Show all

Unified · Split

libavcodec/hevc/parse.c+0−3
@@ -38,9 +38,6 @@ static int hevc_decode_nal_units(const uint8_t *buf, int buf_size, HEVCParamSets · 37 unmodified lines
3838
3939 for (i = 0; i < pkt.nb_nals; i++) {
4040 H2645NAL *nal = &pkt.nals[i];
41− if (nal->nuh_layer_id > 0)
42− continue;
43−
4441 /* ignore everything except parameter sets and VCL NALUs */
4542 switch (nal->type) {
4643 case HEVC_NAL_VPS:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t