From 4ae936639132b75872ee84444c59d1914cc2292d Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 6 Dec 2002 01:44:06 +0000 Subject: remove img->copy from all decoders CVS patchset: 3436 CVS date: 2002/12/06 01:44:06 --- src/libxinevdec/wc3video.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/libxinevdec/wc3video.c') diff --git a/src/libxinevdec/wc3video.c b/src/libxinevdec/wc3video.c index bed53b93d..4de621f25 100644 --- a/src/libxinevdec/wc3video.c +++ b/src/libxinevdec/wc3video.c @@ -22,7 +22,7 @@ * For more information on the WC3 Movie format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: wc3video.c,v 1.10 2002/11/20 11:57:48 mroi Exp $ + * $Id: wc3video.c,v 1.11 2002/12/06 01:44:06 miguelfreitas Exp $ */ #include @@ -426,18 +426,6 @@ static void wc3video_decode_data (video_decoder_t *this_gen, wc3_decode_frame (this); yuv444_to_yuy2(this->current_frame, img->base[0], img->pitches[0]); - if (img->copy) { - int height = img->height; - uint8_t *src[3]; - - src[0] = img->base[0]; - - while ((height -= 16) >= 0) { - img->copy(img, src); - src[0] += 16 * img->pitches[0]; - } - } - img->draw(img, this->stream); img->free(img); -- cgit v1.2.3