]> git.sesse.net Git - vlc/blobdiff - modules/codec/avcodec/fourcc.c
avcodec: move version check to avcodec.h
[vlc] / modules / codec / avcodec / fourcc.c
index eddd7e9e5e7185d3fa1e8b8d20150cd060436eaf..ad61157896eefe65a1120d13946b30c19090e291 100644 (file)
 #endif
 #include "avcodec.h"
 
-/* LIBAVCODEC_VERSION_CHECK checks for the right version of libav and FFmpeg
- * a is the major version
- * b and c the minor and micro versions of libav
- * d and e the minor and micro versions of FFmpeg */
-#define LIBAVCODEC_VERSION_CHECK( a, b, c, d, e ) \
-    (LIBAVCODEC_VERSION_MICRO <  100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, b, c ) ) || \
-    (LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( a, d, e ) )
-
 /*****************************************************************************
  * Codec fourcc -> ffmpeg_id mapping
  *****************************************************************************/