summaryrefslogtreecommitdiff
path: root/src/libxinevdec/cyuv.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-06 01:44:06 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-06 01:44:06 +0000
commit4ae936639132b75872ee84444c59d1914cc2292d (patch)
tree48cbb7520514e8dbaae9d8496011e1f1129165cf /src/libxinevdec/cyuv.c
parent543eb5bd795bbec6814be1642be85f4bc3a13bac (diff)
downloadxine-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/cyuv.c')
-rw-r--r--src/libxinevdec/cyuv.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/libxinevdec/cyuv.c b/src/libxinevdec/cyuv.c
index f2d614aaa..a95679877 100644
--- a/src/libxinevdec/cyuv.c
+++ b/src/libxinevdec/cyuv.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: cyuv.c,v 1.12 2002/11/20 11:57:46 mroi Exp $
+ * $Id: cyuv.c,v 1.13 2002/12/06 01:44:06 miguelfreitas Exp $
*/
/* And this is the header that came with the CYUV decoder: */
@@ -192,18 +192,6 @@ static void cyuv_decode_data (video_decoder_t *this_gen,
cyuv_decode(this->buf, this->size, img->base[0],
this->width, this->height, 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];
- }
- }
-
this->skipframes = img->draw(img, this->stream);
if( this->skipframes < 0 )
this->skipframes = 0;