Revision 65e72261 ffserver.c

View differences:

ffserver.c
4320 4320
            get_arg(arg, sizeof(arg), &p);
4321 4321
            if (stream) {
4322 4322
                av_freep(&stream->rtsp_option);
4323
                /* XXX: av_strdup ? */
4324
                stream->rtsp_option = av_malloc(strlen(arg) + 1);
4325
                if (stream->rtsp_option) {
4326
                    strcpy(stream->rtsp_option, arg);
4327
                }
4323
                stream->rtsp_option = av_strdup(arg);
4328 4324
            }
4329 4325
        } else if (!strcasecmp(cmd, "MulticastAddress")) {
4330 4326
            get_arg(arg, sizeof(arg), &p);

Also available in: Unified diff