diff bitstream.c @ 5247:32b69770ae23 libavcodec

simplify ff_copy_bits() when compiled with config-small
author aurel
date Sat, 07 Jul 2007 23:03:14 +0000
parents 2a340aea762d
children 20bea6a9950c
line wrap: on
line diff
--- a/bitstream.c	Sat Jul 07 20:50:29 2007 +0000
+++ b/bitstream.c	Sat Jul 07 23:03:14 2007 +0000
@@ -69,7 +69,7 @@
 
     if(length==0) return;
 
-    if(words < 16 || put_bits_count(pb)&7){
+    if(ENABLE_SMALL || words < 16 || put_bits_count(pb)&7){
         for(i=0; i<words; i++) put_bits(pb, 16, be2me_16(srcw[i]));
     }else{
         for(i=0; put_bits_count(pb)&31; i++)