diff avio.h @ 6395:89cf0940e3f0 libavformat

add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf() public function
author aurel
date Thu, 19 Aug 2010 21:28:43 +0000
parents 896acb967d32
children
line wrap: on
line diff
--- a/avio.h	Thu Aug 19 21:21:32 2010 +0000
+++ b/avio.h	Thu Aug 19 21:28:43 2010 +0000
@@ -454,7 +454,7 @@
 
 /** @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