summaryrefslogtreecommitdiff
path: root/package/mplayer/patches/patch-libao2_ao_alsa_c
blob: b943dc8a92c20a0924c724fa76ca9196ad757069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- MPlayer-1.1.1.orig/libao2/ao_alsa.c	2012-04-10 15:17:49.000000000 +0200
+++ MPlayer-1.1.1/libao2/ao_alsa.c	2013-11-14 13:20:30.000000000 +0100
@@ -756,8 +756,9 @@ static int play(void* data, int len, int
 {
   int num_frames;
   snd_pcm_sframes_t res = 0;
-  if (!(flags & AOPLAY_FINAL_CHUNK))
-      len = len / ao_data.outburst * ao_data.outburst;
+  // SIGFPE on Sharp Zaurus ARM CPU
+  //if (!(flags & AOPLAY_FINAL_CHUNK))
+  //    len = len / ao_data.outburst * ao_data.outburst;
   num_frames = len / bytes_per_sample;
 
   //mp_msg(MSGT_AO,MSGL_ERR,"alsa-play: frames=%i, len=%i\n",num_frames,len);