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/libffmpeg/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/libffmpeg/xine_decoder.c')
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 08e60f9ed..d2aef4949 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/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.37 2002/05/25 19:19:18 siggi Exp $ + * $Id: xine_decoder.c,v 1.38 2002/06/03 13:31:12 miguelfreitas Exp $ * * xine decoder plugin using ffmpeg * @@ -46,20 +46,6 @@ #define LOG */ -/* 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; #ifndef mmioFOURCC #define mmioFOURCC( ch0, ch1, ch2, ch3 ) \ ( (long)(unsigned char)(ch0) | ( (long)(unsigned char)(ch1) << 8 ) | \ @@ -73,7 +59,7 @@ typedef struct ff_decoder_s { int video_step; int decoder_ok; - BITMAPINFOHEADER bih; + xine_bmiheader bih; long biWidth; long biHeight; unsigned char *buf; @@ -151,7 +137,7 @@ static void ff_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { /* init package containing bih */ - 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]; |