From 67405177d9b92799af0e1a0b599ff677d83c646d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 21 Jan 2014 14:54:00 +0200 Subject: [PATCH] Remove an unused function This function contains a lot of platform specific constants whose use is unknown. --- codec/decoder/core/src/decoder_core.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/codec/decoder/core/src/decoder_core.cpp b/codec/decoder/core/src/decoder_core.cpp index 91ecd4c3..7d42ce74 100644 --- a/codec/decoder/core/src/decoder_core.cpp +++ b/codec/decoder/core/src/decoder_core.cpp @@ -1541,24 +1541,6 @@ void_t WelsDecodeAccessUnitEnd (PWelsDecoderContext pCtx) { } -int32_t CheckBSBound (int32_t iWidth, int32_t iHeight, int32_t sliceNum, int32_t ppsId) { - int32_t iRet = 0; - -#if defined(_WIN32) - iRet = ((iWidth == 80) && (iHeight = 45) && (sliceNum < 60)); - -#elif defined(MACOS) - iRet = ((iWidth == 80) && (iHeight = 45) && (ppsId < 57)); - -#elif defined(ANDROID) - iRet = ((iWidth == 40) && (iHeight = 22)); - -#endif - - return iRet; - -} - /*