This was erroneously included in 7e778586e7efceacae33b12b9b3673838060f8f2.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -499,9 +499,9 @@ static int cbs_h2645_fragment_add_nals(CodedBitstreamContext *ctx, · 498 unmodified lines | |||
| 499 | size_t size = nal->size; | 499 | size_t size = nal->size; |
| 500 | enum AVCodecID codec_id = ctx->codec->codec_id; | 500 | enum AVCodecID codec_id = ctx->codec->codec_id; |
| 501 | 501 | ||
| 502 | // if (codec_id == AV_CODEC_ID_HEVC && nal->nuh_layer_id > 0 && | 502 | if (codec_id == AV_CODEC_ID_HEVC && nal->nuh_layer_id > 0 && |
| 503 | // (nal->type < HEVC_NAL_VPS || nal->type > HEVC_NAL_PPS)) | 503 | (nal->type < HEVC_NAL_VPS || nal->type > HEVC_NAL_PPS)) |
| 504 | // continue; | 504 | continue; |
| 505 | 505 | ||
| 506 | // Remove trailing zeroes. | 506 | // Remove trailing zeroes. |
| 507 | while (size > 0 && nal->data[size - 1] == 0) | 507 | while (size > 0 && nal->data[size - 1] == 0) |