# HG changeset patch # User arpi # Date 1009744377 0 # Node ID 7f54bf9796c55c41886adcaf85b457e555a8713e # Parent 91e5c563fce50bf82b12bf86e35dc6e0c4aed696 proper a52_init accel flags diff -r 91e5c563fce5 -r 7f54bf9796c5 dec_audio.c --- a/dec_audio.c Sun Dec 30 20:26:19 2001 +0000 +++ b/dec_audio.c Sun Dec 30 20:32:57 2001 +0000 @@ -537,6 +537,10 @@ case AFM_A52: { // Dolby AC3 audio: int accel=0; // should contain mmx/sse/etc flags + if(gCpuCaps.hasSSE) accel|=MM_ACCEL_X86_SSE; + if(gCpuCaps.hasMMX) accel|=MM_ACCEL_X86_MMX; + if(gCpuCaps.hasMMX2) accel|=MM_ACCEL_X86_MMXEXT; + if(gCpuCaps.has3DNow) accel|=MM_ACCEL_X86_3DNOW; a52_samples=a52_init (accel); if (a52_samples == NULL) { mp_msg(MSGT_DECAUDIO,MSGL_ERR,"A52 init failed\n");