Otherwise parameter sets from extradata with nuh_layer_id>0 would be ignored. Needed for upcoming MV-HEVC support.
Unified · Split
| @@ -38,9 +38,6 @@ static int hevc_decode_nal_units(const uint8_t *buf, int buf_size, HEVCParamSets · 37 unmodified lines | ||
| 38 | 38 | |
| 39 | 39 | for (i = 0; i < pkt.nb_nals; i++) { |
| 40 | 40 | H2645NAL *nal = &pkt.nals[i]; |
| 41 | − if (nal->nuh_layer_id > 0) | |
| 42 | − continue; | |
| 43 | − | |
| 44 | 41 | /* ignore everything except parameter sets and VCL NALUs */ |
| 45 | 42 | switch (nal->type) { |
| 46 | 43 | case HEVC_NAL_VPS: |