From ef395a2f08e0f96d8ae5f819927b17aa88000ecb Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 3 Jan 2010 17:12:12 +0000 Subject: Replace deprecated sws_scale_ordered usages by sws_scale (which does the same). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30192 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_screenshot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpcodecs/vf_screenshot.c') diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c index 2200b6a9d8..38cfa2e85f 100644 --- a/libmpcodecs/vf_screenshot.c +++ b/libmpcodecs/vf_screenshot.c @@ -116,7 +116,7 @@ static void scale_image(struct vf_priv_s* priv, mp_image_t *mpi) priv->buffer = memalign(16, dst_stride[0]*priv->dh); dst[0] = priv->buffer; - sws_scale_ordered(priv->ctx, mpi->planes, mpi->stride, 0, priv->dh, dst, dst_stride); + sws_scale(priv->ctx, mpi->planes, mpi->stride, 0, priv->dh, dst, dst_stride); } static void start_slice(struct vf_instance_s* vf, mp_image_t *mpi) @@ -139,7 +139,7 @@ static void draw_slice(struct vf_instance_s* vf, unsigned char** src, int dst_stride[MP_MAX_PLANES] = {0}; dst_stride[0] = vf->priv->stride; dst[0] = vf->priv->buffer; - sws_scale_ordered(vf->priv->ctx, src, stride, y, h, dst, dst_stride); + sws_scale(vf->priv->ctx, src, stride, y, h, dst, dst_stride); } vf_next_draw_slice(vf,src,stride,w,h,x,y); } -- cgit v1.2.3