History

use WELS_DELETE_OP for deleting

sijchen committed 10 years ago

Commit e07ee9c1 parent 74955c84 files · +17 −35Browse files

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

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+1−2
@@ -413,8 +413,7 @@ void ReleaseMtResource (sWelsEncCtx** ppCtx) { · 412 unmodified lines
413 memset (&pSmt->bThreadBsBufferUsage, 0, MAX_THREADS_NUM * sizeof (bool));413 memset (&pSmt->bThreadBsBufferUsage, 0, MAX_THREADS_NUM * sizeof (bool));
414 414
415 if ((*ppCtx)->pTaskManage != NULL) {415 if ((*ppCtx)->pTaskManage != NULL) {
416 delete (*ppCtx)->pTaskManage;416 WELS_DELETE_OP((*ppCtx)->pTaskManage);
417 (*ppCtx)->pTaskManage = NULL;
418 }417 }
419 418
420#ifdef MT_DEBUG419#ifdef MT_DEBUG

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