diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-06-20 13:27:14 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-06-20 13:27:14 +0200 |
commit | eeeb5c291d3f78eaade5b99c2614c7cab0e9be79 (patch) | |
tree | 67e56d56530f0d2ac99501cf1088cf643a73abb5 | |
parent | e0d6e2fc67b854d22a01099e56ca992894324b51 (diff) | |
download | ffmpeg-eeeb5c291d3f78eaade5b99c2614c7cab0e9be79.tar.gz |
vsrc_movie: do not free avoption variables in uninit()
The generic code frees them as well. Since av_free was used to free them
instead of av_freep, this would result in a double free.
-rw-r--r-- | libavfilter/vsrc_movie.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index 9cde9d4dd1..a11a164953 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -173,8 +173,6 @@ static av_cold void uninit(AVFilterContext *ctx) { MovieContext *movie = ctx->priv; - av_free(movie->file_name); - av_free(movie->format_name); if (movie->codec_ctx) avcodec_close(movie->codec_ctx); if (movie->format_ctx) |