changeset 7052:80ead68858f3 libavcodec

Float11 does not need int, .o file becomes smaller and the code might be faster.
author michael
date Mon, 16 Jun 2008 23:34:15 +0000
parents 4f1331b0d428
children e3ee81021cf1
files g726.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/g726.c	Mon Jun 16 23:31:23 2008 +0000
+++ b/g726.c	Mon Jun 16 23:34:15 2008 +0000
@@ -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)