History

avcodec/cbs_h2645: revert accidental change

This was erroneously included in 7e778586e7efceacae33b12b9b3673838060f8f2.

James Almer committed 1 year ago

Commit 3e6d89c1 parent 8cf2d971 file · +3 −3Browse files

Unified · Split

libavcodec/cbs_h2645.c+3−3
@@ -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)

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