diff options
author | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-13 13:48:26 +0000 |
---|---|---|
committer | Andrew Mahone <andrew.mahone@gmail.com> | 2009-01-13 13:48:26 +0000 |
commit | 2fbf09752d385af861279af195d68f920859202d (patch) | |
tree | 98bf09ebc24217d122b61c2a079337b793c35d9b /apps/plugins/pictureflow.c | |
parent | c0d9084d6a5182460da0472a4e88d6d078adb86e (diff) | |
download | rockbox-2fbf09752d385af861279af195d68f920859202d.tar.gz rockbox-2fbf09752d385af861279af195d68f920859202d.zip |
remove align_buffer from firmare/general.c, replacing with ALIGN_BUFFER macro, and replace all uses of it (only resize.c in core, and pictureflow and mpegplayer plugins), remove it from plugin_api,
and remove wrapper for it from plugin.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19758 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pictureflow.c')
-rw-r--r-- | apps/plugins/pictureflow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c index 83ab1ddef0..a3552836fa 100644 --- a/apps/plugins/pictureflow.c +++ b/apps/plugins/pictureflow.c | |||
@@ -2144,8 +2144,7 @@ enum plugin_status plugin_start(const struct plugin_api *api, | |||
2144 | rb->cpu_boost(true); | 2144 | rb->cpu_boost(true); |
2145 | #endif | 2145 | #endif |
2146 | plugin_buf = rb->plugin_get_buffer(&plugin_buf_size); | 2146 | plugin_buf = rb->plugin_get_buffer(&plugin_buf_size); |
2147 | plugin_buf_size = rb->align_buffer(PUN_PTR(void**,&plugin_buf), | 2147 | ALIGN_BUFFER(plugin_buf, plugin_buf_size, 4); |
2148 | plugin_buf_size, 4); | ||
2149 | ret = main(); | 2148 | ret = main(); |
2150 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 2149 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
2151 | rb->cpu_boost(false); | 2150 | rb->cpu_boost(false); |