summaryrefslogtreecommitdiff
path: root/libav
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-06-04 20:40:53 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-06-04 20:40:53 +0000
commit2824c47368526ef0b636850f56095057c1e4d9fc (patch)
tree0c8057b87b0e9f254e45c39d1d3b44a2b650f77f /libav
parentdd536160cd5f09addec234bcd75d57b0730412a6 (diff)
Remove some calls to av_free that tured out to be duplicate. This improves
the behaviour of ffserver streaming asf files from disk. Originally committed as revision 662 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav')
-rw-r--r--libav/asf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libav/asf.c b/libav/asf.c
index 946411144d..66cae8dba6 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;
}