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