mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 03:34:56 +00:00
libx264: fix double free
This commit is contained in:
parent
8f2a2e6051
commit
1e9b302690
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user