[FFmpeg-cvslog] libx264: fix double free
Etienne Buira
git at videolan.org
Wed Jun 8 02:26:19 CEST 2011
ffmpeg | branch: master | Etienne Buira <etienne.buira.lists at free.fr> | Tue Jun 7 22:14:18 2011 +0200| [1e9b3026908e556d1a2b6afb76d48df9272f8f95] | committer: Michael Niedermayer
libx264: fix double free
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e9b3026908e556d1a2b6afb76d48df9272f8f95
---
libavcodec/libx264.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index b0cca65..1b6f55f 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;
}
More information about the ffmpeg-cvslog
mailing list