summaryrefslogtreecommitdiff
path: root/libavcodec/av1_frame_split_bsf.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-21 22:25:27 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-23 23:45:45 +0100
commitf4098bbc3b10926f618cf89e24780c9e6ae9b8b5 (patch)
treedb7d738eeeefadfc5b2400c4375b2a50d9d07516 /libavcodec/av1_frame_split_bsf.c
parent1dcd0adedd15f2595d51febbfc171c576c9e080a (diff)
avcodec/bsf: Add FFBitStreamFilter, hide internals of BSFs
This patch is analogous to 20f972701806be20a77f808db332d9489343bb78: It hides the internal part of AVBitStreamFilter by adding a new internal structure FFBitStreamFilter (declared in bsf_internal.h) that has an AVBitStreamFilter as its first member; the internal part of AVBitStreamFilter is moved to this new structure. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/av1_frame_split_bsf.c')
-rw-r--r--libavcodec/av1_frame_split_bsf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/av1_frame_split_bsf.c b/libavcodec/av1_frame_split_bsf.c
index fa8b887b6c..5f6a40316c 100644
--- a/libavcodec/av1_frame_split_bsf.c
+++ b/libavcodec/av1_frame_split_bsf.c
@@ -250,12 +250,12 @@ static const enum AVCodecID av1_frame_split_codec_ids[] = {
AV_CODEC_ID_AV1, AV_CODEC_ID_NONE,
};
-const AVBitStreamFilter ff_av1_frame_split_bsf = {
- .name = "av1_frame_split",
+const FFBitStreamFilter ff_av1_frame_split_bsf = {
+ .p.name = "av1_frame_split",
+ .p.codec_ids = av1_frame_split_codec_ids,
.priv_data_size = sizeof(AV1FSplitContext),
.init = av1_frame_split_init,
.flush = av1_frame_split_flush,
.close = av1_frame_split_close,
.filter = av1_frame_split_filter,
- .codec_ids = av1_frame_split_codec_ids,
};