History

Remove an unused function

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

Martin Storsjö committed 12 years ago

Commit 67405171 parent f8b84b61 file · +0 −18Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+0−18
@@ -1541,24 +1541,6 @@ void_t WelsDecodeAccessUnitEnd (PWelsDecoderContext pCtx) { · 1540 unmodified lines
15411541 }
15421542
15431543
1544−int32_t CheckBSBound (int32_t iWidth, int32_t iHeight, int32_t sliceNum, int32_t ppsId) {
1545− int32_t iRet = 0;
1546−
1547−#if defined(_WIN32)
1548− iRet = ((iWidth == 80) && (iHeight = 45) && (sliceNum < 60));
1549−
1550−#elif defined(MACOS)
1551− iRet = ((iWidth == 80) && (iHeight = 45) && (ppsId < 57));
1552−
1553−#elif defined(ANDROID)
1554− iRet = ((iWidth == 40) && (iHeight = 22));
1555−
1556−#endif
1557−
1558− return iRet;
1559−
1560−}
1561−
15621544
15631545
15641546 /*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t