vidc: Fix incorrect return value check
Without this change, if the max number of clients is exceeded
then vdec_clients array accesses memory out of bounds causing a crash.
Change-Id: Ia7003fbb42d92a08d4a829803b764eb8da7c8fc6
Signed-off-by:
Arun Menon <menon@codeaurora.org>
Loading
Please sign in to comment