diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-27 01:36:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-04 02:15:24 +0200 |
commit | fbaf73a33d505a32431ede6599f5b742ade045e1 (patch) | |
tree | 91c6efbf85c9721bffbcae32d422671cd178c7b2 /libavcodec/lagarithrac.c | |
parent | d8ae0dfd999db6721892a1242e0baaa34af5135d (diff) | |
download | ffmpeg-fbaf73a33d505a32431ede6599f5b742ade045e1.tar.gz |
avcodec/lagarithrac: lag_get_rac: use normal division
maybe 0.3% faster and simpler code
Diffstat (limited to 'libavcodec/lagarithrac.c')
-rw-r--r-- | libavcodec/lagarithrac.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/lagarithrac.c b/libavcodec/lagarithrac.c index c24064607c..37ac2cf570 100644 --- a/libavcodec/lagarithrac.c +++ b/libavcodec/lagarithrac.c @@ -53,7 +53,4 @@ void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length) j++; l->range_hash[i] = j; } - - /* Add conversion factor to hash_shift so we don't have to in lag_get_rac. */ - l->hash_shift += 23; } |