[FFmpeg-cvslog] bink: remove unneeded special case in the init code.
Michael Niedermayer
git at videolan.org
Sat Sep 29 16:28:58 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb 6 19:30:25 2012 +0100| [897d336984056616390a485c498acfe8b4c95172] | committer: Michael Niedermayer
bink: remove unneeded special case in the init code.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=897d336984056616390a485c498acfe8b4c95172
---
libavcodec/bink.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index 490e4be..85ac23d 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));
- }
}
}
}
More information about the ffmpeg-cvslog
mailing list