Mercurial > mplayer.hg
changeset 3906:7f54bf9796c5
proper a52_init accel flags
author | arpi |
---|---|
date | Sun, 30 Dec 2001 20:32:57 +0000 |
parents | 91e5c563fce5 |
children | 6312aa265429 |
files | dec_audio.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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");