OSDN Git Service

stagefright aacenc: Fix an inline asm constraint
authorMartin Storsjo <martin@martin.st>
Thu, 12 Jan 2012 12:25:29 +0000 (14:25 +0200)
committerMartin Storsjo <martin@martin.st>
Fri, 13 Jan 2012 19:20:03 +0000 (21:20 +0200)
commit721f2bb7b28891c0811a5bea31fa62644131befc
tree833966632b2ef5fbeaf77501f1b96585e145cd2c
parentb676a05348e4c516fa8b57e33b10548e6142c3f8
stagefright aacenc: Fix an inline asm constraint

Output-only parameters should use =r or =&r constrains, never +r.

This avoids a warning about the variable 'result' being used
uninitialized.

This avoids loading the uninitialized value into the register,
before it is overwritten by the multiplication.

Change-Id: I0ef6179e133c35d290feb8e12bea180ecae11a05
media/libstagefright/codecs/aacenc/basic_op/oper_32b.h