diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-03-10 18:37:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-03-10 18:37:18 +0000 |
commit | 9e801ee2fafee12438911b2ace14bd4d2bffa816 (patch) | |
tree | 1ed4a13b97582f6b3f68e5d667deefd1174f038b /libavcodec | |
parent | f7287c42b2c56e4fbdf1ce56785dbfd9c75d1528 (diff) | |
download | ffmpeg-9e801ee2fafee12438911b2ace14bd4d2bffa816.tar.gz |
very minor optimization
Originally committed as revision 5136 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index c0b5e35279..4af0b90442 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -4966,7 +4966,7 @@ static inline int mpeg4_decode_block(MpegEncContext * s, DCTELEM * block, if(s->qscale >= s->intra_dc_threshold){ block[0] = ff_mpeg4_pred_dc(s, n, block[0], &dc_pred_dir, 0); - if(i == -1) i=0; + i -= i>>31; //if(i == -1) i=0; } mpeg4_pred_ac(s, block, n, dc_pred_dir); |