Revision 4f40ec05 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1291 1291
    int port, err, tcp_fd;
1292 1292
    RTSPMessageHeader reply1 = {0}, *reply = &reply1;
1293 1293
    int lower_transport_mask = 0;
1294
    char real_challenge[64];
1294
    char real_challenge[64] = "";
1295 1295
    struct sockaddr_storage peer;
1296 1296
    socklen_t peer_len = sizeof(peer);
1297 1297

  
......
1515 1515
        }
1516 1516
    } while (err);
1517 1517

  
1518
    rt->lower_transport_mask = lower_transport_mask;
1519
    av_strlcpy(rt->real_challenge, real_challenge, sizeof(rt->real_challenge));
1518 1520
    rt->state = RTSP_STATE_IDLE;
1519 1521
    rt->seek_timestamp = 0; /* default is to start stream at position zero */
1520 1522
    return 0;

Also available in: Unified diff