Commit 9ec1f5a7 authored by aurel's avatar aurel

initialize AVFormatContext before calling av_write_header()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16505 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 811b1aa8
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment