[FFmpeg-cvslog] r13767 - trunk/libavcodec/g726.c
michael
subversion
Fri Jun 13 21:30:28 CEST 2008
Author: michael
Date: Fri Jun 13 21:30:27 2008
New Revision: 13767
Log:
-0x8000 == 0x8000 with int16
fixes segfault / issue491
Modified:
trunk/libavcodec/g726.c
Modified: trunk/libavcodec/g726.c
==============================================================================
--- trunk/libavcodec/g726.c (original)
+++ trunk/libavcodec/g726.c Fri Jun 13 21:30:27 2008
@@ -37,7 +37,7 @@ typedef struct Float11 {
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)
More information about the ffmpeg-cvslog
mailing list