From: Miguel F. <mig...@us...> - 2001-11-16 20:21:14
|
Update of /cvsroot/xine/xine-lib/src/libw32dll In directory usw-pr-cvs1:/tmp/cvs-serv26289/src/libw32dll Modified Files: libwin32.h w32codec.c Log Message: latest directshow updating. including a hack to make WMV8 work! Index: libwin32.h =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libw32dll/libwin32.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- libwin32.h 2001/11/15 14:28:18 1.3 +++ libwin32.h 2001/11/16 20:21:09 1.4 @@ -101,6 +101,21 @@ START, }; +typedef struct _BitmapInfo +{ + long biSize; + long biWidth; + long biHeight; + short biPlanes; + short biBitCount; + long biCompression; + long biSizeImage; + long biXPelsPerMeter; + long biYPelsPerMeter; + long biClrUsed; + long biClrImportant; + int colors[3]; +} BitmapInfo; typedef struct _IVideoDecoder { @@ -132,9 +147,8 @@ int m_bCapable16b; BITMAPINFOHEADER* m_bh; // format of input data (might be larger - e.g. huffyuv) - BITMAPINFOHEADER m_decoder; // format of decoder output - BITMAPINFOHEADER m_obh; // format of returned frames - int colors[3]; + BitmapInfo m_decoder; // format of decoder output + BitmapInfo m_obh; // format of returned frames }IVideoDecoder; /* Index: w32codec.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/libw32dll/w32codec.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- w32codec.c 2001/11/16 17:55:20 1.44 +++ w32codec.c 2001/11/16 20:21:09 1.45 @@ -85,7 +85,7 @@ int decoder_ok; BITMAPINFOHEADER bih, o_bih; - char scratch1[10]; /* some codecs overflow o_bih */ + char scratch1[16]; /* some codecs overflow o_bih */ HIC hic; int yuv_supported ; int yuv_hack_needed ; |