mirror of https://git.ffmpeg.org/ffmpeg.git
Fix possible double free when encoding using xvid.
This commit is contained in:
parent
dec126a932
commit
315f0e3fd8
|
@ -528,6 +528,7 @@ static av_cold int xvid_encode_close(AVCodecContext *avctx) {
|
|||
if( x->twopassbuffer != NULL ) {
|
||||
av_free(x->twopassbuffer);
|
||||
av_free(x->old_twopassbuffer);
|
||||
avctx->stats_out = NULL;
|
||||
}
|
||||
av_free(x->twopassfile);
|
||||
av_free(x->intra_matrix);
|
||||
|
|
Loading…
Reference in New Issue