summaryrefslogtreecommitdiff
blob: 975c930d6d6d488e3f513a356a871508937955c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- avi4xmms/src/player.cpp	Sun May 26 11:37:46 2002
+++ avi4xmms.azarah/src/player.cpp	Sun May 26 11:39:53 2002
@@ -50,7 +50,7 @@
 int audioChannels;
 int audioBitsPerSample;
 
-static int audio_func( void *ptr, int size, void* p )
+static int audio_func( void *ptr, unsigned int size, void* p )
 {
 
 	// Seems not to be working properly. Probably the block size is too big.
@@ -211,7 +211,7 @@
 
 	if( outVal == 1 )
 	{
-		player->SetAudioFunc( audio_func );
+		player->SetAudioFunc( &audio_func );
 	}
 
 	// we don't wanna loop forever, do we?