]> git.sesse.net Git - ffmpeg/commitdiff
xface: reduce table sizes.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 22 Nov 2014 22:27:38 +0000 (23:27 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 23 Nov 2014 05:51:18 +0000 (06:51 +0100)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavcodec/xface.h

index 6fbe908b67917f09c70152825412bf8bccccbe61..63df5d330831669c3504fc2065de71405793aeff 100644 (file)
@@ -85,8 +85,8 @@ enum XFaceColor { XFACE_COLOR_BLACK = 0, XFACE_COLOR_GREY, XFACE_COLOR_WHITE };
  * The probability of the data determines the range of possible encodings.
  * Offset gives the first possible encoding of the range. */
 typedef struct {
-    int range;
-    int offset;
+    uint8_t range;
+    uint8_t offset;
 } ProbRange;
 
 extern const ProbRange ff_xface_probranges_per_level[4][3];