[FFmpeg-devel] [PATCH] C99ify struct initialisation in rtsp.c
Martin Storsjö
martin
Wed Jul 21 19:28:06 CEST 2010
On Wed, 21 Jul 2010, Axel Holzinger wrote:
> 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;
Applied
// Martin
More information about the ffmpeg-devel
mailing list