Commit c1aa70f3 authored by Laurent Aimar's avatar Laurent Aimar

* codecs.h: a few defines to avoid redefinitions.

parent b9c45950
...@@ -120,6 +120,8 @@ typedef struct { ...@@ -120,6 +120,8 @@ typedef struct {
} BITMAPINFO, *LPBITMAPINFO; } BITMAPINFO, *LPBITMAPINFO;
#endif #endif
#ifndef _RECT32_
#define _RECT32_
typedef struct typedef struct
#ifdef HAVE_ATTRIBUTE_PACKED #ifdef HAVE_ATTRIBUTE_PACKED
__attribute__((__packed__)) __attribute__((__packed__))
...@@ -127,9 +129,15 @@ typedef struct ...@@ -127,9 +129,15 @@ typedef struct
{ {
int left, top, right, bottom; int left, top, right, bottom;
} RECT32; } RECT32;
#endif
#ifndef _REFERENCE_TIME_
#define _REFERENCE_TIME_
typedef int64_t REFERENCE_TIME; typedef int64_t REFERENCE_TIME;
#endif
#ifndef _VIDEOINFOHEADER_
#define _VIDEOINFOHEADER_
typedef struct typedef struct
#ifdef HAVE_ATTRIBUTE_PACKED #ifdef HAVE_ATTRIBUTE_PACKED
__attribute__((__packed__)) __attribute__((__packed__))
...@@ -143,6 +151,7 @@ typedef struct ...@@ -143,6 +151,7 @@ typedef struct
BITMAPINFOHEADER bmiHeader; BITMAPINFOHEADER bmiHeader;
//int reserved[3]; //int reserved[3];
} VIDEOINFOHEADER; } VIDEOINFOHEADER;
#endif
/* WAVE format wFormatTag IDs */ /* WAVE format wFormatTag IDs */
#define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */ #define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment