summaryrefslogtreecommitdiffstats
path: root/video/decode/videotoolbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/videotoolbox.c')
-rw-r--r--video/decode/videotoolbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/videotoolbox.c b/video/decode/videotoolbox.c
index c4f7c05f05..470f6b6cf3 100644
--- a/video/decode/videotoolbox.c
+++ b/video/decode/videotoolbox.c
@@ -83,7 +83,7 @@ static void print_videotoolbox_error(struct mp_log *log, int lev, char *message,
mp_msg(log, lev, "%s: %d\n", message, error_code);
}
-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)
{
av_videotoolbox_default_free(ctx->avctx);