diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-06 19:30:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-29 16:25:25 +0200 |
commit | 897d336984056616390a485c498acfe8b4c95172 (patch) | |
tree | 83a91a435bc64caca4d2c8746895aaac86831da3 /libavcodec | |
parent | 574e87943e720ed6ea640cb51f7593bba07b4301 (diff) | |
download | ffmpeg-897d336984056616390a485c498acfe8b4c95172.tar.gz |
bink: remove unneeded special case in the init code.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bink.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/bink.c b/libavcodec/bink.c index 490e4be9ad..85ac23dd54 100644 --- a/libavcodec/bink.c +++ b/libavcodec/bink.c @@ -1246,17 +1246,10 @@ static av_cold void binkb_calc_quant(void) for (j = 0; j < 16; j++) { for (i = 0; i < 64; i++) { int k = inv_bink_scan[i]; - if (s[i] == C) { - binkb_intra_quant[j][k] = (1L << 12) * binkb_intra_seed[i] * - binkb_num[j]/binkb_den[j]; - binkb_inter_quant[j][k] = (1L << 12) * binkb_inter_seed[i] * - binkb_num[j]/binkb_den[j]; - } else { binkb_intra_quant[j][k] = binkb_intra_seed[i] * (int64_t)s[i] * binkb_num[j]/(binkb_den[j] * (C>>12)); binkb_inter_quant[j][k] = binkb_inter_seed[i] * (int64_t)s[i] * binkb_num[j]/(binkb_den[j] * (C>>12)); - } } } } |