Commit 17c876f2 authored by Deepak Kotur's avatar Deepak Kotur
Browse files

vidc: Flush the cached buffer only if the buffer is valid.



Before flushing the cached buffer check for the following
- When buffer allocation fails, do not flush the buffer
  report error and return.
- Check if the buffer handle is valid, before flushing the
  buffer.

CRs-Fixed: 358873
Change-Id: I58b869d2d2eb72f991649d62a5186c7b0f5adcf4
Signed-off-by: default avatarDeepak Kotur <dkotur@codeaurora.org>
parent abe3c9c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment