Browse Source

Use MMX only under x86_32, there are compilation problems.

Originally committed as revision 6931 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
4802a7a7b1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/liba52/resample.c

+ 2
- 2
libavcodec/liba52/resample.c View File

@@ -33,14 +33,14 @@ int (* a52_resample) (float * _f, int16_t * s16)=NULL;

#include "resample_c.c"

#ifdef ARCH_X86
#ifdef ARCH_X86_32
#include "resample_mmx.c"
#endif

void* a52_resample_init(uint32_t mm_accel,int flags,int chans){
void* tmp;

#ifdef ARCH_X86
#ifdef ARCH_X86_32
if(mm_accel&MM_ACCEL_X86_MMX){
tmp=a52_resample_MMX(flags,chans);
if(tmp){


Loading…
Cancel
Save