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
334 pCtx->eVideoType = VIDEO_BITSTREAM_DEFAULT;334 pCtx->eVideoType = VIDEO_BITSTREAM_DEFAULT;
335 }335 }
336 336
337 WelsLog (pCtx, WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType);337 WelsLog (&(pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType);
338 338
339 return 0;339 return 0;
340}340}
@@ -598,14 +598,14 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 257 unmodified lines
598 598
599 iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight); // common memory used599 iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight); // common memory used
600 if (ERR_NONE != iErr) {600 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");
602 pCtx->iErrorCode = dsOutOfMemory;602 pCtx->iErrorCode = dsOutOfMemory;
603 return iErr;603 return iErr;
604 }604 }
605 605
606 iErr = InitialDqLayersContext (pCtx, kiPicWidth, kiPicHeight);606 iErr = InitialDqLayersContext (pCtx, kiPicWidth, kiPicHeight);
607 if (ERR_NONE != iErr) {607 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");
609 pCtx->iErrorCode = dsOutOfMemory;609 pCtx->iErrorCode = dsOutOfMemory;
610 }610 }
611 611

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