summaryrefslogtreecommitdiff
path: root/src/libxinevdec/yuv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxinevdec/yuv.c')
-rw-r--r--src/libxinevdec/yuv.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/libxinevdec/yuv.c b/src/libxinevdec/yuv.c
index fcaf7ec09..1c3e85fbb 100644
--- a/src/libxinevdec/yuv.c
+++ b/src/libxinevdec/yuv.c
@@ -21,7 +21,7 @@
* Actually, this decoder just reorganizes chunks of raw YUV data in such
* a way that xine can display them.
*
- * $Id: yuv.c,v 1.14 2002/12/04 05:33:40 tmmm Exp $
+ * $Id: yuv.c,v 1.15 2002/12/06 01:44:06 miguelfreitas Exp $
*/
#include <stdio.h>
@@ -201,22 +201,6 @@ static void yuv_decode_data (video_decoder_t *this_gen,
img->pts = buf->pts;
img->bad_frame = 0;
- 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);