Revision ab0287fc libavformat/rtpproto.c

View differences:

libavformat/rtpproto.c
24 24
 * RTP protocol
25 25
 */
26 26

  
27
#include "libavutil/parseutils.h"
27 28
#include "libavutil/avstring.h"
28 29
#include "avformat.h"
29 30
#include "rtpdec.h"
......
161 162

  
162 163
    p = strchr(uri, '?');
163 164
    if (p) {
164
        if (find_info_tag(buf, sizeof(buf), "ttl", p)) {
165
        if (av_find_info_tag(buf, sizeof(buf), "ttl", p)) {
165 166
            ttl = strtol(buf, NULL, 10);
166 167
        }
167
        if (find_info_tag(buf, sizeof(buf), "rtcpport", p)) {
168
        if (av_find_info_tag(buf, sizeof(buf), "rtcpport", p)) {
168 169
            rtcp_port = strtol(buf, NULL, 10);
169 170
        }
170
        if (find_info_tag(buf, sizeof(buf), "localport", p)) {
171
        if (av_find_info_tag(buf, sizeof(buf), "localport", p)) {
171 172
            local_rtp_port = strtol(buf, NULL, 10);
172 173
        }
173
        if (find_info_tag(buf, sizeof(buf), "localrtpport", p)) {
174
        if (av_find_info_tag(buf, sizeof(buf), "localrtpport", p)) {
174 175
            local_rtp_port = strtol(buf, NULL, 10);
175 176
        }
176
        if (find_info_tag(buf, sizeof(buf), "localrtcpport", p)) {
177
        if (av_find_info_tag(buf, sizeof(buf), "localrtcpport", p)) {
177 178
            local_rtcp_port = strtol(buf, NULL, 10);
178 179
        }
179
        if (find_info_tag(buf, sizeof(buf), "pkt_size", p)) {
180
        if (av_find_info_tag(buf, sizeof(buf), "pkt_size", p)) {
180 181
            max_packet_size = strtol(buf, NULL, 10);
181 182
        }
182
        if (find_info_tag(buf, sizeof(buf), "connect", p)) {
183
        if (av_find_info_tag(buf, sizeof(buf), "connect", p)) {
183 184
            connect = strtol(buf, NULL, 10);
184 185
        }
185 186
    }

Also available in: Unified diff