diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 18538c78cf..643e4d5a1f 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1442,7 +1442,7 @@ int ff_rtsp_connect(AVFormatContext *s) char *option_list, *option, *filename; URLContext *rtsp_hd; int port, err, tcp_fd; - RTSPMessageHeader reply1, *reply = &reply1; + RTSPMessageHeader reply1 = {}, *reply = &reply1; int lower_transport_mask = 0; char real_challenge[64]; struct sockaddr_storage peer;