History

remove "\n" which shoudl be added by the trace sink

ruil2 committed 12 years ago

Commit 40e952f1 parent bac551116 files · +249 −249Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+7−7
@@ -91,7 +91,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 90 unmodified lines
9191
9292 if (WelsTargetMbConstruction (pCtx)) {
9393 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
94− "WelsTargetSliceConstruction():::MB(%d, %d) construction error. pCurSlice_type:%d\n",
94+ "WelsTargetSliceConstruction():::MB(%d, %d) construction error. pCurSlice_type:%d",
9595 pCurLayer->iMbX, pCurLayer->iMbY, pCurSlice->eSliceType);
9696
9797 return -1;
@@ -105,7 +105,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 7 unmodified lines
105105
106106 if (pCtx->iTotalNumMbRec > iTotalMbTargetLayer) {
107107 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
108− "WelsTargetSliceConstruction():::pCtx->iTotalNumMbRec:%d, iTotalMbTargetLayer:%d\n",
108+ "WelsTargetSliceConstruction():::pCtx->iTotalNumMbRec:%d, iTotalMbTargetLayer:%d",
109109 pCtx->iTotalNumMbRec, iTotalMbTargetLayer);
110110
111111 return -1;
@@ -287,7 +287,7 @@ int32_t WelsTargetMbConstruction (PWelsDecoderContext pCtx) { · 175 unmodified lines
287287 WelsMbInterConstruction (pCtx, pCurLayer);
288288 }
289289 } else {
290− WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "WelsTargetMbConstruction():::::Unknown MB type: %d\n",
290+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "WelsTargetMbConstruction():::::Unknown MB type: %d",
291291 pCurLayer->pMbType[pCurLayer->iMbXyIndex]);
292292 return -1;
293293 }
@@ -419,7 +419,7 @@ int32_t WelsDecodeSlice (PWelsDecoderContext pCtx, bool bFirstSliceInLayer, PNal · 125 unmodified lines
419419 }
420420 if (iUsedBits > pBs->iBits) { //When BS incomplete, as long as find it, SHOULD stop decoding to avoid mosaic or crash.
421421 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
422− "WelsDecodeSlice()::::pBs incomplete, iUsedBits:%"PRId64" > pBs->iBits:%d, MUST stop decoding.\n",
422+ "WelsDecodeSlice()::::pBs incomplete, iUsedBits:%"PRId64" > pBs->iBits:%d, MUST stop decoding.",
423423 (int64_t) iUsedBits, pBs->iBits);
424424 return -1;
425425 }
@@ -690,7 +690,7 @@ int32_t WelsDecodeMbCavlcISlice (PWelsDecoderContext pCtx, PNalUnit pNalCur) { · 264 unmodified lines
690690 if (!iBaseModeFlag) {
691691 iRet = WelsActualDecodeMbCavlcISlice (pCtx);
692692 } else {
693− WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "iBaseModeFlag (%d) != 0, inter-layer prediction not supported.\n",
693+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "iBaseModeFlag (%d) != 0, inter-layer prediction not supported.",
694694 iBaseModeFlag);
695695 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_ILP);
696696 }
@@ -747,7 +747,7 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 50 unmodified lines
747747 if (pCurLayer->pResidualPredFlag[iMbXy] == 0) {
748748 pCurLayer->pInterPredictionDoneFlag[iMbXy] = 0;
749749 } else {
750− WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "residual_pred_flag = 1 not supported.\n");
750+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "residual_pred_flag = 1 not supported.");
751751 return -1;
752752 }
753753 } else { //intra MB type
@@ -1044,7 +1044,7 @@ int32_t WelsDecodeMbCavlcPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur) { · 290 unmodified lines
10441044 if (!iBaseModeFlag) {
10451045 iRet = WelsActualDecodeMbCavlcPSlice (pCtx);
10461046 } else {
1047− WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "iBaseModeFlag (%d) != 0, inter-layer prediction not supported.\n",
1047+ WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, "iBaseModeFlag (%d) != 0, inter-layer prediction not supported.",
10481048 iBaseModeFlag);
10491049 return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_ILP);
10501050 }

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