History

enhance a UT to cover more case

sijchen committed 10 years ago

Commit 5cad0f91 parent bf35b6f3 files · +13 −15Browse files

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

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+0−2
@@ -334,11 +334,9 @@ int32_t RequestMtResource (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPara · 333 unmodified lines
334334 pSmt->pThreadBsBuffer[iIdx] = NULL;
335335 }
336336
337− //previous conflict
338337 WelsSnprintf (name, SEM_NAME_MAX, "scm%s", pSmt->eventNamespace);
339338 err = WelsEventOpen (&pSmt->pSliceCodedMasterEvent, name);
340339 MT_TRACE_LOG (*ppCtx, WELS_LOG_INFO, "[MT] Open pSliceCodedMasterEvent named(%s) ret%d err%d", name, err, errno);
341− //previous conflict ends
342340
343341 iReturn = WelsMutexInit (&pSmt->mutexSliceNumUpdate);
344342 WELS_VERIFY_RETURN_PROC_IF (1, (WELS_THREAD_ERROR_OK != iReturn), FreeMemorySvc (ppCtx))

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