mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
freebsd fix for mpeg12.c (moving INT64_MAX to common.h)
Originally committed as revision 2722 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
65a24d0b39
commit
e0c53ac889
@ -18,6 +18,14 @@
|
|||||||
//#define A32_BITSTREAM_READER
|
//#define A32_BITSTREAM_READER
|
||||||
#define LIBMPEG2_BITSTREAM_READER_HACK //add BERO
|
#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
|
#ifdef HAVE_AV_CONFIG_H
|
||||||
/* only include the following when compiling package */
|
/* only include the following when compiling package */
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
@ -37,10 +45,6 @@
|
|||||||
# define ENODATA 61
|
# define ENODATA 61
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#ifndef M_PI
|
|
||||||
#define M_PI 3.14159265358979323846
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#ifndef offsetof
|
#ifndef offsetof
|
||||||
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))
|
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))
|
||||||
|
@ -30,10 +30,6 @@
|
|||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "dsputil.h"
|
#include "dsputil.h"
|
||||||
|
|
||||||
#ifndef INT64_MAX
|
|
||||||
#define INT64_MAX 9223372036854775807LL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define VLC_BITS 11
|
#define VLC_BITS 11
|
||||||
|
|
||||||
typedef enum Predictor{
|
typedef enum Predictor{
|
||||||
|
Loading…
Reference in New Issue
Block a user