[FFmpeg-devel] [PATCH 1/2] xface: reduce table sizes.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Nov 22 23:31:58 CET 2014


Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 libavcodec/xface.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/xface.h b/libavcodec/xface.h
index 6fbe908..63df5d3 100644
--- a/libavcodec/xface.h
+++ b/libavcodec/xface.h
@@ -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];
-- 
2.1.3



More information about the ffmpeg-devel mailing list