diff --git a/libav/asf.c b/libav/asf.c index 946411144da01e8127152edf34a134fcbab15d85..66cae8dba6336c777045064d902abf6120c35b77 100644 --- a/libav/asf.c +++ b/libav/asf.c @@ -426,7 +426,7 @@ static int asf_write_header(AVFormatContext *s) asf->nb_packets = 0; if (asf_write_header1(s, 0, 50) < 0) { - av_free(asf); + //av_free(asf); return -1; } @@ -885,7 +885,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) av_free(st->priv_data); av_free(st); } - av_free(asf); + //av_free(asf); return -1; } @@ -1024,7 +1024,7 @@ static int asf_read_close(AVFormatContext *s) AVStream *st = s->streams[i]; av_free(st->priv_data); } - av_free(asf); + //av_free(asf); return 0; }