History

Provide a no-op WelsEmms macro if X86_ASM is disabled

This allows always calling this function, reducing the number of ifdefs in the calling code.

Martin Storsjö committed 12 years ago

Commit dd47d481 parent d767e213 files · +2 −12Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+0−4
@@ -2948,9 +2948,7 @@ int32_t WelsEncoderEncodeParameterSets (sWelsEncCtx* pCtx, void* pDst) { · 2947 unmodified lines
29482948 pCtx->eLastNalPriority = NRI_PRI_HIGHEST;
29492949 pFbi->iLayerNum = 1;
29502950
2951−#if defined(X86_ASM)
29522951 WelsEmms();
2953−#endif //X86_ASM
29542952
29552953 return ENC_RETURN_SUCCESS;
29562954 }
@@ -3609,9 +3607,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo * pFbi, const SSou · 652 unmodified lines
36093607 pCtx->eLastNalPriority = eNalRefIdc;
36103608 pFbi->iLayerNum = iLayerNum;
36113609
3612−#if defined(X86_ASM)
36133610 WelsEmms();
3614−#endif //X86_ASM
36153611
36163612 pFbi->eOutputFrameType = eFrameType;
36173613 return ENC_RETURN_SUCCESS;

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