diff options
Diffstat (limited to 'video/decode/vdpau.c')
-rw-r--r-- | video/decode/vdpau.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index dfa5164ae9..9a3e7e27cf 100644 --- a/video/decode/vdpau.c +++ b/video/decode/vdpau.c @@ -30,7 +30,7 @@ struct priv { uint64_t preemption_counter; }; -static int init_decoder(struct lavc_ctx *ctx, int fmt, int w, int h) +static int init_decoder(struct lavc_ctx *ctx, int w, int h) { struct priv *p = ctx->hwdec_priv; @@ -44,8 +44,7 @@ static int init_decoder(struct lavc_ctx *ctx, int fmt, int w, int h) AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH); } -static struct mp_image *allocate_image(struct lavc_ctx *ctx, int fmt, - int w, int h) +static struct mp_image *allocate_image(struct lavc_ctx *ctx, int w, int h) { struct priv *p = ctx->hwdec_priv; |