[vlc-commits] commit: MacOS: try to fix MacOS Audio crash (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Jul 18 18:19:41 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 18 18:17:28 2010 +0200| [202c4d9c4fab9bf3391c887194d4f05999634d61] | committer: Jean-Baptiste Kempf 

MacOS: try to fix MacOS Audio crash

Should fix #3767

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=202c4d9c4fab9bf3391c887194d4f05999634d61
---

 modules/audio_output/auhal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 216e930..2af9776 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -77,7 +77,7 @@
     sfm.mChannelsPerFrame, sfm.mBitsPerChannel
 
 #define FRAMESIZE 2048
-#define BUFSIZE (FRAMESIZE * 8)
+#define BUFSIZE (FRAMESIZE * 8) * 8
 #define AOUT_VAR_SPDIF_FLAG 0xf00000
 
 /*



More information about the vlc-commits mailing list