aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-14 22:34:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-14 22:34:25 +0000
commit0626afe9b25503e2c2079200ce8ded82427e4f72 (patch)
tree800eb86cb9ce88758f7b24a27e4a94beee7c3eb4 /libavcodec
parent152ba68cc9135a5fd2427dd3e212b83c45e320db (diff)
downloadffmpeg-0626afe9b25503e2c2079200ce8ded82427e4f72.tar.gz
0.1l
Originally committed as revision 1215 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/huffyuv.c6
1 files 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;