aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-07-07 23:03:14 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-07-07 23:03:14 +0000
commit58e28fd5c4e24403985f99cea9ee655c6bcebb06 (patch)
treedd7432d764edc6202401a52bc51d43076c296499
parent78c3c1881f6cb9e27404333de04eecabd49a292b (diff)
downloadffmpeg-58e28fd5c4e24403985f99cea9ee655c6bcebb06.tar.gz
simplify ff_copy_bits() when compiled with config-small
Originally committed as revision 9526 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/bitstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
index a69e20d42f..2838e9304b 100644
--- a/libavcodec/bitstream.c
+++ b/libavcodec/bitstream.c
@@ -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++)