summaryrefslogtreecommitdiff
blob: 3c462bd970880dd53e2124f019043070990c7d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- SDL_mixer-1.2.12.orig/music_mad.c
+++ SDL_mixer-1.2.12/music_mad.c
@@ -224,7 +224,7 @@
   if ((mp3_mad->status & MS_playing) == 0) {
 	/* We're not supposed to be playing, so send silence instead. */
 	memset(stream, 0, len);
-	return;
+	return 0;
   }
 
   out = stream;