From 387326e54b7dbc4d1eac96c5e114b9ff6f33f608 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 13 Dec 2010 18:50:22 +0200 Subject: vo_vdpau: remove wrong mp_image usage_count change (no visible effect) The wrong variable was used as a function argument, and as a result the code modified the usage_count field of non-refcounted mp_image types. This error did not have any effect on visible behavior as no code cares about the field value in the affected case. --- libvo/vo_vdpau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 2793e99c31..482a401239 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -1491,7 +1491,7 @@ static void draw_image(struct vo *vo, mp_image_t *mpi, double pts) else vc->top_field_first = 1; - add_new_video_surface(vo, rndr->surface, mpi, pts); + add_new_video_surface(vo, rndr->surface, reserved_mpi, pts); return; } -- cgit v1.2.3