Revision 655e45e7

View differences:

libavformat/avio.h
514 514
int url_fprintf(AVIOContext *s, const char *fmt, ...);
515 515
#endif
516 516

  
517
#if FF_API_OLD_AVIO
517 518
/** @note unlike fgets, the EOL character is not returned and a whole
518 519
    line is parsed. return NULL if first char read was EOF */
519
char *url_fgets(AVIOContext *s, char *buf, int buf_size);
520
attribute_deprecated char *url_fgets(AVIOContext *s, char *buf, int buf_size);
521
#endif
520 522

  
521 523
void put_flush_packet(AVIOContext *s);
522 524

  
libavformat/aviobuf.c
915 915
}
916 916
#endif //CONFIG_MUXERS
917 917

  
918
#if FF_API_OLD_AVIO
918 919
char *url_fgets(AVIOContext *s, char *buf, int buf_size)
919 920
{
920 921
    int c;
......
935 936
        *q = '\0';
936 937
    return buf;
937 938
}
939
#endif
938 940

  
939 941
int url_fget_max_packet_size(AVIOContext *s)
940 942
{

Also available in: Unified diff