[vlc-commits] integer: fix typo (fix #9127)
Rémi Denis-Courmont
git at videolan.org
Tue Aug 6 21:32:33 CEST 2013
vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 6 22:31:47 2013 +0300| [aaae9bc6c700f1632786e21bc6ce1b59ef32e40e] | committer: Rémi Denis-Courmont
integer: fix typo (fix #9127)
(cherry picked from commit 21914e2fc6bd8600761a4cd36e39f15045d4e0b6)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=aaae9bc6c700f1632786e21bc6ce1b59ef32e40e
---
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