Browse Source

initialize AVFormatContext before calling av_write_header()

Originally committed as revision 16505 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 16 years ago
parent
commit
1d6eeebe08
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffserver.c

+ 1
- 1
ffserver.c View File

@@ -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",


Loading…
Cancel
Save