From 93d4dd46bf9c77bf097f26d52d0e1dfa913258c9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 24 Feb 2012 15:25:22 +0100 Subject: mpcodecs: remove mp_image_t.x/y These were never used. --- libmpcodecs/vd.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 5a96e07783..e6ce3e8ff3 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -358,11 +358,7 @@ int mpcodecs_config_vo2(sh_video_t *sh, int w, int h, mp_image_t *mpcodecs_get_image(sh_video_t *sh, int mp_imgtype, int mp_imgflag, int w, int h) { - mp_image_t *mpi = - vf_get_image(sh->vfilter, sh->outfmt, mp_imgtype, mp_imgflag, w, h); - if (mpi) - mpi->x = mpi->y = 0; - return mpi; + return vf_get_image(sh->vfilter, sh->outfmt, mp_imgtype, mp_imgflag, w, h); } void mpcodecs_draw_slice(sh_video_t *sh, unsigned char **src, int *stride, -- cgit v1.2.3