[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:21:30 CEST 2010


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

MacOS: try to fix MacOS Audio crash

Should fix #3767
(cherry picked from commit 202c4d9c4fab9bf3391c887194d4f05999634d61)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=4f5c0b05412353cf0027b1baa593dbb22a958890
---

 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 d3f22a7..303b7ed 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