summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorAxel Holzinger <aholzinger@gmx.de>2010-07-21 17:27:28 +0000
committerMartin Storsjö <martin@martin.st>2010-07-21 17:27:28 +0000
commit354b757300186ed7a7e36682e8faf5cdc4ad63c1 (patch)
tree66a43a413193fd00274bbe2827780465b1b9191a /libavformat/rtsp.c
parent4f5340a0b11c68dfa95e125df91ebeef3ec6503b (diff)
Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99
Patch by Axel Holzinger, aholzinger at gmx dot de Originally committed as revision 24391 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 9316f3cea9..7dede4c875 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1362,7 +1362,7 @@ int ff_rtsp_connect(AVFormatContext *s)
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;