Revision 77223c53 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
685 685
}
686 686

  
687 687
void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf,
688
                        RTSPState *rt)
688
                        RTSPState *rt, const char *method)
689 689
{
690 690
    const char *p;
691 691

  
......
808 808
            reply->status_code = atoi(buf1);
809 809
            av_strlcpy(reply->reason, p, sizeof(reply->reason));
810 810
        } else {
811
            ff_rtsp_parse_line(reply, p, rt);
811
            ff_rtsp_parse_line(reply, p, rt, method);
812 812
            av_strlcat(rt->last_reply, p,    sizeof(rt->last_reply));
813 813
            av_strlcat(rt->last_reply, "\n", sizeof(rt->last_reply));
814 814
        }

Also available in: Unified diff