avcodec/ratecontrol: make (mc_)mb_var_sum(_last) 64bit
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2014 17:25:36 +0000 (18:25 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2014 17:34:54 +0000 (18:34 +0100)
commitb4356c9cc28197bb8da626ece08d4a062b62afc8
tree585887851dd6e324c59d81da57196db850ae7f2b
parente92a78a4095d69d876bef189225608a35166dc4a
avcodec/ratecontrol: make (mc_)mb_var_sum(_last) 64bit

This avoids hypothetical integer overflows
libavcodec/ratecontrol.c
libavcodec/ratecontrol.h