aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderVP8.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/OMXVideoDecoderVP8.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/OMXVideoDecoderVP8.cpp')
-rw-r--r--videocodec/OMXVideoDecoderVP8.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/videocodec/OMXVideoDecoderVP8.cpp b/videocodec/OMXVideoDecoderVP8.cpp
index 80fd5ac..013bf8b 100644
--- a/videocodec/OMXVideoDecoderVP8.cpp
+++ b/videocodec/OMXVideoDecoderVP8.cpp
@@ -19,7 +19,6 @@
#define LOG_TAG "OMXVideoDecoder"
#include <wrs_omxil_core/log.h>
#include "OMXVideoDecoderVP8.h"
-
// Be sure to have an equal string in VideoDecoderHost.cpp (libmix)
static const char* VP8_MIME_TYPE = "video/x-vnd.on2.vp8";
@@ -108,7 +107,7 @@ OMX_ERRORTYPE OMXVideoDecoderVP8::SetParamVideoVp8(OMX_PTR pStructure) {
return OMX_ErrorNone;
}
-OMX_COLOR_FORMATTYPE OMXVideoDecoderVP8::GetOutputColorFormat(int width, int height)
+OMX_COLOR_FORMATTYPE OMXVideoDecoderVP8::GetOutputColorFormat(int width)
{
#ifdef USE_GEN_HW
#ifdef USE_X_TILE
@@ -117,7 +116,7 @@ OMX_COLOR_FORMATTYPE OMXVideoDecoderVP8::GetOutputColorFormat(int width, int hei
return (OMX_COLOR_FORMATTYPE)OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled;
#endif
#else
- return OMXVideoDecoderBase::GetOutputColorFormat(width, height);
+ return OMXVideoDecoderBase::GetOutputColorFormat(width);
#endif
}