[FFmpeg-cvslog] r13789 - trunk/libavcodec/g726.c
michael
subversion
Tue Jun 17 01:34:16 CEST 2008
Author: michael
Date: Tue Jun 17 01:34:15 2008
New Revision: 13789
Log:
Float11 doesnt need int, .o file becomes smaller and the code might
be faster.
Modified:
trunk/libavcodec/g726.c
Modified: trunk/libavcodec/g726.c
==============================================================================
--- trunk/libavcodec/g726.c (original)
+++ trunk/libavcodec/g726.c Tue Jun 17 01:34:15 2008
@@ -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)
More information about the ffmpeg-cvslog
mailing list