summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-15 20:00:28 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-15 20:00:28 +0000
commit237ca504e12c06a5cfa7cd0fb9d9c672dc588f1c (patch)
treeb6454cdfaa01c749e986386f7b3bc9fdc3a5f6c8 /apps/plugins/test_codec.c
parent258626f4550be2e586c9e5acf20cb71ee001a8e4 (diff)
downloadrockbox-237ca504e12c06a5cfa7cd0fb9d9c672dc588f1c.zip
rockbox-237ca504e12c06a5cfa7cd0fb9d9c672dc588f1c.tar.gz
rockbox-237ca504e12c06a5cfa7cd0fb9d9c672dc588f1c.tar.bz2
rockbox-237ca504e12c06a5cfa7cd0fb9d9c672dc588f1c.tar.xz
All AAC-HE files will double the frame sample count, not only AAC-HE files with SBR upsampling. This change fixes issues with some m4a files reported in the forums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29310 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r--apps/plugins/test_codec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 9b00fdb..56aedda 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -883,8 +883,7 @@ menu:
boost_settings, 2, NULL);
goto menu;
}
- if(boost)
- rb->cpu_boost(true);
+ rb->cpu_boost(boost ? true: false);
#endif
if (result == QUIT)