From 0541f11be2f78b558476772f1f877e140f9d844b Mon Sep 17 00:00:00 2001 From: ywan171 Date: Thu, 24 Jul 2014 10:59:55 +0800 Subject: 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 Reviewed-on: https://android.intel.com/220523 Reviewed-by: Fourdan, Olivier Tested-by: Fourdan, Olivier --- videocodec/OMXVideoDecoderVP8.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'videocodec/OMXVideoDecoderVP8.cpp') 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 #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 } -- cgit v1.2.3