diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-03 13:31:12 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-03 13:31:12 +0000 |
commit | cda65678b224164074a7b8bf478f708f65d79b01 (patch) | |
tree | f675b1cb69ec7ea3301d9cba2232d4bbf9545d0b /src/xine-engine/buffer.h | |
parent | 16dc3c94e7ac4b83c9989e7cf4db39f46c221de3 (diff) | |
download | xine-lib-cda65678b224164074a7b8bf478f708f65d79b01.tar.gz xine-lib-cda65678b224164074a7b8bf478f708f65d79b01.tar.bz2 |
BITMAPINFOHEADER -> xine_bmiheader (now compatible with 64bit systems)
remove some dependencies on wine headers
CVS patchset: 1995
CVS date: 2002/06/03 13:31:12
Diffstat (limited to 'src/xine-engine/buffer.h')
-rw-r--r-- | src/xine-engine/buffer.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/xine-engine/buffer.h b/src/xine-engine/buffer.h index 0e1921ace..e893a41ff 100644 --- a/src/xine-engine/buffer.h +++ b/src/xine-engine/buffer.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: buffer.h,v 1.45 2002/06/02 16:32:46 tmmm Exp $ + * $Id: buffer.h,v 1.46 2002/06/03 13:31:12 miguelfreitas Exp $ * * * contents: @@ -258,6 +258,23 @@ uint32_t formattag_to_buf_audio( uint32_t formattag ); /* return codec name given BUF_VIDEO_xxx */ char * buf_audio_name( uint32_t buf_type ); + +/* this version of BITMAPINFOHEADER should be safe to compile on 64bits machines */ +typedef struct { + int32_t biSize; + int32_t biWidth; + int32_t biHeight; + int16_t biPlanes; + int16_t biBitCount; + int32_t biCompression; + int32_t biSizeImage; + int32_t biXPelsPerMeter; + int32_t biYPelsPerMeter; + int32_t biClrUsed; + int32_t biClrImportant; +} xine_bmiheader; + + #ifdef __cplusplus } #endif |