diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-09 20:03:53 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-01-09 20:03:53 +0000 |
commit | 1d6eeebe0803a37b51d4d10df4ec400300ba8bc3 (patch) | |
tree | d3312078fb8be1dcf771adf487fc7effc651b48b /ffserver.c | |
parent | 49186206eb7fccf54c2733209bc025051c16fb79 (diff) | |
download | ffmpeg-1d6eeebe0803a37b51d4d10df4ec400300ba8bc3.tar.gz |
initialize AVFormatContext before calling av_write_header()
Originally committed as revision 16505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 665c23101c..23bb64ca08 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3507,7 +3507,7 @@ static void build_feed_streams(void) } } if (!url_exist(feed->feed_filename)) { - AVFormatContext s1, *s = &s1; + AVFormatContext s1 = {0}, *s = &s1; if (feed->readonly) { http_log("Unable to create feed file '%s' as it is marked readonly\n", |