Browse Source

avutil/version: add FF_CONST_AVUTIL53

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
0fdc3cd86f
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      libavutil/version.h

+ 8
- 0
libavutil/version.h View File

@@ -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

/**
* @}
*/


Loading…
Cancel
Save