diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-06-16 23:34:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-06-16 23:34:15 +0000 |
commit | deec52ccf24d6c9f68e2fc546afab7606dde05da (patch) | |
tree | 91d9484d94c3aa9aa54562354921240b4e390565 /libavcodec/g726.c | |
parent | 7d7a9e7f37eaf30b45af7afc5ea7a0de05a5b3d7 (diff) | |
download | ffmpeg-deec52ccf24d6c9f68e2fc546afab7606dde05da.tar.gz |
Float11 does not need int, .o file becomes smaller and the code might
be faster.
Originally committed as revision 13789 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r-- | libavcodec/g726.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 6086e389aa..523ee979bf 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -32,9 +32,9 @@ * instead of simply using 32bit integer arithmetic. */ typedef struct Float11 { - int sign; /**< 1bit sign */ - int exp; /**< 4bit exponent */ - int mant; /**< 6bit mantissa */ + uint8_t sign; /**< 1bit sign */ + uint8_t exp; /**< 4bit exponent */ + uint8_t mant; /**< 6bit mantissa */ } Float11; static inline Float11* i2f(int i, Float11* f) |