diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-22 00:25:27 +0300 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-03-24 01:45:45 +0300 |
commit | f4098bbc3b10926f618cf89e24780c9e6ae9b8b5 (patch) | |
tree | db7d738eeeefadfc5b2400c4375b2a50d9d07516 /libavcodec/cbs_bsf.h | |
parent | 1dcd0adedd15f2595d51febbfc171c576c9e080a (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/cbs_bsf.h')
-rw-r--r-- | libavcodec/cbs_bsf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/cbs_bsf.h b/libavcodec/cbs_bsf.h index a370be1b5f..aa7385c8f2 100644 --- a/libavcodec/cbs_bsf.h +++ b/libavcodec/cbs_bsf.h @@ -67,7 +67,7 @@ typedef struct CBSBSFContext { * * Since it calls the update_fragment() function immediately to deal with * extradata, this should be called after any codec-specific setup is done - * (probably at the end of the AVBitStreamFilter.init function). + * (probably at the end of the FFBitStreamFilter.init function). */ int ff_cbs_bsf_generic_init(AVBSFContext *bsf, const CBSBSFType *type); @@ -75,7 +75,7 @@ int ff_cbs_bsf_generic_init(AVBSFContext *bsf, const CBSBSFType *type); * Close a generic CBS BSF instance. * * If no other deinitialisation is required then this function can be used - * directly as AVBitStreamFilter.close. + * directly as FFBitStreamFilter.close. */ void ff_cbs_bsf_generic_close(AVBSFContext *bsf); @@ -88,7 +88,7 @@ void ff_cbs_bsf_generic_close(AVBSFContext *bsf); * the same thing to that new extradata to form the output side-data first. * * If the BSF does not do anything else then this function can be used - * directly as AVBitStreamFilter.filter. + * directly as FFBitStreamFilter.filter. */ int ff_cbs_bsf_generic_filter(AVBSFContext *bsf, AVPacket *pkt); |