diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-06 01:44:06 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-12-06 01:44:06 +0000 |
commit | 4ae936639132b75872ee84444c59d1914cc2292d (patch) | |
tree | 48cbb7520514e8dbaae9d8496011e1f1129165cf /src/libxinevdec/roqvideo.c | |
parent | 543eb5bd795bbec6814be1642be85f4bc3a13bac (diff) | |
download | xine-lib-4ae936639132b75872ee84444c59d1914cc2292d.tar.gz xine-lib-4ae936639132b75872ee84444c59d1914cc2292d.tar.bz2 |
remove img->copy from all decoders
CVS patchset: 3436
CVS date: 2002/12/06 01:44:06
Diffstat (limited to 'src/libxinevdec/roqvideo.c')
-rw-r--r-- | src/libxinevdec/roqvideo.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/libxinevdec/roqvideo.c b/src/libxinevdec/roqvideo.c index dc4179cf8..1285b46c0 100644 --- a/src/libxinevdec/roqvideo.c +++ b/src/libxinevdec/roqvideo.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: roqvideo.c,v 1.15 2002/11/20 11:57:47 mroi Exp $ + * $Id: roqvideo.c,v 1.16 2002/12/06 01:44:06 miguelfreitas Exp $ */ /* And this is the header that came with the RoQ video decoder: */ @@ -473,22 +473,6 @@ static void roqvideo_decode_data (video_decoder_t *this_gen, xine_fast_memcpy(img->base[1], this->cur_u, this->c_size); xine_fast_memcpy(img->base[2], this->cur_v, this->c_size); - 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]; - } - } - this->skipframes = img->draw(img, this->stream); if( this->skipframes < 0 ) this->skipframes = 0; |