summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2019-09-08 16:14:37 +0800
committerWang Han <416810799@qq.com>2019-09-11 18:23:06 +0800
commit99965b3db3a7795360f12a9889ac0d9c3b38bc6e (patch)
tree80c67035beb778ab3ee51a45f3eeb111286603d6
parentac13f85fa4de357fa631102c53a539d3f8711836 (diff)
downloadandroid_hardware_qcom_media-lineage-17.1-caf-msm8994.tar.gz
android_hardware_qcom_media-lineage-17.1-caf-msm8994.tar.bz2
android_hardware_qcom_media-lineage-17.1-caf-msm8994.zip
media: Fix compilation error for switch caselineage-17.1-caf-msm8994lineage-17.0-caf-msm8994
Change-Id: I1c07d854b2fafd391e75abaec57cf831b67c4663
-rw-r--r--mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp b/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
index 1565ebf5..e5002c99 100644
--- a/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
+++ b/mm-video-v4l2/vidc/vdec/src/omx_vdec_msm8974.cpp
@@ -4283,6 +4283,7 @@ OMX_ERRORTYPE omx_vdec::get_config(OMX_IN OMX_HANDLETYPE hComp,
default:
DEBUG_PRINT_HIGH("Unknown perf level %d, reporting Nominal instead", control.value);
/* Fall through */
+ [[fallthrough]];
case V4L2_CID_MPEG_VIDC_PERF_LEVEL_NOMINAL:
perf->ePerfLevel = OMX_QCOM_PerfLevelNominal;
break;