From 0c5311f17cb9078f0ddde7c41cad61d00aea4a94 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Dec 2012 21:46:22 +0100 Subject: video: cleanup: replace old mp_image function names mp_image_alloc() also changes argument order compared to alloc_mpi(). The format now comes first, then width/height. --- video/out/vo_xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_xv.c') diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index 8bfe3e1777..d5225cd7cd 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -406,7 +406,7 @@ static void draw_image(struct vo *vo, mp_image_t *mpi) struct xvctx *ctx = vo->priv; struct mp_image xv_buffer = get_xv_buffer(vo, ctx->current_buf); - copy_mpi(&xv_buffer, mpi); + mp_image_copy(&xv_buffer, mpi); mp_draw_sub_backup_reset(ctx->osd_backup); } -- cgit v1.2.3