require ffmpeg 0.4.9

This commit is contained in:
Glenn Maynard
2004-08-06 23:58:54 +00:00
parent 0c4f092fd3
commit b1f26e846d
+4 -4
View File
@@ -162,24 +162,24 @@ AC_SEARCH_LIBS(avcodec_init, [avcodec], have_libavcodec=yes, have_libavcodec=no
AC_SEARCH_LIBS(guess_format, [avformat], have_libavformat=yes, have_libavformat=no) AC_SEARCH_LIBS(guess_format, [avformat], have_libavformat=yes, have_libavformat=no)
if test "$have_libavcodec" = "yes"; then if test "$have_libavcodec" = "yes"; then
AC_MSG_CHECKING([for libavcodec >= 0.4.8]) AC_MSG_CHECKING([for libavcodec >= 0.4.9])
AC_TRY_RUN([ AC_TRY_RUN([
#include <ffmpeg/avcodec.h> #include <ffmpeg/avcodec.h>
int main() int main()
{ {
return ( LIBAVCODEC_VERSION_INT < 0x000408 )? 1:0; return ( LIBAVCODEC_VERSION_INT < 0x000409 )? 1:0;
} }
],,have_libavcodec=no,) ],,have_libavcodec=no,)
AC_MSG_RESULT($have_libavcodec) AC_MSG_RESULT($have_libavcodec)
fi fi
if test "$have_libavformat" = "yes"; then if test "$have_libavformat" = "yes"; then
AC_MSG_CHECKING([for libavformat >= 0.4.8]) AC_MSG_CHECKING([for libavformat >= 0.4.9])
AC_TRY_RUN([ AC_TRY_RUN([
#include <ffmpeg/avformat.h> #include <ffmpeg/avformat.h>
int main() int main()
{ {
return ( LIBAVFORMAT_VERSION_INT < 0x000408 )? 1:0; return ( LIBAVFORMAT_VERSION_INT < 0x000409 )? 1:0;
} }
],,have_libavformat=no,) ],,have_libavformat=no,)
AC_MSG_RESULT($have_libavformat) AC_MSG_RESULT($have_libavformat)