int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 2725 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent 11a8a71d4e
commit 9ff5f17543
  1. 8
      libavcodec/common.h

@ -22,10 +22,6 @@
#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"
@ -105,6 +101,10 @@ extern const struct AVOption avoptions_workaround_bug[11];
# endif /* other OS */
#endif /* HAVE_INTTYPES_H */
#ifndef INT64_MAX
#define INT64_MAX 9223372036854775807LL
#endif
#ifdef EMULATE_FAST_INT
/* note that we don't emulate 64bit ints */
typedef signed char int_fast8_t;

Loading…
Cancel
Save