summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-08-14 18:08:40 +0000
committerThomas Martitz <kugel@rockbox.org>2011-08-14 18:08:40 +0000
commit2c07d238db2afbc2c0b9a1fa166549addf3be711 (patch)
treea77560323309827f04ed2888d716de97d7377329
parentd559492603ef3aa4a611f06169a966e7fd7447de (diff)
downloadrockbox-2c07d238db2afbc2c0b9a1fa166549addf3be711.zip
rockbox-2c07d238db2afbc2c0b9a1fa166549addf3be711.tar.gz
rockbox-2c07d238db2afbc2c0b9a1fa166549addf3be711.tar.bz2
rockbox-2c07d238db2afbc2c0b9a1fa166549addf3be711.tar.xz
Fix tempbuf assignment in tagcache and bump plugin API/ABI for r30308.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30314 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugin.h4
-rw-r--r--apps/tagcache.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index e2a5771..d70e563 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -146,12 +146,12 @@ void* plugin_get_buffer(size_t *buffer_size);
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 209
+#define PLUGIN_API_VERSION 210
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
-#define PLUGIN_MIN_API_VERSION 209
+#define PLUGIN_MIN_API_VERSION 210
/* plugin return codes */
/* internal returns start at 0x100 to make exit(1..255) work */
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 0a491c5..0f78639 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -3089,7 +3089,7 @@ static void allocate_tempbuf(void)
tempbuf_size = 32*1024*1024;
tempbuf = malloc(tempbuf_size);
#else
- buffer_get_buffer(&tempbuf_size);
+ tempbuf = buffer_get_buffer(&tempbuf_size);
#endif
}