From 1957406c11532f8181c1f029714ffaee68635e82 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Mon, 3 Jun 2002 17:31:29 +0000 Subject: Fix msvc decoder (add img->copy for XShm driver) Update msvc and cinepak to new xine_bmiheader format CVS patchset: 2000 CVS date: 2002/06/03 17:31:29 --- src/libxinevdec/cinepak.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libxinevdec/cinepak.c') diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c index b8c55ac01..fedadeb70 100644 --- a/src/libxinevdec/cinepak.c +++ b/src/libxinevdec/cinepak.c @@ -22,7 +22,7 @@ * based on overview of Cinepak algorithm and example decoder * by Tim Ferguson: http://www.csse.monash.edu.au/~timf/ * - * $Id: cinepak.c,v 1.6 2002/06/03 13:31:12 miguelfreitas Exp $ + * $Id: cinepak.c,v 1.7 2002/06/03 17:31:29 esnel Exp $ */ #include @@ -312,8 +312,8 @@ static void cvid_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { xine_bmiheader *bih; bih = (xine_bmiheader *) buf->content; - this->biWidth = (le2me_32 (bih->biWidth) + 3) & ~0x03; - this->biHeight = (le2me_32 (bih->biHeight) + 3) & ~0x03; + this->biWidth = (bih->biWidth + 3) & ~0x03; + this->biHeight = (bih->biHeight + 3) & ~0x03; this->video_step = buf->decoder_info[1]; if (this->img_buffer) -- cgit v1.2.3