diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2002-06-03 17:31:29 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2002-06-03 17:31:29 +0000 |
commit | 1957406c11532f8181c1f029714ffaee68635e82 (patch) | |
tree | 5524dc09b90c14673360317a44ec3a43284c49a1 /src/libxinevdec/cinepak.c | |
parent | 243192ad422158528aef4105278e7046517cf9d7 (diff) | |
download | xine-lib-1957406c11532f8181c1f029714ffaee68635e82.tar.gz xine-lib-1957406c11532f8181c1f029714ffaee68635e82.tar.bz2 |
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
Diffstat (limited to 'src/libxinevdec/cinepak.c')
-rw-r--r-- | src/libxinevdec/cinepak.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <stdlib.h> @@ -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) |