Revision dfd2a005 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
247 247
    struct sockaddr_storage sdp_ip;
248 248
    int ttl;
249 249

  
250
    dprintf(s, "sdp: %c='%s'\n", letter, buf);
250
    av_dlog(s, "sdp: %c='%s'\n", letter, buf);
251 251

  
252 252
    p = buf;
253 253
    if (s1->skip_media && letter != 'm')
......
826 826
        return;
827 827
    len = AV_RB16(buf + 1);
828 828

  
829
    dprintf(s, "skipping RTP packet len=%d\n", len);
829
    av_dlog(s, "skipping RTP packet len=%d\n", len);
830 830

  
831 831
    /* skip payload */
832 832
    while (len > 0) {
......
860 860
        for (;;) {
861 861
            ret = url_read_complete(rt->rtsp_hd, &ch, 1);
862 862
#ifdef DEBUG_RTP_TCP
863
            dprintf(s, "ret=%d c=%02x [%c]\n", ret, ch, ch);
863
            av_dlog(s, "ret=%d c=%02x [%c]\n", ret, ch, ch);
864 864
#endif
865 865
            if (ret != 1)
866 866
                return AVERROR_EOF;
......
879 879
        }
880 880
        *q = '\0';
881 881

  
882
        dprintf(s, "line='%s'\n", buf);
882
        av_dlog(s, "line='%s'\n", buf);
883 883

  
884 884
        /* test if last line */
885 885
        if (buf[0] == '\0')
......
984 984
        out_buf = base64buf;
985 985
    }
986 986

  
987
    dprintf(s, "Sending:\n%s--\n", buf);
987
    av_dlog(s, "Sending:\n%s--\n", buf);
988 988

  
989 989
    url_write(rt->rtsp_hd_out, out_buf, strlen(out_buf));
990 990
    if (send_content_length > 0 && send_content) {

Also available in: Unified diff