replaygain: fix gain sign decoding
authorAlessandro Ghedini <alessandro@ghedini.me>
Fri, 4 Apr 2014 09:50:43 +0000 (11:50 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 4 Apr 2014 15:04:37 +0000 (17:04 +0200)
commit25b6837f7cacd691b19cbc12b9dad1ce84a318a1
treea3936158fa157db433249b4e8467d7b96925e51d
parentf37815b1d5ee85d266ad27214a71831707111aa8
replaygain: fix gain sign decoding

The gain sign was incorrectly decoded: since the FFSIGN() macro treats 0 as
negative, gain values starting with "0." were always decoded as negative.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/replaygain.c