| 114 | } |
| 115 | |
| 116 | void ff_remove_stream(AVFormatContext *s, AVStream *st) |
| 117 | { |
| 118 | av_assert0(s->nb_streams>0); |
| 119 | av_assert0(s->streams[ s->nb_streams - 1 ] == st); |
| 120 | |
| 121 | ff_free_stream(&s->streams[ --s->nb_streams ]); |
| 122 | } |
| 123 | |
| 124 | void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg) |
| 125 | { |
no test coverage detected