From 4833e92b545860b545e161ec9aa0b3c38c7a9475 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 22 Dec 2013 01:44:19 +0100 Subject: [PATCH] vda: attempt to fix build (2) Still no OSX here. --- video/decode/vda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/decode/vda.c b/video/decode/vda.c index 531107bec4..91d96f191c 100644 --- a/video/decode/vda.c +++ b/video/decode/vda.c @@ -79,7 +79,7 @@ static void print_vda_error(struct mp_log *log, int lev, char *message, for (int n = 0; vda_errors[n].code < 0; n++) if (vda_errors[n].code == error_code) { mp_msg(log, lev, "%s: %s (%d)\n", - message, vda_errors[n].reason, error_code); + message, vda_errors[n].reason, error_code); return; } @@ -135,7 +135,7 @@ static int init_vda_decoder(struct lavc_ctx *ctx) &p->vda_ctx, ctx->avctx->extradata, ctx->avctx->extradata_size); if (status) { - print_vda_error(ctx->log, "failed to init VDA decoder", status); + print_vda_error(ctx->log, MSGL_ERR, "failed to init VDA decoder", status); return -1; }