From 78290719a61eed47dda8c7524de93e436c7f5fd5 Mon Sep 17 00:00:00 2001 From: cehoyos Date: Tue, 10 Nov 2009 10:40:34 +0000 Subject: [PATCH] 100: Fix function parameters when calling create_vdp_decoder() from query_format(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29872 b3059339-0415-0410-9bf9-f77b7e298cf2 --- 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 c11f4fa4b1..8a364763c4 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -1112,7 +1112,7 @@ static int query_format(uint32_t format) case IMGFMT_VDPAU_H264: case IMGFMT_VDPAU_WMV3: case IMGFMT_VDPAU_VC1: - if (create_vdp_decoder(image_format, vid_width, vid_height, 2)) + if (create_vdp_decoder(format, 48, 48, 2)) return default_flags; } return 0;