MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_remove_stream

Function ff_remove_stream

libavformat/avformat.c:116–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void 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
124void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg)
125{

Callers 5

heif_add_streamFunction · 0.85
avi_read_headerFunction · 0.85
ff_stream_cloneFunction · 0.85
ff_add_attached_picFunction · 0.85

Calls 1

ff_free_streamFunction · 0.85

Tested by

no test coverage detected