aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEtienne Buira <etienne.buira.lists@free.fr>2011-06-07 22:14:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-06-08 02:07:36 +0200
commit1e9b3026908e556d1a2b6afb76d48df9272f8f95 (patch)
tree1c70557be13f2f132cc6835887569c5cf2de8891
parent8f2a2e605165efcbb16c3470d48e61e4a53a0f94 (diff)
downloadffmpeg-1e9b3026908e556d1a2b6afb76d48df9272f8f95.tar.gz
libx264: fix double free
-rw-r--r--libavcodec/libx264.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index b0cca65a7c..1b6f55f801 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -170,14 +170,6 @@ static av_cold int X264_close(AVCodecContext *avctx)
if (x4->enc)
x264_encoder_close(x4->enc);
- av_free(x4->preset);
- av_free(x4->tune);
- av_free(x4->profile);
- av_free(x4->level);
- av_free(x4->stats);
- av_free(x4->weightp);
- av_free(x4->x264opts);
-
return 0;
}