Revision 4ec153bb libavformat/udp.c

View differences:

libavformat/udp.c
27 27
#define _BSD_SOURCE     /* Needed for using struct ip_mreq with recent glibc */
28 28
#define _DARWIN_C_SOURCE /* Needed for using IP_MULTICAST_TTL on OS X */
29 29
#include "avformat.h"
30
#include "avio_internal.h"
30 31
#include "libavutil/parseutils.h"
31 32
#include <unistd.h>
32 33
#include "internal.h"
......
243 244
 * @param uri of the remote server
244 245
 * @return zero if no error.
245 246
 */
246
int udp_set_remote_url(URLContext *h, const char *uri)
247
int ff_udp_set_remote_url(URLContext *h, const char *uri)
247 248
{
248 249
    UDPContext *s = h->priv_data;
249 250
    char hostname[256], buf[10];
......
282 283
 * @param h media file context
283 284
 * @return the local port number
284 285
 */
285
int udp_get_local_port(URLContext *h)
286
int ff_udp_get_local_port(URLContext *h)
286 287
{
287 288
    UDPContext *s = h->priv_data;
288 289
    return s->local_port;
......
365 366
        if (flags & URL_WRONLY)
366 367
            goto fail;
367 368
    } else {
368
        if (udp_set_remote_url(h, uri) < 0)
369
        if (ff_udp_set_remote_url(h, uri) < 0)
369 370
            goto fail;
370 371
    }
371 372

  

Also available in: Unified diff