diff options
author | James Almer <jamrial@gmail.com> | 2023-12-20 00:17:02 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-12-20 00:17:59 -0300 |
commit | 89215237dd6ac64f94e14aa20a000e0440a00aac (patch) | |
tree | a8913fb590ff121e629574b35a4a433d07e66ad6 /libavformat/avformat.c | |
parent | 0a87bd02ee6c22384961c68ca4a97f9981043885 (diff) | |
download | ffmpeg-89215237dd6ac64f94e14aa20a000e0440a00aac.tar.gz |
avformat: remove ff_remove_stream_group()
It's unused.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/avformat.c')
-rw-r--r-- | libavformat/avformat.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/avformat.c b/libavformat/avformat.c index 7e747c43d5..882927f7b1 100644 --- a/libavformat/avformat.c +++ b/libavformat/avformat.c @@ -115,14 +115,6 @@ void ff_remove_stream(AVFormatContext *s, AVStream *st) ff_free_stream(&s->streams[ --s->nb_streams ]); } -void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg) -{ - av_assert0(s->nb_stream_groups > 0); - av_assert0(s->stream_groups[ s->nb_stream_groups - 1 ] == stg); - - ff_free_stream_group(&s->stream_groups[ --s->nb_stream_groups ]); -} - /* XXX: suppress the packet queue */ void ff_flush_packet_queue(AVFormatContext *s) { |