mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-22 07:20:45 +00:00
simplify ff_copy_bits() when compiled with config-small
Originally committed as revision 9526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
78c3c1881f
commit
58e28fd5c4
@ -69,7 +69,7 @@ void ff_copy_bits(PutBitContext *pb, uint8_t *src, int length)
|
||||
|
||||
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++)
|
||||
|
Loading…
Reference in New Issue
Block a user