shithub: openh264

Download patch

ref: 67405177d9b92799af0e1a0b599ff677d83c646d
parent: f8b84b642d453e77699ba452d305424fc066d341
author: Martin Storsjö <martin@martin.st>
date: Tue Jan 21 09:54:00 EST 2014

Remove an unused function

This function contains a lot of platform specific constants
whose use is unknown.

--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -1541,24 +1541,6 @@
 }
 
 
-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;
-
-}
-
 
 
 /*