comparison bitstream.c @ 8596:68e959302527 libavcodec

replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_ and remove all ENABLE_ definitions.
author aurel
date Wed, 14 Jan 2009 17:19:17 +0000
parents d3a1ac3e227b
children 04423b2f6e0b
comparison
equal deleted inserted replaced
8595:2f476018b4ac 8596:68e959302527
80 int bits= length&15; 80 int bits= length&15;
81 int i; 81 int i;
82 82
83 if(length==0) return; 83 if(length==0) return;
84 84
85 if(ENABLE_SMALL || words < 16 || put_bits_count(pb)&7){ 85 if(CONFIG_SMALL || words < 16 || put_bits_count(pb)&7){
86 for(i=0; i<words; i++) put_bits(pb, 16, be2me_16(srcw[i])); 86 for(i=0; i<words; i++) put_bits(pb, 16, be2me_16(srcw[i]));
87 }else{ 87 }else{
88 for(i=0; put_bits_count(pb)&31; i++) 88 for(i=0; put_bits_count(pb)&31; i++)
89 put_bits(pb, 8, src[i]); 89 put_bits(pb, 8, src[i]);
90 flush_put_bits(pb); 90 flush_put_bits(pb);