[Mplayer-cvslog] CVS: main dec_audio.c,1.70,1.71
Arpi of Ize
arpi at mplayer.dev.hu
Sun Dec 30 21:33:00 CET 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv7100
Modified Files:
dec_audio.c
Log Message:
proper a52_init accel flags
Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_audio.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- dec_audio.c 30 Dec 2001 04:44:20 -0000 1.70
+++ dec_audio.c 30 Dec 2001 20:32:57 -0000 1.71
@@ -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");
More information about the MPlayer-cvslog
mailing list