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/libdivx4/xine_decoder.c | |
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/libdivx4/xine_decoder.c')
-rw-r--r-- | src/libdivx4/xine_decoder.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/libdivx4/xine_decoder.c b/src/libdivx4/xine_decoder.c index 9ed719327..6d084584d 100644 --- a/src/libdivx4/xine_decoder.c +++ b/src/libdivx4/xine_decoder.c @@ -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: xine_decoder.c,v 1.34 2002/05/25 19:19:18 siggi Exp $ + * $Id: xine_decoder.c,v 1.35 2002/06/03 13:31:12 miguelfreitas Exp $ * * xine decoder plugin using divx4 * @@ -79,21 +79,6 @@ void catch_sigsegv(int sig) } #endif -/* now this is ripped of wine's vfw.h */ -typedef struct { - long biSize; - long biWidth; - long biHeight; - short biPlanes; - short biBitCount; - long biCompression; - long biSizeImage; - long biXPelsPerMeter; - long biYPelsPerMeter; - long biClrUsed; - long biClrImportant; -} BITMAPINFOHEADER; - typedef struct divx4_decoder_s { video_decoder_t video_decoder; @@ -101,7 +86,7 @@ typedef struct divx4_decoder_s { int video_step; int decoder_ok; - BITMAPINFOHEADER bih; + xine_bmiheader bih; long biWidth; long biHeight; unsigned char *buf; @@ -246,7 +231,7 @@ static int divx4_init_decoder(divx4_decoder_t *this, buf_element_t *buf) { printf ("divx4: init_decoder\n"); #endif - memcpy ( &this->bih, buf->content, sizeof (BITMAPINFOHEADER)); + memcpy ( &this->bih, buf->content, sizeof (xine_bmiheader)); this->biWidth = str2ulong(&this->bih.biWidth); this->biHeight = str2ulong(&this->bih.biHeight); this->video_step = buf->decoder_info[1]; |