Browse Source

Fix possible double free when encoding using xvid.

(cherry picked from commit 315f0e3fd8)
tags/n0.7.2
Carl Eugen Hoyos 14 years ago
parent
commit
376dfd07ab
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/libxvidff.c

+ 1
- 0
libavcodec/libxvidff.c View File

@@ -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…
Cancel
Save