Skip to content

Commit

Permalink
music_mad.c, missing return value (from 2.0 branch commit 413430798384).
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 6, 2018
1 parent 565a9a2 commit de1d233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_mad.c
Expand Up @@ -224,7 +224,7 @@ mad_getSamples(mad_data *mp3_mad, Uint8 *stream, int len) {
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;
Expand Down

0 comments on commit de1d233

Please sign in to comment.