libavformat: Free AVFormatContext->streams
After switching this from a statically allocated array to a dynamically allocated one in the major bump, this needs explicit freeing. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -2564,6 +2564,7 @@ void avformat_free_context(AVFormatContext *s)
|
|||||||
av_freep(&s->chapters);
|
av_freep(&s->chapters);
|
||||||
av_metadata_free(&s->metadata);
|
av_metadata_free(&s->metadata);
|
||||||
av_freep(&s->key);
|
av_freep(&s->key);
|
||||||
|
av_freep(&s->streams);
|
||||||
av_free(s);
|
av_free(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user