summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/wma.c
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-07-14 19:37:52 +0000
committerMohamed Tarek <mt@rockbox.org>2010-07-14 19:37:52 +0000
commitd63abfc7eb7db5eb36b325198fbb6ceaf8778685 (patch)
treedc9496f504711569180fd9c5a91cf6e748815869 /apps/codecs/libwmapro/wma.c
parent16284ae8aef30ec67d7fd9c34519bce17d64ab3a (diff)
downloadrockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.zip
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.tar.gz
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.tar.bz2
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.tar.xz
Add WMA Pro to the main build. WMA Pro now plays on target and decodes in 151% realtime in a 320kbps sample on a sansa e200. Lots of cleanup still need to be done, and optimisations should start soon too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27417 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/wma.c')
-rw-r--r--apps/codecs/libwmapro/wma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libwmapro/wma.c b/apps/codecs/libwmapro/wma.c
index b606f59..30fb9e0 100644
--- a/apps/codecs/libwmapro/wma.c
+++ b/apps/codecs/libwmapro/wma.c
@@ -467,7 +467,8 @@ unsigned int ff_wma_get_large_val(GetBitContext* gb)
* @param coef_nb_bits number of bits for escaped level codes
* @return 0 on success, -1 otherwise
*/
-int ff_wma_run_level_decode(AVCodecContext* avctx, GetBitContext* gb,
+#define av_log(...)
+int ff_wma_run_level_decode(GetBitContext* gb,
VLC *vlc,
const int32_t *level_table, const uint16_t *run_table,
int version, int32_t *ptr, int offset,