Quoting James Almer (2023-12-05 23:43:56) > +/** > + * Remove a stream group from its AVFormatContext and free it. > + * The group must be the last stream of the AVFormatContext. > + */ > +void ff_remove_stream_group(AVFormatContext *s, AVStreamGroup *stg); When would this be useful? -- Anton Khirnov