Projects
Multimedia
transcode
transcode.a52.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transcode.a52.patch of Package transcode
--- a/import/a52_decore.c +++ b/import/a52_decore.c @@ -37,7 +37,6 @@ #endif #include <a52dec/a52.h> -#include <a52dec/mm_accel.h> #include "magic.h" #define FRAME_SIZE 3840 @@ -91,21 +90,12 @@ int a52_decore(decode_t *decode) { sample_t *samples; int chans = -1; int16_t pcm_buf[256 * A52_BLOCKS]; - uint32_t accel = MM_ACCEL_DJBFFT; - - -#ifdef HAVE_ASM_MMX - if (ac_cpuinfo() & AC_MMX) - accel |= MM_ACCEL_X86_MMX; +#ifdef A52_ACCEL_DETECT + state = a52_init(); +#else + state = a52_init(0); #endif -#ifdef HAVE_ASM_3DNOW - if (ac_cpuinfo() & AC_3DNOW) - accel |= MM_ACCEL_X86_3DNOW; -#endif - - state = a52_init(accel); - n=0; for (;;) {
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.