decoder: Treat negative qlp_shift as an error
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 8 Aug 2015 22:50:30 +0000 (08:50 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 8 Aug 2015 22:50:35 +0000 (08:50 +1000)
commit7083cf2d9041f51c53441c7246664b34dce65a64
tree302657ab48ce5800b1731101f79d172481c531d8
parent4f84da5dd4b07fe1964a5a25af58ce94f9e890b4
decoder: Treat negative qlp_shift as an error

Shift by a negative value is undefined behaviour so there is no "right"
way of dealing with this.

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