diff rtsp.c @ 6298:eb7e896070d9 libavformat

Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99 Patch by Axel Holzinger, aholzinger at gmx dot de
author mstorsjo
date Wed, 21 Jul 2010 17:27:28 +0000
parents 7069d6fdedaa
children 5d04171d705b
line wrap: on
line diff
--- a/rtsp.c	Wed Jul 21 17:25:09 2010 +0000
+++ b/rtsp.c	Wed Jul 21 17:27:28 2010 +0000
@@ -1362,7 +1362,7 @@
     char host[1024], path[1024], tcpname[1024], cmd[2048], auth[128];
     char *option_list, *option, *filename;
     int port, err, tcp_fd;
-    RTSPMessageHeader reply1 = {}, *reply = &reply1;
+    RTSPMessageHeader reply1 = {0}, *reply = &reply1;
     int lower_transport_mask = 0;
     char real_challenge[64];
     struct sockaddr_storage peer;