[FFmpeg-cvslog] xface: reduce table sizes.

Reimar Döffinger git at videolan.org
Sun Nov 23 06:53:32 CET 2014


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Nov 22 23:27:38 2014 +0100| [dfc6f56c5a6a4b0470407ab44bf8cf91b1c9b012] | committer: Reimar Döffinger

xface: reduce table sizes.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dfc6f56c5a6a4b0470407ab44bf8cf91b1c9b012
---

 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];



More information about the ffmpeg-cvslog mailing list