vaapi: fix non-sense condition

Attempting signed comparison on unsigned value.
This commit is contained in:
wm4 2013-09-29 13:45:49 +02:00
parent 4e1d65983a
commit 60e7926248
1 changed files with 1 additions and 1 deletions

View File

@ -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;