OSDN Git Service

amrnb: Restart the p_xn pointer when retraversing the array on overflow
authorMartin Storsjo <martin@martin.st>
Wed, 18 May 2011 09:29:28 +0000 (12:29 +0300)
committerMartin Storsjo <martin@martin.st>
Tue, 10 Jul 2012 10:37:42 +0000 (13:37 +0300)
commit6d72a807dc3910ddd0b7c4f85130951dd189e8f5
tree36dc3c057d9986f08ee9d01726aaf4c03ae38cdf
parentffb829430ff20ccd6c13e6ed894f2373b2d93939
amrnb: Restart the p_xn pointer when retraversing the array on overflow

This is a safeguard to avoid issues in a rare codepath.

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

Change-Id: I9688b009bcbe63d88ee5040e883a021aefa30664
media/libstagefright/codecs/amrnb/enc/src/g_pitch.cpp