]> git.sesse.net Git - vlc/commitdiff
Avcodec: proper warning if build is < 52.25
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 28 Aug 2009 10:23:06 +0000 (12:23 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 28 Aug 2009 10:23:06 +0000 (12:23 +0200)
modules/codec/avcodec/avcodec.c

index 59d47985447bc526bc498ada6d98984cc2d90643..ca6c75f61fa5109bd59c04b97d139da05aa3ebe8 100644 (file)
 #   include <avcodec.h>
 #endif
 
-#if LIBAVCODEC_BUILD < 5000
-#   error You must have a libavcodec >= 5000 (get svn)
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 51, 48, 0 )
+#   error You must update libavcodec to a version >= 51.48.0
+#elif LIBAVCODEC_VERSION_INT < AV_VERSION_INT( 52, 25, 0 )
+#   warning You should update libavcodec to get subtitle support
 #endif
 
+
 #include "avcodec.h"
 #include "avutil.h"