Skip to content

Commit 23cad6e

Browse files
Jean-Baptiste Queruandroid code review
authored andcommitted
Merge "stagefright aacenc: Fix reading out of bounds in pow2_xy"
2 parents fd63c85 + 9af8cfa commit 23cad6e

File tree

1 file changed

+2
-2
lines changed
  • media/libstagefright/codecs/aacenc/basic_op

1 file changed

+2
-2
lines changed

media/libstagefright/codecs/aacenc/basic_op/oper_32b.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ static const Word32 pow2Table[POW2_TABLE_SIZE] = {
344344
*/
345345
Word32 pow2_xy(Word32 x, Word32 y)
346346
{
347-
Word32 iPart;
348-
Word32 fPart;
347+
UWord32 iPart;
348+
UWord32 fPart;
349349
Word32 res;
350350
Word32 tmp, tmp2;
351351
Word32 shift, shift2;

0 commit comments

Comments
 (0)