diff options
author | wm4 <wm4@nowhere> | 2013-09-29 13:45:49 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-29 13:45:49 +0200 |
commit | 60e79262486705e275187580b35921b82dc1d309 (patch) | |
tree | 78df981fdd8d786901c25e9fe0d95c274dfb4689 /video/decode/vaapi.c | |
parent | 4e1d65983a94a85e6ba4e1248b321aaaf053391e (diff) | |
download | mpv-60e79262486705e275187580b35921b82dc1d309.tar.bz2 mpv-60e79262486705e275187580b35921b82dc1d309.tar.xz |
vaapi: fix non-sense condition
Attempting signed comparison on unsigned value.
Diffstat (limited to 'video/decode/vaapi.c')
-rw-r--r-- | video/decode/vaapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vaapi.c b/video/decode/vaapi.c index d7ee5b35dc..3fba49be12 100644 --- a/video/decode/vaapi.c +++ b/video/decode/vaapi.c @@ -283,7 +283,7 @@ static int create_decoder(struct lavc_ctx *ctx) if (!check_va_status(status, "vaQueryConfigEntrypoints()")) goto error; - VAEntrypoint entrypoint = find_entrypoint(p->format, ep, num_ep); + int entrypoint = find_entrypoint(p->format, ep, num_ep); if (entrypoint < 0) { mp_msg(MSGT_VO, MSGL_ERR, "[vaapi] Could not find VA entrypoint.\n"); goto error; |