summaryrefslogtreecommitdiff
path: root/src/libw32dll/w32codec.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/libw32dll/w32codec.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/libw32dll/w32codec.c')
-rw-r--r--src/libw32dll/w32codec.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index 9e3babe8a..7e6e772af 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.c
@@ -17,7 +17,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: w32codec.c,v 1.104 2002/12/01 17:05:34 tmmm Exp $
+ * $Id: w32codec.c,v 1.105 2002/12/06 01:44:07 miguelfreitas Exp $
*
* routines for using w32 codecs
* DirectShow support by Miguel Freitas (Nov/2001)
@@ -825,18 +825,6 @@ static void w32v_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
#endif
}
- if (img->copy && !this->skipframes) {
- int height = abs(this->o_bih.biHeight);
- 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);
#ifdef LOG