1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

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

This commit is contained in:
Laurent Aimar 2004-08-08 01:36:56 +00:00
parent b9c45950f8
commit c1aa70f30b

View File

@ -120,6 +120,8 @@ typedef struct {
} BITMAPINFO, *LPBITMAPINFO;
#endif
#ifndef _RECT32_
#define _RECT32_
typedef struct
#ifdef HAVE_ATTRIBUTE_PACKED
__attribute__((__packed__))
@ -127,9 +129,15 @@ typedef struct
{
int left, top, right, bottom;
} RECT32;
#endif
#ifndef _REFERENCE_TIME_
#define _REFERENCE_TIME_
typedef int64_t REFERENCE_TIME;
#endif
#ifndef _VIDEOINFOHEADER_
#define _VIDEOINFOHEADER_
typedef struct
#ifdef HAVE_ATTRIBUTE_PACKED
__attribute__((__packed__))
@ -143,6 +151,7 @@ typedef struct
BITMAPINFOHEADER bmiHeader;
//int reserved[3];
} VIDEOINFOHEADER;
#endif
/* WAVE format wFormatTag IDs */
#define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */