History

trace fix

ruil2 committed 12 years ago

Commit fa138e81 parent 0f4499114 files · +202 −200Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+3−3
@@ -334,7 +334,7 @@ int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpPa · 333 unmodified lines
334334 pCtx->eVideoType = VIDEO_BITSTREAM_DEFAULT;
335335 }
336336
337− WelsLog (pCtx, WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType);
337+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType);
338338
339339 return 0;
340340 }
@@ -598,14 +598,14 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 257 unmodified lines
598598
599599 iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight); // common memory used
600600 if (ERR_NONE != iErr) {
601− WelsLog (pCtx, WELS_LOG_WARNING, "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure.\n");
601+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure.\n");
602602 pCtx->iErrorCode = dsOutOfMemory;
603603 return iErr;
604604 }
605605
606606 iErr = InitialDqLayersContext (pCtx, kiPicWidth, kiPicHeight);
607607 if (ERR_NONE != iErr) {
608− WelsLog (pCtx, WELS_LOG_WARNING, "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure.\n");
608+ WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure.\n");
609609 pCtx->iErrorCode = dsOutOfMemory;
610610 }
611611

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