[vlc-commits] integer: fix typo (fix #9127)

Rémi Denis-Courmont git at videolan.org
Tue Aug 6 21:32:15 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug  6 22:31:47 2013 +0300| [21914e2fc6bd8600761a4cd36e39f15045d4e0b6] | committer: Rémi Denis-Courmont

integer: fix typo (fix #9127)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=21914e2fc6bd8600761a4cd36e39f15045d4e0b6
---

 modules/audio_mixer/integer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_mixer/integer.c b/modules/audio_mixer/integer.c
index 0b0a799..5f6d86a 100644
--- a/modules/audio_mixer/integer.c
+++ b/modules/audio_mixer/integer.c
@@ -77,7 +77,7 @@ static void FilterS16N (audio_volume_t *vol, block_t *block, float volume)
         if (s >= (INT16_MAX << 8))
             *p = INT16_MAX;
         else
-        if (s < (INT_MIN << 8))
+        if (s < (INT16_MIN << 8))
             *p = INT16_MIN;
         else
             *p = s >> 8;



More information about the vlc-commits mailing list