changeset 5247:32b69770ae23 libavcodec

simplify ff_copy_bits() when compiled with config-small
author aurel
date Sat, 07 Jul 2007 23:03:14 +0000
parents 9975783f1cb2
children d138b2abf3d5
files bitstream.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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++)