aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Rassieur <rassb@google.com>2018-12-04 16:59:27 +0000
committerBill Rassieur <rassb@google.com>2018-12-04 16:59:27 +0000
commit90457c30d583b199631901b7c89d69eaec343976 (patch)
tree628c1ed91bd4da9c0e2a9b5abb1e933b79ad75c3
parent55778ad7d4b79589308887620bb3150923d6dc10 (diff)
parentd81a04ba07438e0190a3c5dc1987ee7cd509f2c4 (diff)
downloadv4l2_codec2-90457c30d583b199631901b7c89d69eaec343976.tar.gz
Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform release.\n\nBUG: 120448245
Change-Id: I5b58695e510a8f385f1cdcd4c5f24aed43e76253
-rw-r--r--vda/v4l2_slice_video_decode_accelerator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vda/v4l2_slice_video_decode_accelerator.cc b/vda/v4l2_slice_video_decode_accelerator.cc
index 0ae7a56..4e82dbd 100644
--- a/vda/v4l2_slice_video_decode_accelerator.cc
+++ b/vda/v4l2_slice_video_decode_accelerator.cc
@@ -998,6 +998,7 @@ void V4L2SliceVideoDecodeAccelerator::Dequeue() {
if (it == surfaces_at_device_.end()) {
VLOGF(1) << "Got invalid surface from device.";
NOTIFY_ERROR(PLATFORM_FAILURE);
+ return;
}
it->second->SetDecoded();