Revision 6e69f6c4 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1296 1296
    return 0;
1297 1297
}
1298 1298

  
1299
static int rtsp_setup_input_streams(AVFormatContext *s)
1299
static int rtsp_setup_input_streams(AVFormatContext *s, RTSPMessageHeader *reply)
1300 1300
{
1301 1301
    RTSPState *rt = s->priv_data;
1302
    RTSPMessageHeader reply1, *reply = &reply1;
1303 1302
    char cmd[1024];
1304 1303
    unsigned char *content = NULL;
1305 1304
    int ret;
......
1531 1530
    }
1532 1531

  
1533 1532
    if (s->iformat)
1534
        err = rtsp_setup_input_streams(s);
1533
        err = rtsp_setup_input_streams(s, reply);
1535 1534
    else
1536 1535
        err = rtsp_setup_output_streams(s, host);
1537 1536
    if (err)

Also available in: Unified diff