1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avformat: Drop deprecated feof() AVIO fuction

Deprecated in 08/2014.
This commit is contained in:
James Almer 2017-10-21 22:08:08 -03:00
parent 88e2e31d34
commit d4d2e9fe4e
4 changed files with 0 additions and 19 deletions

View File

@ -569,13 +569,6 @@ int64_t avio_size(AVIOContext *s);
* @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 Writes up to 4 KiB per call */
int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3);

View File

@ -364,13 +364,6 @@ int avio_feof(AVIOContext *s)
return s->eof_reached;
}
#if FF_API_URL_FEOF
int url_feof(AVIOContext *s)
{
return avio_feof(s);
}
#endif
void avio_wl32(AVIOContext *s, unsigned int val)
{
avio_w8(s, (uint8_t) val );

View File

@ -12,8 +12,6 @@ LIBAVFORMAT_MAJOR {
ffurl_close;
ffurl_open;
ffurl_write;
#those are deprecated, remove on next bump
url_feof;
local:
*;
};

View File

@ -55,9 +55,6 @@
* at once through the bump. This improves the git bisect-ability of the change.
*
*/
#ifndef FF_API_URL_FEOF
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_LAVF_FMT_RAWPICTURE
#define FF_API_LAVF_FMT_RAWPICTURE (LIBAVFORMAT_VERSION_MAJOR < 58)
#endif