Revision de3ef792

View differences:

libavformat/avio.h
508 508
int url_fprintf(AVIOContext *s, const char *fmt, ...);
509 509
#endif
510 510

  
511
#if FF_API_OLD_AVIO
511 512
/** @note unlike fgets, the EOL character is not returned and a whole
512 513
    line is parsed. return NULL if first char read was EOF */
513
char *url_fgets(AVIOContext *s, char *buf, int buf_size);
514
attribute_deprecated char *url_fgets(AVIOContext *s, char *buf, int buf_size);
515
#endif
514 516

  
515 517
void put_flush_packet(AVIOContext *s);
516 518

  
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