History

Use \t or plain spaces instead of literal tabs in printf formats

Martin Storsjö committed 11 years ago

Commit ec99a3b1 parent baf93a34 files · +7 −7Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+2−2
@@ -2276,7 +2276,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 2275 unmodified lines
22762276 }
22772277 }
22782278 #if defined (_DEBUG) && !defined (CODEC_FOR_TESTBED)
2279− fprintf (stderr, "cur_frame : %d iCurrIdD : %d\n ",
2279+ fprintf (stderr, "cur_frame : %d\tiCurrIdD : %d\n ",
22802280 dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iFrameNum, iCurrIdD);
22812281 #endif//#if !CODEC_FOR_TESTBED
22822282 iLastIdD = iCurrIdD;
@@ -2305,7 +2305,7 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 22 unmodified lines
23052305 // A dq layer decoded here
23062306 #if defined (_DEBUG) && !defined (CODEC_FOR_TESTBED)
23072307 #undef fprintf
2308− fprintf (stderr, "POC: #%d, FRAME: #%d, D: %d, Q: %d, T: %d, P: %d, %d\n",
2308+ fprintf (stderr, "POC: #%d, FRAME: #%d, D: %d, Q: %d, T: %d, P: %d, %d\n",
23092309 pSh->iPicOrderCntLsb, pSh->iFrameNum, iCurrIdD, iCurrIdQ, dq_cur->sLayerInfo.sNalHeaderExt.uiTemporalId,
23102310 dq_cur->sLayerInfo.sNalHeaderExt.uiPriorityId, dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iSliceQp);
23112311 #endif//#if !CODEC_FOR_TESTBED

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