diff options
author | Mohamed Tarek <mt@rockbox.org> | 2010-04-30 12:20:25 +0000 |
---|---|---|
committer | Mohamed Tarek <mt@rockbox.org> | 2010-04-30 12:20:25 +0000 |
commit | fe147cec651486d39967f24d0d1bbe6ae1cd067b (patch) | |
tree | ef15055d39c17e05c91f591b5d4f264bfd421e5e /apps/codecs/libwmapro/bitstream.c | |
parent | cf43e5083b9e0f87de262ea31fd8067225ebfcda (diff) | |
download | rockbox-fe147cec651486d39967f24d0d1bbe6ae1cd067b.tar.gz rockbox-fe147cec651486d39967f24d0d1bbe6ae1cd067b.zip |
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
Diffstat (limited to 'apps/codecs/libwmapro/bitstream.c')
-rw-r--r-- | apps/codecs/libwmapro/bitstream.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libwmapro/bitstream.c b/apps/codecs/libwmapro/bitstream.c index 1e24099cc8..47234e10e1 100644 --- a/apps/codecs/libwmapro/bitstream.c +++ b/apps/codecs/libwmapro/bitstream.c | |||
@@ -65,7 +65,8 @@ void ff_copy_bits(PutBitContext *pb, const uint8_t *src, int length) | |||
65 | int i; | 65 | int i; |
66 | 66 | ||
67 | if(length==0) return; | 67 | if(length==0) return; |
68 | 68 | /* The following define was just added to make the codec (wma pro) compile */ | |
69 | #define CONFIG_SMALL 0 | ||
69 | if(CONFIG_SMALL || words < 16 || put_bits_count(pb)&7){ | 70 | if(CONFIG_SMALL || words < 16 || put_bits_count(pb)&7){ |
70 | for(i=0; i<words; i++) put_bits(pb, 16, AV_RB16(src + 2*i)); | 71 | for(i=0; i<words; i++) put_bits(pb, 16, AV_RB16(src + 2*i)); |
71 | }else{ | 72 | }else{ |