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

Stefano Sabatini stefasab at gmail.com
Sun Nov 23 00:20:00 CET 2014


On date Saturday 2014-11-22 23:31:58 +0100, Reimar Döffinger encoded:
> 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;

LGTM.
-- 
FFmpeg = Fiendish & Fast Mere Philosofic Everlasting Gadget


More information about the ffmpeg-devel mailing list