X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favio.h;h=2210c015a00cd7515b1f45f381cfb6c873e8aed7;hb=e3212bfd1493be2c04e78b3a2e998d90c49e3935;hp=e607df5fb476f20a9fa482752eefd6d2dc2c239e;hpb=00d234688512c83f3e62b6781676469b78f4ab2b;p=ffmpeg diff --git a/libavformat/avio.h b/libavformat/avio.h index e607df5fb47..2210c015a00 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -276,7 +276,14 @@ int64_t avio_size(AVIOContext *s); * feof() equivalent for AVIOContext. * @return non zero if and only if end of file */ +int avio_feof(AVIOContext *s); +#if FF_API_URL_FEOF +/** + * @deprecated use avio_feof() + */ +attribute_deprecated int url_feof(AVIOContext *s); +#endif /** @warning currently size is limited */ int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3); @@ -500,6 +507,9 @@ int avio_pause(AVIOContext *h, int pause); int64_t avio_seek_time(AVIOContext *h, int stream_index, int64_t timestamp, int flags); +/* Avoid a warning. The header can not be included because it breaks c++. */ +struct AVBPrint; + /** * Read contents of h into print buffer, up to max_size bytes, or up to EOF. *