Revision c4efa7c2

View differences:

libavformat/avio.h
605 605
 */
606 606
int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer);
607 607

  
608
#if FF_API_UDP_GET_FILE
609
int udp_get_file_handle(URLContext *h);
610
#endif
611

  
612 608
/**
613 609
 * Iterate through names of available protocols.
614 610
 *
libavformat/udp.c
292 292
 * streams at the same time.
293 293
 * @param h media file context
294 294
 */
295
#if !FF_API_UDP_GET_FILE
296
static
297
#endif
298
int udp_get_file_handle(URLContext *h)
295
static int udp_get_file_handle(URLContext *h)
299 296
{
300 297
    UDPContext *s = h->priv_data;
301 298
    return s->udp_fd;
libavformat/version.h
47 47
#ifndef FF_API_URL_CLASS
48 48
#define FF_API_URL_CLASS               (LIBAVFORMAT_VERSION_MAJOR >= 53)
49 49
#endif
50
#ifndef FF_API_UDP_GET_FILE
51
#define FF_API_UDP_GET_FILE            (LIBAVFORMAT_VERSION_MAJOR < 53)
52
#endif
53 50
#ifndef FF_API_URL_SPLIT
54 51
#define FF_API_URL_SPLIT               (LIBAVFORMAT_VERSION_MAJOR < 53)
55 52
#endif

Also available in: Unified diff