changeset 1758:d49aae2f9027 libavcodec

freebsd fix for mpeg12.c (moving INT64_MAX to common.h)
author alex
date Sun, 25 Jan 2004 11:13:56 +0000
parents 3906ddbaffec
children e73a3b86565f
files common.h huffyuv.c
diffstat 2 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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 <stddef.h>
 #ifndef offsetof
 # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))
--- 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{