History

Remove the unused global variable g_uiCacheLineSize

Martin Storsjö committed 12 years ago

Commit 8bc5bf51 parent eeb11573 files · +0 −13Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+0−8
@@ -166,16 +166,8 @@ void_t WelsDecoderDefaults (PWelsDecoderContext pCtx) { · 165 unmodified lines
166166 pCtx->bAuReadyFlag = 0; // au data is not ready
167167
168168
169− g_uiCacheLineSize = 16;
170169 #if defined(X86_ASM)
171170 pCtx->uiCpuFlag = WelsCPUFeatureDetect (&iCpuCores);
172−#ifdef HAVE_CACHE_LINE_ALIGN
173− if (pCtx->uiCpuFlag & WELS_CPU_CACHELINE_64) {
174− g_uiCacheLineSize = 64;
175− } else if (pCtx->uiCpuFlag & WELS_CPU_CACHELINE_32) {
176− g_uiCacheLineSize = 32;
177− }
178−#endif//HAVE_CACHE_LINE_ALIGN
179171 #endif//X86_ASM
180172
181173 pCtx->iImgWidthInPixel = 0;

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