[FFmpeg-devel] [PATCH] C99ify struct initialisation in rtsp.c

Axel Holzinger aholzinger
Wed Jul 21 14:43:44 CEST 2010


Same as in mxfdec.c:

Index: rtsp.c
===================================================================
--- rtsp.c	(revision 24382)
+++ rtsp.c	(working copy)
@@ -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;

Cheers
Axel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtsp.diff
Type: application/octet-stream
Size: 510 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100721/89ceef92/attachment.obj>



More information about the ffmpeg-devel mailing list