diff options
author | Marton Balint <cus@passwd.hu> | 2020-04-18 10:49:54 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-04-26 22:39:01 +0200 |
commit | 1128aa875367f66ac11adc30364d5652919a2591 (patch) | |
tree | 72a92801d4bff46f69093b364cc3bf2016d87ff7 /libavformat/internal.h | |
parent | 499f43ae90c0b03264e874c199a5904280766782 (diff) | |
download | ffmpeg-1128aa875367f66ac11adc30364d5652919a2591.tar.gz |
avformat: only allow a single bitstream filter when muxing
Current muxers only use a single bitstream filter, so there is no need to
maintain code which operates on a list of bitstream filters. When multiple
bitstream filters are needed muxers can simply use a list bitstream filter.
If there is a use case in the future when different bitstream filters should be
added at subsequent packets then a new API possibly involving reconfiguring the
list bitstream filter can be added knowing the exact requirements.
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 329b2e972d..6786b732ac 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -152,12 +152,11 @@ struct AVStreamInternal { int reorder; /** - * bitstream filters to run on stream + * bitstream filter to run on stream * - encoding: Set by muxer using ff_stream_add_bitstream_filter * - decoding: unused */ - AVBSFContext **bsfcs; - int nb_bsfcs; + AVBSFContext *bsfc; /** * Whether or not check_bitstream should still be run on each packet |