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.tar.gz
rockbox-d63abfc7eb7db5eb36b325198fbb6ceaf8778685.zip
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 b606f59dbf..30fb9e022a 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)
467 * @param coef_nb_bits number of bits for escaped level codes 467 * @param coef_nb_bits number of bits for escaped level codes
468 * @return 0 on success, -1 otherwise 468 * @return 0 on success, -1 otherwise
469 */ 469 */
470int ff_wma_run_level_decode(AVCodecContext* avctx, GetBitContext* gb, 470#define av_log(...)
471int ff_wma_run_level_decode(GetBitContext* gb,
471 VLC *vlc, 472 VLC *vlc,
472 const int32_t *level_table, const uint16_t *run_table, 473 const int32_t *level_table, const uint16_t *run_table,
473 int version, int32_t *ptr, int offset, 474 int version, int32_t *ptr, int offset,