diff options
author | Rajshekar Eashwarappa <reashw@codeaurora.org> | 2017-06-22 15:46:13 +0530 |
---|---|---|
committer | LuK1337 <priv.luk@gmail.com> | 2017-09-06 20:47:46 +0200 |
commit | cd20323f2c029817040b8e969f631b3b8e43d42a (patch) | |
tree | 6fb61d80674a19ec6dc9d4864c06a0d55f2ef235 | |
parent | ec789248f3ea62ab6449feab36ddc0f43d5c537a (diff) | |
download | android_hardware_qcom_media-cd20323f2c029817040b8e969f631b3b8e43d42a.tar.gz android_hardware_qcom_media-cd20323f2c029817040b8e969f631b3b8e43d42a.tar.bz2 android_hardware_qcom_media-cd20323f2c029817040b8e969f631b3b8e43d42a.zip |
mm-video-v4l2: Fix compilation issues for vdec and venclineage-15.0-caf-8916
Change-Id: I6c4794df5d879ac71a66189964085d0a26049da3
-rw-r--r-- | mm-video-v4l2/vidc/vdec/inc/omx_vdec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h b/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h index 6f46234a..1071cc55 100644 --- a/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h +++ b/mm-video-v4l2/vidc/vdec/inc/omx_vdec.h @@ -273,7 +273,7 @@ public: } OMX_U32 get_average(OMX_U32 sample) { - if (avg && abs(avg - sample) > FPS_RESET_THRESHOLD) { + if (avg && (abs((int)(avg - sample)) > FPS_RESET_THRESHOLD)) { reset(); } |