You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
libx264: fix double free
This commit is contained in:
committed by
Michael Niedermayer
parent
8f2a2e6051
commit
1e9b302690
@@ -170,14 +170,6 @@ static av_cold int X264_close(AVCodecContext *avctx)
|
|||||||
if (x4->enc)
|
if (x4->enc)
|
||||||
x264_encoder_close(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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user