g723.1: simplify normalize_bits()
authorMans Rullgard <mans@mansr.com>
Mon, 13 Aug 2012 22:03:37 +0000 (23:03 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 14 Aug 2012 11:08:29 +0000 (12:08 +0100)
commita4b8fc3a8a4ec8e704885d3097b6bfbdc7827b6e
tree80d02bfbb28e3c47688ac2ff7df940874802797f
parent063910f54d04c08b85b7b07ad7368e15b943a722
g723.1: simplify normalize_bits()

This function is always called with a non-negative argument, so
those special cases are not needed.  In the places the argument
might be zero, the return value for a zero argument does not matter
since it would then be used to scale an array full of zeros.

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