History

avformat: remove ff_remove_stream_group()

It's unused.

James Almer committed 2 years ago

Commit 89215231 parent 0a87bd02 files · +0 −13Browse files

Unified · Split

2 files
  1. libavformat/avformat.c +0 −8
  2. libavformat/internal.h +0 −5
libavformat/avformat.c+0−8
@@ -115,14 +115,6 @@ void ff_remove_stream(AVFormatContext *s, AVStream *st) · 114 unmodified lines
115115 ff_free_stream(&s->streams[ --s->nb_streams ]);
116116 }
117117
118−void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg)
119−{
120− av_assert0(s->nb_stream_groups > 0);
121− av_assert0(s->stream_groups[ s->nb_stream_groups - 1 ] == stg);
122−
123− ff_free_stream_group(&s->stream_groups[ --s->nb_stream_groups ]);
124−}
125−
126118 /* XXX: suppress the packet queue */
127119 void ff_flush_packet_queue(AVFormatContext *s)
128120 {
libavformat/internal.h+0−5
@@ -635,11 +635,6 @@ void ff_remove_stream(AVFormatContext *s, AVStream *st); · 634 unmodified lines
635635 * is not yet attached to an AVFormatContext.
636636 */
637637 void ff_free_stream_group(AVStreamGroup **pstg);
638−/**
639− * Remove a stream group from its AVFormatContext and free it.
640− * The group must be the last stream of the AVFormatContext.
641− */
642−void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg);
643638
644639 unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id);
645640

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t