From cda65678b224164074a7b8bf478f708f65d79b01 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 3 Jun 2002 13:31:12 +0000 Subject: 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 --- src/xine-engine/buffer.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/buffer.h') 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 -- cgit v1.2.3