From 0021552753b437aeca5fa71ab5f7b20754052fa2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 3 Jun 2013 19:55:20 -0700 Subject: [PATCH] Fixed bug 1887 - libmad support broken --- music_mad.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/music_mad.h b/music_mad.h index 72d6c7f0..297826b9 100644 --- a/music_mad.h +++ b/music_mad.h @@ -41,8 +41,8 @@ enum { }; typedef struct { - SDL_RWops *rw; - int freerw; + SDL_RWops *src; + int freesrc; struct mad_stream stream; struct mad_frame frame; struct mad_synth synth; @@ -58,7 +58,7 @@ typedef struct { unsigned char output_buffer[MAD_OUTPUT_BUFFER_SIZE]; } mad_data; -mad_data *mad_openFileRW(SDL_RWops *rw, SDL_AudioSpec *mixer, int freerw); +mad_data *mad_openFileRW(SDL_RWops *src, SDL_AudioSpec *mixer, int freesrc); void mad_closeFile(mad_data *mp3_mad); void mad_start(mad_data *mp3_mad);