changeset 7042:74c1f1881d1a libavcodec

-0x8000 == 0x8000 with int16 fixes segfault / issue491
author michael
date Fri, 13 Jun 2008 19:30:27 +0000
parents ade9051a6a4c
children e1ed057dc7c3
files g726.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/g726.c	Fri Jun 13 09:30:42 2008 +0000
+++ b/g726.c	Fri Jun 13 19:30:27 2008 +0000
@@ -37,7 +37,7 @@
     int mant;   /**< 6bit mantissa */
 } Float11;
 
-static inline Float11* i2f(int16_t i, Float11* f)
+static inline Float11* i2f(int i, Float11* f)
 {
     f->sign = (i < 0);
     if (f->sign)