ffmpeg | branch: master | James Almer <[email protected]> | Wed Dec 20 00:17:02 2023 -0300| [89215237dd6ac64f94e14aa20a000e0440a00aac] | committer: James Almer
avformat: remove ff_remove_stream_group() It's unused. Signed-off-by: James Almer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=89215237dd6ac64f94e14aa20a000e0440a00aac --- libavformat/avformat.c | 8 -------- libavformat/internal.h | 5 ----- 2 files changed, 13 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) { diff --git a/libavformat/internal.h b/libavformat/internal.h index c6181683ef..f93832b3c4 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -635,11 +635,6 @@ void ff_remove_stream(AVFormatContext *s, AVStream *st); * is not yet attached to an AVFormatContext. */ void ff_free_stream_group(AVStreamGroup **pstg); -/** - * Remove a stream group from its AVFormatContext and free it. - * The group must be the last stream of the AVFormatContext. - */ -void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg); unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id); _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
