summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpcodecs/vd_vfw.c3
-rw-r--r--libmpcodecs/vd_vfwex.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/libmpcodecs/vd_vfw.c b/libmpcodecs/vd_vfw.c
index ea049a3456..d1da15e7cc 100644
--- a/libmpcodecs/vd_vfw.c
+++ b/libmpcodecs/vd_vfw.c
@@ -255,9 +255,6 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
return NULL;
}
- // set buffer:
- sh->our_out_buffer=mpi->planes[0];
-
// set stride: (trick discovered by Andreas Ackermann - thanx!)
sh->bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);
priv->o_bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);
diff --git a/libmpcodecs/vd_vfwex.c b/libmpcodecs/vd_vfwex.c
index 5f361fbee9..47f446dd11 100644
--- a/libmpcodecs/vd_vfwex.c
+++ b/libmpcodecs/vd_vfwex.c
@@ -255,9 +255,6 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
return NULL;
}
- // set buffer:
- sh->our_out_buffer=mpi->planes[0];
-
// set stride: (trick discovered by Andreas Ackermann - thanx!)
sh->bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);
priv->o_bih->biWidth=mpi->width; //mpi->stride[0]/(mpi->bpp/8);