OSDN Git Service

stagefright amr: Avoid C++/C99 for loops with variable declaration
authorMartin Storsjo <martin@martin.st>
Thu, 23 Jun 2011 15:21:23 +0000 (18:21 +0300)
committerMartin Storsjo <martin@martin.st>
Mon, 27 Feb 2012 19:35:48 +0000 (21:35 +0200)
commitf27422a71112e77af77de0da2e60d4deb94a9375
tree635e39ea2ef5cc62ddf044dac0445ddbd2f40a9e
parentfbaf72b701316c8050d73690ff387e62f724f216
stagefright amr: Avoid C++/C99 for loops with variable declaration

This makes the code compileable in C89 mode, too.

Change-Id: I9b76f8bfca148d1aec6081b8db139f351d64cfed
media/libstagefright/codecs/amrnb/enc/src/ton_stab.cpp
media/libstagefright/codecs/amrwb/src/get_amr_wb_bits.cpp
media/libstagefright/codecs/amrwb/src/oversamp_12k8_to_16k.cpp