Commit 7bbb67d5 authored by Martin Storsjö's avatar Martin Storsjö

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: 's avatarMartin Storsjö <martin@martin.st>
parent c60112f2
......@@ -2564,6 +2564,7 @@ void avformat_free_context(AVFormatContext *s)
av_freep(&s->chapters);
av_metadata_free(&s->metadata);
av_freep(&s->key);
av_freep(&s->streams);
av_free(s);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment