From 4ae85e6886ac70f2cd2f5616f99428015ff22d48 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 7 May 2007 23:54:10 +0000 Subject: Revert the addition of the steal_codec_stack function. Replace by accessing the threads structure to grab the codec stack. Maybe a better solution exists. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13349 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index a7832ef..1478805 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -62,6 +62,8 @@ static int plugin_size = 0; static bool (*pfn_tsr_exit)(bool reenter) = NULL; /* TSR exit callback */ static char current_plugin[MAX_PATH]; +extern struct thread_entry threads[MAXTHREADS]; + static const struct plugin_api rockbox_api = { /* lcd */ @@ -493,8 +495,8 @@ static const struct plugin_api rockbox_api = { codec_load_file, get_metadata, get_codec_filename, - steal_codec_stack, #endif + threads, }; int plugin_load(const char* plugin, void* parameter) -- cgit v1.1