aacenc_utils: Use temporary variable.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 6 Mar 2016 20:25:11 +0000 (21:25 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Mon, 28 Mar 2016 15:56:27 +0000 (16:56 +0100)
commitb176ab0556914a734932e934a5e904dad091ad71
tree6279274be9cdba204bc1e82b188234f3c4b63082
parent1cbe4ff2acdd1f166ac7ac912c1b00da9fbf0dd1
aacenc_utils: Use temporary variable.

This ensures gcc does not create unnecessary
loads or stores and possibly even does not vectorize
the negation.
Speeds up mp3 to aac transcoding with default settings
by 10% when using "gcc (Debian 5.3.1-10) 5.3.1 20160224".

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
(cherry picked from commit b60dfae7af65c4c7d255ef599352f2c54964303d)
libavcodec/aacenc_utils.h