History

avformat: remove ff_remove_stream_group()

It's unused.

James Almer committed 2 years ago

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

Showing the changes to libavformat (2 of 2 files). Show all

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
115 ff_free_stream(&s->streams[ --s->nb_streams ]);115 ff_free_stream(&s->streams[ --s->nb_streams ]);
116}116}
117 117
118void 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
126/* XXX: suppress the packet queue */118/* XXX: suppress the packet queue */
127void ff_flush_packet_queue(AVFormatContext *s)119void ff_flush_packet_queue(AVFormatContext *s)
128{120{
libavformat/internal.h+0−5
@@ -635,11 +635,6 @@ void ff_remove_stream(AVFormatContext *s, AVStream *st); · 634 unmodified lines
635 * is not yet attached to an AVFormatContext.635 * is not yet attached to an AVFormatContext.
636 */636 */
637void ff_free_stream_group(AVStreamGroup **pstg);637void 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 */
642void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg);
643 638
644unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id);639unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id);
645 640

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