summaryrefslogtreecommitdiff
path: root/apps/plugins/wav2wv.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r--apps/plugins/wav2wv.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c
index 1a37ee22ec..a1d4e630b8 100644
--- a/apps/plugins/wav2wv.c
+++ b/apps/plugins/wav2wv.c
@@ -29,8 +29,6 @@ PLUGIN_HEADER
29 29
30#define SAMPLES_PER_BLOCK 22050 30#define SAMPLES_PER_BLOCK 22050
31 31
32static const struct plugin_api* rb;
33
34void *memset(void *s, int c, size_t n) { 32void *memset(void *s, int c, size_t n) {
35 return(rb->memset(s,c,n)); 33 return(rb->memset(s,c,n));
36} 34}
@@ -287,19 +285,8 @@ static int wav2wv(const char *infile)
287 return error; 285 return error;
288} 286}
289 287
290enum plugin_status plugin_start(const struct plugin_api* api, const void *parameter) 288enum plugin_status plugin_start(const void *parameter)
291{ 289{
292#ifdef RB_PROFILE
293 /* This doesn't start profiling or anything, it just gives the
294 * profiling functions that are compiled in someplace to call,
295 * this is needed here to let this compile with profiling support
296 * since it calls code from a codec that is compiled with profiling
297 * support */
298 profile_init(api);
299#endif
300
301 rb = api;
302
303 if (!parameter) 290 if (!parameter)
304 return PLUGIN_ERROR; 291 return PLUGIN_ERROR;
305 292