libFLAC/stream_encoder.c: Fix overflow in total_error_*
authorErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 24 Nov 2015 18:42:40 +0000 (05:42 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Tue, 24 Nov 2015 18:42:43 +0000 (05:42 +1100)
commiteb2af522a1effab7b9bc667d7b82a2c1d652e383
tree08c66a3471f497242a80dc914f652e04795f3bf5
parent3fdb87b935d48f7ffb9e85b9cbce431e23ad4e04
libFLAC/stream_encoder.c: Fix overflow in total_error_*

lvqvl found that 32-bit total_error_* variables can overflow when the
right encoding parameters are used. This patch disables them.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
src/libFLAC/stream_encoder.c