# HG changeset patch # User alex # Date 1075029236 0 # Node ID d49aae2f9027acc216d3f413cb0c1715c5576577 # Parent 3906ddbaffec8b1d33c584c7eaf21e8ac501b614 freebsd fix for mpeg12.c (moving INT64_MAX to common.h) diff -r 3906ddbaffec -r d49aae2f9027 common.h --- a/common.h Sat Jan 24 23:47:33 2004 +0000 +++ b/common.h Sun Jan 25 11:13:56 2004 +0000 @@ -18,6 +18,14 @@ //#define A32_BITSTREAM_READER #define LIBMPEG2_BITSTREAM_READER_HACK //add BERO +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + +#ifndef INT64_MAX +#define INT64_MAX 9223372036854775807LL +#endif + #ifdef HAVE_AV_CONFIG_H /* only include the following when compiling package */ # include "config.h" @@ -37,10 +45,6 @@ # define ENODATA 61 # endif -#ifndef M_PI -#define M_PI 3.14159265358979323846 -#endif - #include #ifndef offsetof # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) diff -r 3906ddbaffec -r d49aae2f9027 huffyuv.c --- a/huffyuv.c Sat Jan 24 23:47:33 2004 +0000 +++ b/huffyuv.c Sun Jan 25 11:13:56 2004 +0000 @@ -30,10 +30,6 @@ #include "avcodec.h" #include "dsputil.h" -#ifndef INT64_MAX -#define INT64_MAX 9223372036854775807LL -#endif - #define VLC_BITS 11 typedef enum Predictor{