[FFmpeg-cvslog] avutil/version: add FF_CONST_AVUTIL53

Michael Niedermayer git at videolan.org
Wed May 14 15:58:45 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 14 15:23:31 2014 +0200| [0fdc3cd86fddd690d1fd0ea9ddaa3b0ba3e0af68] | committer: Michael Niedermayer

avutil/version: add FF_CONST_AVUTIL53

This will become "const" on the next major API version

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0fdc3cd86fddd690d1fd0ea9ddaa3b0ba3e0af68
---

 libavutil/version.h |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavutil/version.h b/libavutil/version.h
index bc5d458..7140705 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -138,6 +138,14 @@
 #define FF_API_OPT_TYPE_METADATA        (LIBAVUTIL_VERSION_MAJOR < 54)
 #endif
 
+#ifndef FF_CONST_AVUTIL53
+#if LIBAVUTIL_VERSION_MAJOR >= 53
+#define FF_CONST_AVUTIL53 const
+#else
+#define FF_CONST_AVUTIL53
+#endif
+#endif
+
 /**
  * @}
  */



More information about the ffmpeg-cvslog mailing list