apedec: fix signed integer overflows
authorMans Rullgard <mans@mansr.com>
Fri, 25 Nov 2011 18:46:35 +0000 (18:46 +0000)
committerMans Rullgard <mans@mansr.com>
Sat, 26 Nov 2011 11:38:41 +0000 (11:38 +0000)
commit644bff6c9bf15b5ed723a893236dbc8c29579c93
treea124f80d82ad582c2c20d62af3acdfe90854c4f2
parent93c286e54f5f695c9352d0034f5a417b79aecc2f
apedec: fix signed integer overflows

This bit manipulation is equivalent but avoids undefined
shifts and overflows.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/apedec.c