shithub: openh264

Download patch

ref: 47db901f29931609d719a1902b782e2c397e67bf
parent: 6d880360b08607f68868d26f3ec47d9a6695abda
parent: 67405177d9b92799af0e1a0b599ff677d83c646d
author: Ethan Hugg <ethanhugg@gmail.com>
date: Tue Jan 21 04:44:08 EST 2014

Merge pull request #177 from mstorsjo/remove-unused-function

Remove an unused function

--- 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;
-
-}
-
 
 
 /*