[MPlayer-users] mplayer doesn't compile on debian/sid
Hans Freitag
macrotron at president.eu.org
Sun Jan 20 01:46:01 CET 2002
Hi,
Mplayer (CVS) will not compile on my Debian/sid.
The following patches make it working again!
-------schnipp------------------
--- mp3lib/sr1.c.orig Sun Jan 20 01:17:44 2002
+++ mp3lib/sr1.c Sun Jan 20 01:19:25 2002
@@ -392,9 +392,9 @@
GetCpuCaps(&gCpuCaps);
if(gCpuCaps.hasMMX) accel |= MM_ACCEL_X86_MMX;
if(gCpuCaps.hasMMX2) accel |= MM_ACCEL_X86_MMXEXT;
- if(gCpuCaps.hasSSE) accel |= MM_ACCEL_X86_SSE;
+// if(gCpuCaps.hasSSE) accel |= MM_ACCEL_X86_SSE;
if(gCpuCaps.has3DNow) accel |= MM_ACCEL_X86_3DNOW;
- if(gCpuCaps.has3DNowExt) accel |= MM_ACCEL_X86_3DNOWEXT;
+// if(gCpuCaps.has3DNowExt) accel |= MM_ACCEL_X86_3DNOWEXT;
if (accel & MM_ACCEL_X86_MMX)
{
@@ -439,14 +439,14 @@
}
else
#endif
- if (accel & MM_ACCEL_X86_3DNOWEXT)
+/* if (accel & MM_ACCEL_X86_3DNOWEXT)
{
synth_func=synth_1to1_MMX;
dct36_func=dct36_3dnowex;
dct64_MMX_func=dct64_MMX_3dnowex;
printf("mp3lib: using 3DNow!Ex optimized decore!\n");
}
- else
+ else */
if (accel & MM_ACCEL_X86_3DNOW)
{
synth_func = synth_1to1_MMX;
-------------schnapp-------------------------
--------schnipp---------------------
--- dec_audio.c.orig Sun Jan 20 01:24:00 2002
+++ dec_audio.c Sun Jan 20 01:22:39 2002
@@ -260,8 +260,8 @@
sh_audio->i_bps=bit_rate/8;
demux_read_data(sh_audio->ds,sh_audio->a_in_buffer+7,length-7);
- if(crc16_block(sh_audio->a_in_buffer+2,length-2)!=0)
- mp_msg(MSGT_DECAUDIO,MSGL_STATUS,"a52: CRC check failed! \n");
+// if(crc16_block(sh_audio->a_in_buffer+2,length-2)!=0)
+// mp_msg(MSGT_DECAUDIO,MSGL_STATUS,"a52: CRC check failed! \n");
return length;
}
--------schnapp---------------------
Note that this is not the Final solution! It's just a dirty hack to make
it working again.
bye
--
May the source be with you!
More information about the MPlayer-users
mailing list