From fe147cec651486d39967f24d0d1bbe6ae1cd067b Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Fri, 30 Apr 2010 12:20:25 +0000 Subject: Modify the ffmpeg source files in apps/codecs/libwmapro in order to compile the codec standalone. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25764 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwmapro/wma.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/codecs/libwmapro/wma.c') diff --git a/apps/codecs/libwmapro/wma.c b/apps/codecs/libwmapro/wma.c index 65780459aa..5306634c7c 100644 --- a/apps/codecs/libwmapro/wma.c +++ b/apps/codecs/libwmapro/wma.c @@ -21,11 +21,11 @@ #include "avcodec.h" #include "wma.h" -#include "wmadata.h" +//#include "wmadata.h" #undef NDEBUG #include - +#if 0 /* XXX: use same run/length optimization as mpeg decoders */ //FIXME maybe split decode / encode or pass flag static void init_coef_vlc(VLC *vlc, uint16_t **prun_table, @@ -65,6 +65,7 @@ static void init_coef_vlc(VLC *vlc, uint16_t **prun_table, *pint_table = int_table; av_free(level_table); } +#endif /* 0 */ /** *@brief Get the samples per frame for this stream. @@ -106,6 +107,7 @@ int av_cold ff_wma_get_frame_len_bits(int sample_rate, int version, return frame_len_bits; } +#if 0 int ff_wma_init(AVCodecContext *avctx, int flags2) { WMACodecContext *s = avctx->priv_data; @@ -426,7 +428,7 @@ int ff_wma_end(AVCodecContext *avctx) return 0; } - +#endif /* 0 */ /** * Decode an uncompressed coefficient. * @param s codec context -- cgit v1.2.3