From 364cacc7c7767f5ce147b4af5116fd5c427b0d5a Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Thu, 19 Aug 2010 21:28:43 +0000 Subject: 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 --- libavformat/avio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/avio.h') 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 -- cgit v1.2.3