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/avformat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/avformat.h') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d61e293669..b95aaa4685 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -48,6 +48,9 @@ #ifndef FF_API_URL_CLASS #define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53) #endif +#ifndef FF_API_URL_RESETBUF +#define FF_API_URL_RESETBUF (LIBAVFORMAT_VERSION_MAJOR < 53) +#endif #ifndef FF_API_REGISTER_PROTOCOL #define FF_API_REGISTER_PROTOCOL (LIBAVFORMAT_VERSION_MAJOR < 53) #endif -- cgit v1.2.3