It's unused.
Showing the changes to libavformat (2 of 2 files). Show all
Unified · Split
| @@ -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 | ||
| 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 | |||
| 126 | /* XXX: suppress the packet queue */ | 118 | /* XXX: suppress the packet queue */ |
| 127 | void ff_flush_packet_queue(AVFormatContext *s) | 119 | void ff_flush_packet_queue(AVFormatContext *s) |
| 128 | { | 120 | { |
| @@ -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 | */ |
| 637 | void ff_free_stream_group(AVStreamGroup **pstg); | 637 | 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); | ||
| 643 | 638 | ||
| 644 | unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id); | 639 | unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum AVCodecID id); |
| 645 | 640 | ||