summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <xda@vinschen.de>2017-02-22 17:30:51 +0100
committerCorinna Vinschen <xda@vinschen.de>2017-02-22 18:07:04 +0100
commit99eef721ecc527eaa42ab7d0ef21a9fd2d352abc (patch)
tree1098df9bb088bd3ca78f63361eea177ef40524f8
parent64a46c7e33f62eb57a90d109144472d3d17a66b9 (diff)
downloadandroid_hardware_qcom_media-99eef721ecc527eaa42ab7d0ef21a9fd2d352abc.tar.gz
android_hardware_qcom_media-99eef721ecc527eaa42ab7d0ef21a9fd2d352abc.tar.bz2
android_hardware_qcom_media-99eef721ecc527eaa42ab7d0ef21a9fd2d352abc.zip
media-caf msm8974: Fix typo in video decoder error check for debug output
Change-Id: I9e46b8c1be56c16bdb46a03d7777c93aed9fa5aa Signed-off-by: Corinna Vinschen <xda@vinschen.de>
-rw-r--r--mm-video-v4l2/vidc/vdec/src/omx_vdec_hevc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm-video-v4l2/vidc/vdec/src/omx_vdec_hevc.cpp b/mm-video-v4l2/vidc/vdec/src/omx_vdec_hevc.cpp
index f7e828d3..35675c3e 100644
--- a/mm-video-v4l2/vidc/vdec/src/omx_vdec_hevc.cpp
+++ b/mm-video-v4l2/vidc/vdec/src/omx_vdec_hevc.cpp
@@ -2804,10 +2804,10 @@ OMX_ERRORTYPE omx_vdec::set_parameter(OMX_IN OMX_HANDLETYPE hComp,
eRet = OMX_ErrorUnsupportedSetting;
} else {
eRet = get_buffer_req(&drv_ctx.ip_buf);
- if (ret)
+ if (eRet)
DEBUG_PRINT_ERROR("%s:Requesting buffer requirements failed for input port",__FUNCTION__);
eRet = get_buffer_req(&drv_ctx.op_buf);
- if (ret)
+ if (eRet)
DEBUG_PRINT_ERROR("%s:Requesting buffer requirements failed for output port",__FUNCTION__);
}
}