diff options
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/vdpau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index ae8f6be531..80ce21ffa3 100644 --- a/video/decode/vdpau.c +++ b/video/decode/vdpau.c @@ -146,7 +146,7 @@ static struct mp_image *allocate_image(struct lavc_ctx *ctx, int fmt, VdpChromaType chroma; mp_vdpau_get_format(IMGFMT_VDPAU, &chroma, NULL); - return mp_vdpau_get_video_surface(p->mpvdp, IMGFMT_VDPAU, chroma, w, h); + return mp_vdpau_get_video_surface(p->mpvdp, chroma, w, h); } static void uninit(struct lavc_ctx *ctx) |