From 3d4107e67b96a17987045bfc77ac9c13b125abff Mon Sep 17 00:00:00 2001 From: Richard Boulton Date: Fri, 29 Dec 2000 21:56:20 +0000 Subject: [PATCH] Fix a couple of MMX issues. Original commit message from CVS: Fix a couple of MMX issues. --- libs/getbits/gstgetbits.c | 6 +++--- libs/getbits/gstgetbits.h | 17 +---------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/libs/getbits/gstgetbits.c b/libs/getbits/gstgetbits.c index a9536516a1..976eecb8fe 100644 --- a/libs/getbits/gstgetbits.c +++ b/libs/getbits/gstgetbits.c @@ -162,9 +162,9 @@ void gst_getbits_init(gst_getbits_t *gb, GstGetbitsCallback callback, void *data #ifdef HAVE_LIBMMX if (1) { - gb->getbits = getbits_mmx; -// gb->backbits = getbits_back_mmx; -// gb->backbytes = getbits_byteback_mmx; + gb->getbits = _gst_getbits_mmx; +// gb->backbits = _gst_getbits_back_mmx; +// gb->backbytes = _gst_getbits_byteback_mmx; } else #endif /* HAVE_LIBMMX */ { diff --git a/libs/getbits/gstgetbits.h b/libs/getbits/gstgetbits.h index e1292f9882..009c3c08a7 100644 --- a/libs/getbits/gstgetbits.h +++ b/libs/getbits/gstgetbits.h @@ -3,11 +3,7 @@ #include -#include -// FIXME - remove this HAVE_LIBMMX - let configure set it. -#undef HAVE_LIBMMX - -//#include +#include #ifdef HAVE_LIBMMX #include @@ -16,17 +12,6 @@ #include #endif /* HAVE_LIBSSE */ -// FIXME - let configure set DEBUG_ENABLED. -/* debugging */ -#ifndef DEBUG -#ifdef DEBUG_ENABLED -#define DEBUG(format, args...) g_print("DEBUG:(%d) " format, getpid() , ##args) -#else -#define DEBUG(format, args...) -#endif -#endif - - #ifdef WORDS_BIGENDIAN # define swab32(x) (x) #else -- 2.34.1