diff options
Diffstat (limited to 'apps/plugins/mpa2wav.c')
-rw-r--r-- | apps/plugins/mpa2wav.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/plugins/mpa2wav.c b/apps/plugins/mpa2wav.c index 2f1f329275..a4fbf79605 100644 --- a/apps/plugins/mpa2wav.c +++ b/apps/plugins/mpa2wav.c | |||
@@ -24,11 +24,9 @@ | |||
24 | 24 | ||
25 | #include <codecs/libmad/mad.h> | 25 | #include <codecs/libmad/mad.h> |
26 | 26 | ||
27 | static struct plugin_api* rb; | 27 | #include "lib/xxx2wav.h" /* Helper functions common to test decoders */ |
28 | |||
29 | /* Helper functions common to all decoder test viewers (uses rb) */ | ||
30 | 28 | ||
31 | #include "xxx2wav.h" | 29 | static struct plugin_api* rb; |
32 | 30 | ||
33 | struct mad_stream Stream; | 31 | struct mad_stream Stream; |
34 | struct mad_frame Frame; | 32 | struct mad_frame Frame; |
@@ -149,7 +147,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
149 | 147 | ||
150 | /* This function sets up the buffers and reads the file into RAM */ | 148 | /* This function sets up the buffers and reads the file into RAM */ |
151 | 149 | ||
152 | if (local_init(file,"/libmadtest.wav",&file_info)) { | 150 | if (local_init(file,"/libmadtest.wav",&file_info,api)) { |
153 | return PLUGIN_ERROR; | 151 | return PLUGIN_ERROR; |
154 | } | 152 | } |
155 | 153 | ||