diff options
Diffstat (limited to 'src/libxinevdec/cinepak.c')
-rw-r--r-- | src/libxinevdec/cinepak.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c index c345c31bf..aa9ab5000 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.21 2002/11/20 11:57:46 mroi Exp $ + * $Id: cinepak.c,v 1.22 2002/12/06 01:44:06 miguelfreitas Exp $ */ #include <stdlib.h> @@ -431,22 +431,6 @@ static void cvid_decode_data (video_decoder_t *this_gen, buf_element_t *buf) { sv += this->biWidth/2; } - if (img->copy) { - int height = img->height; - uint8_t *src[3]; - - src[0] = img->base[0]; - src[1] = img->base[1]; - src[2] = img->base[2]; - - while ((height -= 16) >= 0) { - img->copy(img, src); - src[0] += 16 * img->pitches[0]; - src[1] += 8 * img->pitches[1]; - src[2] += 8 * img->pitches[2]; - } - } - img->draw(img, this->stream); img->free(img); |