History

cleanup trace module

ruil2 committed 12 years ago

Commit 4c12f891 parent eceb4e525 files · +240 −1021Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+1−5
@@ -350,7 +350,7 @@ int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpPa · 349 unmodified lines
350 * \note N/A350 * \note N/A
351 *************************************************************************************351 *************************************************************************************
352 */352 */
353int32_t WelsInitDecoder (PWelsDecoderContext pCtx, void* pTraceHandle, PWelsLogCallbackFunc pLog) {353int32_t WelsInitDecoder (PWelsDecoderContext pCtx) {
354 if (pCtx == NULL) {354 if (pCtx == NULL) {
355 return ERR_INFO_INVALID_PTR;355 return ERR_INFO_INVALID_PTR;
356 }356 }
@@ -358,10 +358,6 @@ int32_t WelsInitDecoder (PWelsDecoderContext pCtx, void* pTraceHandle, PWelsLogC · 1 unmodified line
358 // default358 // default
359 WelsDecoderDefaults (pCtx);359 WelsDecoderDefaults (pCtx);
360 360
361 pCtx->pTraceHandle = pTraceHandle;
362
363 g_pLog = pLog;
364
365 // open decoder361 // open decoder
366 WelsOpenDecoder (pCtx);362 WelsOpenDecoder (pCtx);
367 363

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