From 0626afe9b25503e2c2079200ce8ded82427e4f72 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 14 Nov 2002 22:34:25 +0000 Subject: [PATCH] 0.1l Originally committed as revision 1215 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/huffyuv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index fe1df1032e..9737926fa1 100644 --- a/libavcodec/huffyuv.c +++ b/libavcodec/huffyuv.c @@ -25,8 +25,8 @@ #include "avcodec.h" #include "dsputil.h" -#ifndef MAX_INT64 -#define MAX_INT64 9223372036854775807LL +#ifndef INT64_MAX +#define INT64_MAX 9223372036854775807LL #endif #define VLC_BITS 11 @@ -237,7 +237,7 @@ static void generate_len_table(uint8_t *dst, uint64_t *stats, int size){ counts[next]= min1 + min2; counts[min1_i]= - counts[min2_i]= MAX_INT64; + counts[min2_i]= INT64_MAX; up[min1_i]= up[min2_i]= next; up[next]= -1;