diff options
author | wm4 <wm4@nowhere> | 2015-03-20 00:12:03 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-20 00:12:03 +0100 |
commit | 145922a0700b50ffb38f20957c28020562f8d428 (patch) | |
tree | 1592b42290ae429011184f579aaaebad9f9fa94a /video/filter/vf_stereo3d.c | |
parent | 713a8c1a89f463b395990157774998994427357a (diff) | |
download | mpv-145922a0700b50ffb38f20957c28020562f8d428.tar.bz2 mpv-145922a0700b50ffb38f20957c28020562f8d428.tar.xz |
video: replace pointless macro
Some old absurdity.
Diffstat (limited to 'video/filter/vf_stereo3d.c')
-rw-r--r-- | video/filter/vf_stereo3d.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/video/filter/vf_stereo3d.c b/video/filter/vf_stereo3d.c index 886483cfe5..e370f07c24 100644 --- a/video/filter/vf_stereo3d.c +++ b/video/filter/vf_stereo3d.c @@ -322,20 +322,18 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi) case ABOVE_BELOW_2_RL: case INTERLEAVE_ROWS_LR: case INTERLEAVE_ROWS_RL: - memcpy_pic2(dmpi->planes[0] + out_off_left, + memcpy_pic(dmpi->planes[0] + out_off_left, mpi->planes[0] + in_off_left, 3 * vf->priv->width, vf->priv->height, dmpi->stride[0] * vf->priv->row_step, - mpi->stride[0] * vf->priv->row_step, - vf->priv->row_step != 1); - memcpy_pic2(dmpi->planes[0] + out_off_right, + mpi->stride[0] * vf->priv->row_step); + memcpy_pic(dmpi->planes[0] + out_off_right, mpi->planes[0] + in_off_right, 3 * vf->priv->width, vf->priv->height, dmpi->stride[0] * vf->priv->row_step, - mpi->stride[0] * vf->priv->row_step, - vf->priv->row_step != 1); + mpi->stride[0] * vf->priv->row_step); break; case MONO_L: case MONO_R: |