]> git.sesse.net Git - ffmpeg/commitdiff
Float11 does not need int, .o file becomes smaller and the code might
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 16 Jun 2008 23:34:15 +0000 (23:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 16 Jun 2008 23:34:15 +0000 (23:34 +0000)
be faster.

Originally committed as revision 13789 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/g726.c

index 6086e389aaaa2433c5aa9b7a0e41c455fcce7769..523ee979bf435a9b4504242f26e52e39316f1340 100644 (file)
@@ -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)