changeset 29830:9fcc27d1fe1f

100: Fix function parameters when calling create_vdp_decoder() from query_format().
author cehoyos
date Tue, 10 Nov 2009 10:40:34 +0000
parents 762cbcb0e47f
children 8f20788b3610
files libvo/vo_vdpau.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Tue Nov 10 10:05:10 2009 +0000
+++ b/libvo/vo_vdpau.c	Tue Nov 10 10:40:34 2009 +0000
@@ -1112,7 +1112,7 @@
     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;