Revision 8d9769a7

View differences:

libavformat/avio.h
623 623
int avio_open(AVIOContext **s, const char *url, int flags);
624 624

  
625 625
int avio_close(AVIOContext *s);
626
URLContext *url_fileno(AVIOContext *s);
627 626

  
628 627
#if FF_API_OLD_AVIO
628
attribute_deprecated URLContext *url_fileno(AVIOContext *s);
629

  
629 630
/**
630 631
 * @deprecated use AVIOContext.max_packet_size directly.
631 632
 */
libavformat/aviobuf.c
923 923
    return url_close(h);
924 924
}
925 925

  
926
#if FF_API_OLD_AVIO
926 927
URLContext *url_fileno(AVIOContext *s)
927 928
{
928 929
    return s->opaque;
929 930
}
931
#endif
930 932

  
931 933
int avio_printf(AVIOContext *s, const char *fmt, ...)
932 934
{

Also available in: Unified diff