diff options
author | wm4 <wm4@nowhere> | 2013-12-22 01:44:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-22 01:44:19 +0100 |
commit | 4833e92b545860b545e161ec9aa0b3c38c7a9475 (patch) | |
tree | 1f94c2f363b8dc9d9c8605a36f68f7bf3e8bb827 | |
parent | cb36f9fddb2c620b0efdd045748ba30e5887b08b (diff) | |
download | mpv-4833e92b545860b545e161ec9aa0b3c38c7a9475.tar.bz2 mpv-4833e92b545860b545e161ec9aa0b3c38c7a9475.tar.xz |
vda: attempt to fix build (2)
Still no OSX here.
-rw-r--r-- | video/decode/vda.c | 4 |
1 files 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; } |