Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-27 03:36:23 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 04:15:24 +0400
commitfbaf73a33d505a32431ede6599f5b742ade045e1 (patch)
tree91c6efbf85c9721bffbcae32d422671cd178c7b2 /libavcodec/lagarithrac.c
parentd8ae0dfd999db6721892a1242e0baaa34af5135d (diff)
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.c3
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;
}