OSDN Git Service

stagefright amrnb: Properly negate all values
authorMartin Storsjo <martin@martin.st>
Wed, 18 May 2011 09:30:02 +0000 (12:30 +0300)
committerMartin Storsjo <martin@martin.st>
Wed, 18 May 2011 11:24:37 +0000 (14:24 +0300)
commite55147f462e04d41bff7ead6e9ea61a5b83bda4b
treeceb42f74131ea950c1516c45b5b7c3ddcde66dc9
parent773f457645786b139fa8fe180ef27e78ad7ab2f9
stagefright amrnb: Properly negate all values

Initially, input values -32768 weren't negated properly.

This was committed on the master branch of the opencore
repository in commit f532d145194e474cb30d8644b8eee83873ad24cc,
based on AOSP contribution 10906.

Change-Id: I903353c5539a8fe94b7fc5f26b95eaeac57df5f4
media/libstagefright/codecs/amrnb/enc/src/set_sign.cpp