mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
-0x8000 == 0x8000 with int16
fixes segfault / issue491 Originally committed as revision 13767 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f059427cf0
commit
5171fd9dd5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user