diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-08-30 17:14:23 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-08-30 17:14:23 +0000 |
commit | ce43ee78dabd0d05e4912551b3fe97e13dee15fe (patch) | |
tree | eb75ecd01d71264fd0fb500cec797e3a62875c1c | |
parent | fc09cc5f4efab0bcd69b562278aa5f1b70a6f3eb (diff) | |
download | xine-lib-ce43ee78dabd0d05e4912551b3fe97e13dee15fe.tar.gz xine-lib-ce43ee78dabd0d05e4912551b3fe97e13dee15fe.tar.bz2 |
cosmetic change (use mmioFOURCC macro instead of hex constant)
CVS patchset: 523
CVS date: 2001/08/30 17:14:23
-rw-r--r-- | src/libw32dll/w32codec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c index 1b062de41..faac42cf9 100644 --- a/src/libw32dll/w32codec.c +++ b/src/libw32dll/w32codec.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: w32codec.c,v 1.17 2001/08/28 19:16:20 guenter Exp $ + * $Id: w32codec.c,v 1.18 2001/08/30 17:14:23 jkeil Exp $ * * routines for using w32 codecs * @@ -217,7 +217,7 @@ static void w32v_init_codec (w32v_decoder_t *this) { this->o_bih.biSize = sizeof(BITMAPINFOHEADER); win32_codec_name = get_vids_codec_name (this, this->bih.biCompression, &this->bih); - this->hic = ICOpen( 0x63646976, this->bih.biCompression, ICMODE_FASTDECOMPRESS); + this->hic = ICOpen( mmioFOURCC('v','i','d','c'), this->bih.biCompression, ICMODE_FASTDECOMPRESS); if(!this->hic){ printf ("ICOpen failed! unknown codec / wrong parameters?\n"); @@ -336,8 +336,6 @@ static void w32v_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { img->bFrameBad = 0; if (img->copy) { - /* note: dest stuff works with video_out_xshm & YV12 */ - int height = abs(this->o_bih.biHeight); int stride = this->o_bih.biWidth; uint8_t* src[3]; |