Commit 43a5e45a authored by hpi1's avatar hpi1

Fixed _queue_event() return value

parent 8c66936b
......@@ -183,13 +183,13 @@ static int _queue_event(BLURAY *bd, BD_EVENT ev)
if (new_in != eq->out) {
eq->ev[eq->in] = ev;
eq->in = new_in;
return 0;
return 1;
}
DEBUG(DBG_BLURAY|DBG_CRIT, "_queue_event(%d, %d): queue overflow !\n", ev.event, ev.param);
}
return -1;
return 0;
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment