This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new e869426a8c avcodec/bsf/extract_extradata: remove dead code
e869426a8c is described below
commit e869426a8ccfc63a1aa7354fab74db43b5a0108d
Author: James Almer <[email protected]>
AuthorDate: Sat Feb 28 19:42:06 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Sat Feb 28 19:42:06 2026 -0300
avcodec/bsf/extract_extradata: remove dead code
Applied accidentally in 3dba9eb80663.
Signed-off-by: James Almer <[email protected]>
---
libavcodec/bsf/extract_extradata.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/libavcodec/bsf/extract_extradata.c
b/libavcodec/bsf/extract_extradata.c
index f7b62189fe..158e78871e 100644
--- a/libavcodec/bsf/extract_extradata.c
+++ b/libavcodec/bsf/extract_extradata.c
@@ -168,9 +168,6 @@ static int extract_extradata_h2645(AVBSFContext *ctx,
AVPacket *pkt,
static const int extradata_nal_types_vvc[] = {
VVC_VPS_NUT, VVC_SPS_NUT, VVC_PPS_NUT,
};
- static const int extradata_nal_types_lcevc[] = {
- LCEVC_IDR_NUT, LCEVC_NON_IDR_NUT,
- };
static const int extradata_nal_types_hevc[] = {
HEVC_NAL_VPS, HEVC_NAL_SPS, HEVC_NAL_PPS,
};
@@ -188,9 +185,6 @@ static int extract_extradata_h2645(AVBSFContext *ctx,
AVPacket *pkt,
if (ctx->par_in->codec_id == AV_CODEC_ID_VVC) {
extradata_nal_types = extradata_nal_types_vvc;
nb_extradata_nal_types = FF_ARRAY_ELEMS(extradata_nal_types_vvc);
- } else if (ctx->par_in->codec_id == AV_CODEC_ID_LCEVC) {
- extradata_nal_types = extradata_nal_types_lcevc;
- nb_extradata_nal_types = FF_ARRAY_ELEMS(extradata_nal_types_lcevc);
} else if (ctx->par_in->codec_id == AV_CODEC_ID_HEVC) {
extradata_nal_types = extradata_nal_types_hevc;
nb_extradata_nal_types = FF_ARRAY_ELEMS(extradata_nal_types_hevc);
@@ -214,8 +208,6 @@ static int extract_extradata_h2645(AVBSFContext *ctx,
AVPacket *pkt,
} else if (ctx->par_in->codec_id == AV_CODEC_ID_HEVC) {
if (nal->type == HEVC_NAL_SPS) has_sps = 1;
if (nal->type == HEVC_NAL_VPS) has_vps = 1;
- } else if (ctx->par_in->codec_id == AV_CODEC_ID_LCEVC) {
- has_sps = 1;
} else {
if (nal->type == H264_NAL_SPS) has_sps = 1;
}
@@ -226,7 +218,6 @@ static int extract_extradata_h2645(AVBSFContext *ctx,
AVPacket *pkt,
if (extradata_size &&
((ctx->par_in->codec_id == AV_CODEC_ID_VVC && has_sps) ||
- (ctx->par_in->codec_id == AV_CODEC_ID_LCEVC && has_sps) ||
(ctx->par_in->codec_id == AV_CODEC_ID_HEVC && has_sps && has_vps) ||
(ctx->par_in->codec_id == AV_CODEC_ID_H264 && has_sps))) {
AVBufferRef *filtered_buf = NULL;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]