diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-19 21:28:43 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-08-19 21:28:43 +0000 |
commit | 364cacc7c7767f5ce147b4af5116fd5c427b0d5a (patch) | |
tree | 644c1b029f822322ae8048925c2251e0b759be12 /libavformat/avio.h | |
parent | 838b27b42c1838857e6b2ad47b4a932717108c10 (diff) | |
download | ffmpeg-364cacc7c7767f5ce147b4af5116fd5c427b0d5a.tar.gz |
add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf()
public function
Originally committed as revision 24841 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 8c5f94acb8..a33a7d98a8 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -454,7 +454,7 @@ int url_fdopen(ByteIOContext **s, URLContext *h); /** @warning must be called before any I/O */ int url_setbufsize(ByteIOContext *s, int buf_size); -#if LIBAVFORMAT_VERSION_MAJOR < 53 +#if FF_API_URL_RESETBUF /** Reset the buffer for reading or writing. * @note Will drop any data currently in the buffer without transmitting it. * @param flags URL_RDONLY to set up the buffer for reading, or URL_WRONLY |