aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderMPEG4.cpp
diff options
context:
space:
mode:
authorywan171 <yi.a.wang@intel.com>2014-07-24 10:59:55 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-29 22:26:03 -0700
commit0541f11be2f78b558476772f1f877e140f9d844b (patch)
treef469921518168130e520c90303c46b2eb66f0a91 /videocodec/OMXVideoDecoderMPEG4.cpp
parentd1da65e5908b56896cfb8d61c0ab9961095fc79c (diff)
downloadandroid_hardware_intel_common_omx-components-0541f11be2f78b558476772f1f877e140f9d844b.tar.gz
android_hardware_intel_common_omx-components-0541f11be2f78b558476772f1f877e140f9d844b.tar.bz2
android_hardware_intel_common_omx-components-0541f11be2f78b558476772f1f877e140f9d844b.zip
remove warning in omx-component
BZ: 209178 remove warning in omx-component except the warning caused by AOSP header file OMX_VideoExt.h Change-Id: Iacef8ca69281fa1f489f4a3dbdc949cef54978d7 Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: https://android.intel.com/220523 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Diffstat (limited to 'videocodec/OMXVideoDecoderMPEG4.cpp')
-rw-r--r--videocodec/OMXVideoDecoderMPEG4.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/videocodec/OMXVideoDecoderMPEG4.cpp b/videocodec/OMXVideoDecoderMPEG4.cpp
index 818800f..96e54ee 100644
--- a/videocodec/OMXVideoDecoderMPEG4.cpp
+++ b/videocodec/OMXVideoDecoderMPEG4.cpp
@@ -132,17 +132,17 @@ OMX_ERRORTYPE OMXVideoDecoderMPEG4::GetParamVideoMpeg4ProfileLevel(OMX_PTR pStru
return OMX_ErrorNone;
}
-OMX_ERRORTYPE OMXVideoDecoderMPEG4::SetParamVideoMpeg4ProfileLevel(OMX_PTR pStructure) {
+OMX_ERRORTYPE OMXVideoDecoderMPEG4::SetParamVideoMpeg4ProfileLevel(OMX_PTR) {
LOGW("SetParamVideoMpeg4ProfileLevel is not supported.");
return OMX_ErrorUnsupportedSetting;
}
-OMX_COLOR_FORMATTYPE OMXVideoDecoderMPEG4::GetOutputColorFormat(int width, int height)
+OMX_COLOR_FORMATTYPE OMXVideoDecoderMPEG4::GetOutputColorFormat(int width)
{
#ifdef USE_GEN_HW
return (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_NV12_X_TILED_INTEL;
#else
- return OMXVideoDecoderBase::GetOutputColorFormat(width, height);
+ return OMXVideoDecoderBase::GetOutputColorFormat(width);
#endif
}