OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f059427
)
-0x8000 == 0x8000 with int16
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 13 Jun 2008 19:30:27 +0000
(19:30 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 13 Jun 2008 19:30:27 +0000
(19:30 +0000)
fixes segfault / issue491
Originally committed as revision 13767 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/g726.c
patch
|
blob
|
history
diff --git
a/libavcodec/g726.c
b/libavcodec/g726.c
index
1a0d40d
..
cb55a52
100644
(file)
--- a/
libavcodec/g726.c
+++ b/
libavcodec/g726.c
@@
-37,7
+37,7
@@
typedef struct Float11 {
int mant; /**< 6bit mantissa */
} Float11;
-static inline Float11* i2f(int
16_t
i, Float11* f)
+static inline Float11* i2f(int i, Float11* f)
{
f->sign = (i < 0);
if (f->sign)