#===================#
HEAD
+ * FreeBSD pthread fixes.
+ * AC3 IMDCT and downmix functions are now in plugins, --imdct and
+ --downmix options added.
+ * Bugfixes, cleanings in gtk.
+ * Initialization bugfixes in input_dvd.
+ * Added a b_stopped flag to interface playlist to have a stop function in
+ interface plugins.
+ * Updated the Gtk+ interface so that it has the same features as the
+ Gnome one.
+ * Beginning of SSE/3DNow! support for imdct and downmix.
* Ported alsa interface for alsa 0.9beta
* Fixed a deadlock in spudec.
* Added SPU cropping.
echo "$ac_t""no" 1>&6
fi
-echo $ac_n "checking for old style FreeBSD -pthread flag""... $ac_c" 1>&6
-echo "configure:2393: checking for old style FreeBSD -pthread flag" >&5
-cat > conftest.$ac_ext <<EOF
-#line 2395 "configure"
-#include "confdefs.h"
-#if defined(__FreeBSD_cc_version) && __FreeBSD_cc_version <= 500001
- yes
- #endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "yes" >/dev/null 2>&1; then
- rm -rf conftest*
- echo "$ac_t""yes" 1>&6
- DEFINE="${DEFINE} -D_THREAD_SAFE" LIB="${LIB} -pthread"
-else
- rm -rf conftest*
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:2411: checking for pthread_create in -lpthread" >&5
+
+echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+echo "configure:2394: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2419 "configure"
+#line 2402 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
pthread_create()
; return 0; }
EOF
-if { (eval echo configure:2430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
LIB="${LIB} -lpthread"
else
echo "$ac_t""no" 1>&6
+echo $ac_n "checking for old style FreeBSD -pthread flag""... $ac_c" 1>&6
+echo "configure:2432: checking for old style FreeBSD -pthread flag" >&5
+ cat > conftest.$ac_ext <<EOF
+#line 2434 "configure"
+#include "confdefs.h"
+#if defined(__FreeBSD_cc_version) && __FreeBSD_cc_version <= 500001
+ yes
+ #endif
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "yes" >/dev/null 2>&1; then
+ rm -rf conftest*
+ echo "$ac_t""yes" 1>&6
+ DEFINE="${DEFINE} -D_THREAD_SAFE" LIB="${LIB} -pthread"
+else
+ rm -rf conftest*
+ echo "$ac_t""no" 1>&6
fi
+rm -f conftest*
fi
-rm -f conftest*
echo $ac_n "checking for thread_create in -lthreads""... $ac_c" 1>&6
echo "configure:2454: checking for thread_create in -lthreads" >&5
AC_TYPE_SIGNAL
AC_CHECK_LIB(dl,dlopen,LIB="${LIB} -ldl")
AC_CHECK_LIB(m,pow,LIB_YUV="${LIB_YUV} -lm")
-AC_MSG_CHECKING(for old style FreeBSD -pthread flag)
-AC_EGREP_CPP(yes,
- [#if defined(__FreeBSD_cc_version) && __FreeBSD_cc_version <= 500001
- yes
- #endif
- ], AC_MSG_RESULT(yes)
- DEFINE="${DEFINE} -D_THREAD_SAFE" LIB="${LIB} -pthread",
- AC_MSG_RESULT(no)
- AC_CHECK_LIB(pthread,pthread_create,LIB="${LIB} -lpthread"))
+
+AC_CHECK_LIB(pthread,pthread_create,
+ LIB="${LIB} -lpthread",
+ AC_MSG_CHECKING(for old style FreeBSD -pthread flag)
+ AC_EGREP_CPP(yes,
+ [#if defined(__FreeBSD_cc_version) && __FreeBSD_cc_version <= 500001
+ yes
+ #endif],
+ AC_MSG_RESULT(yes)
+ DEFINE="${DEFINE} -D_THREAD_SAFE" LIB="${LIB} -pthread",
+ AC_MSG_RESULT(no)))
AC_CHECK_LIB(threads,thread_create,LIB="${LIB} -lthreads")
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
* ac3_imdct_common.c: common ac3 DCT functions
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
- * $Id: ac3_imdct_common.c,v 1.1 2001/05/15 16:19:42 sam Exp $
+ * $Id: ac3_imdct_common.c,v 1.2 2001/05/15 19:36:27 sam Exp $
*
* Authors: Renaud Dartus <reno@videolan.org>
* Aaron Holtzman <aholtzma@engr.uvic.ca>
7, 23, 39, 55, 15, 31, 47, 63
};
+void _M( fft_64p ) ( complex_t *a );
+
void _M( imdct_do_256 ) (imdct_t * p_imdct, float data[],float delay[])
{
int i, j, k;
* and spawn threads.
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: main.c,v 1.95 2001/05/15 16:19:42 sam Exp $
+ * $Id: main.c,v 1.96 2001/05/15 19:36:27 sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
# include <mach/bootstrap.h>
#endif
+#ifndef WIN32
+#include <netinet/in.h> /* BSD: struct in_addr */
+#endif
+
#include <unistd.h>
#include <errno.h> /* ENOMEM */
#include <stdlib.h> /* getenv(), strtol(), */