[vlc-devel] commit: Avcodec: proper warning if build is < 52.25 (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Aug 28 12:23:34 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Aug 28 12:23:06 2009 +0200| [6955322af139da2eaa9307334846d8603fb5af3f] | committer: Jean-Baptiste Kempf
Avcodec: proper warning if build is < 52.25
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6955322af139da2eaa9307334846d8603fb5af3f
---
modules/codec/avcodec/avcodec.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c
index 59d4798..ca6c75f 100644
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -44,10 +44,13 @@
# 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"
More information about the vlc-devel
mailing list