OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd53616
)
Remove some calls to av_free that tured out to be duplicate. This improves
author
Philip Gladstone
<philipjsg@users.sourceforge.net>
Tue, 4 Jun 2002 20:40:53 +0000
(20:40 +0000)
committer
Philip Gladstone
<philipjsg@users.sourceforge.net>
Tue, 4 Jun 2002 20:40:53 +0000
(20:40 +0000)
the behaviour of ffserver streaming asf files from disk.
Originally committed as revision 662 to svn://svn.ffmpeg.org/ffmpeg/trunk
libav/asf.c
patch
|
blob
|
history
diff --git
a/libav/asf.c
b/libav/asf.c
index
9464111
..
66cae8d
100644
(file)
--- 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;
}