summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/bitstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwmapro/bitstream.c')
-rw-r--r--apps/codecs/libwmapro/bitstream.c3
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{