Lines Matching refs:buf1
422 char buf1[64], st_type[64];
439 get_word(buf1, sizeof(buf1), &p);
440 if (strcmp(buf1, "IN") != 0)
442 get_word(buf1, sizeof(buf1), &p);
443 if (strcmp(buf1, "IP4") && strcmp(buf1, "IP6"))
445 get_word_sep(buf1, sizeof(buf1), "/", &p);
446 if (get_sockaddr(s, buf1, &sdp_ip))
451 get_word_sep(buf1, sizeof(buf1), "/", &p);
452 ttl = atoi(buf1);
513 get_word(buf1, sizeof(buf1), &p); /* port */
514 rtsp_st->sdp_port = atoi(buf1);
516 get_word(buf1, sizeof(buf1), &p); /* protocol */
517 if (!strcmp(buf1, "udp"))
519 else if (strstr(buf1, "/AVPF") || strstr(buf1, "/SAVPF"))
523 get_word(buf1, sizeof(buf1), &p); /* format list */
524 rtsp_st->sdp_payload_type = atoi(buf1);
596 get_word(buf1, sizeof(buf1), &p);
597 payload_type = atoi(buf1);
610 get_word(buf1, sizeof(buf1), &p);
611 payload_type = atoi(buf1);
620 get_word(buf1, sizeof(buf1), &p);
621 rtsp_st->ssrc = strtoll(buf1, NULL, 10);
633 get_word(buf1, sizeof(buf1), &p);
637 av_dict_set(&st->metadata, "language", buf1, 0);
651 get_word(buf1, sizeof(buf1), &p); // ignore tag
658 get_word(buf1, sizeof(buf1), &p);
659 if (strcmp(buf1, "incl") && strcmp(buf1, "excl"))
661 exclude = !strcmp(buf1, "excl");
663 get_word(buf1, sizeof(buf1), &p);
664 if (strcmp(buf1, "IN") != 0)
666 get_word(buf1, sizeof(buf1), &p);
667 if (strcmp(buf1, "IP4") && strcmp(buf1, "IP6") && strcmp(buf1, "*"))
670 get_word(buf1, sizeof(buf1), &p);
1187 char buf[MAX_URL_SIZE], buf1[MAX_URL_SIZE], *q;
1233 get_word(buf1, sizeof(buf1), &p);
1234 if (!strncmp(buf1, "RTSP/", 5)) {
1235 get_word(buf1, sizeof(buf1), &p);
1236 reply->status_code = atoi(buf1);
1239 av_strlcpy(reply->reason, buf1, sizeof(reply->reason)); // method
1240 get_word(buf1, sizeof(buf1), &p); // object