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
350350 * \note N/A
351351 *************************************************************************************
352352 */
353−int32_t WelsInitDecoder (PWelsDecoderContext pCtx, void* pTraceHandle, PWelsLogCallbackFunc pLog) {
353+int32_t WelsInitDecoder (PWelsDecoderContext pCtx) {
354354 if (pCtx == NULL) {
355355 return ERR_INFO_INVALID_PTR;
356356 }
@@ -358,10 +358,6 @@ int32_t WelsInitDecoder (PWelsDecoderContext pCtx, void* pTraceHandle, PWelsLogC · 1 unmodified line
358358 // default
359359 WelsDecoderDefaults (pCtx);
360360
361− pCtx->pTraceHandle = pTraceHandle;
362−
363− g_pLog = pLog;
364−
365361 // open decoder
366362 WelsOpenDecoder (pCtx);
367363

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