History

Use a standard macro for 64 bit printf conversion specifiers

This avoids duplicating the printf line with an ifdef every time a 64 bit number needs to be printed.

Martin Storsjö committed 12 years ago

Commit 3c7dde91 parent c7d98a83 files · +6 −15Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 3 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+1−5
@@ -3248,11 +3248,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo * pFbi, const SSou · 3247 unmodified lines
3248 t_bs_append = WelsTime() - t_bs_append;3248 t_bs_append = WelsTime() - t_bs_append;
3249 if (pCtx->pSliceThreading->pFSliceDiff) {3249 if (pCtx->pSliceThreading->pFSliceDiff) {
3250 fprintf (pCtx->pSliceThreading->pFSliceDiff,3250 fprintf (pCtx->pSliceThreading->pFSliceDiff,
3251#if defined(_WIN32)3251 "%6"PRId64" us consumed at AppendSliceToFrameBs() for coding_idx: %d iDid: %d qid: %d\n",
3252 "%6I64d us consumed at AppendSliceToFrameBs() for coding_idx: %d iDid: %d qid: %d\n",
3253#else
3254 "%6lld us consumed at AppendSliceToFrameBs() for coding_idx: %d iDid: %d qid: %d\n",
3255#endif//WIN32
3256 t_bs_append, pCtx->iCodingIndex, iCurDid, 0);3252 t_bs_append, pCtx->iCodingIndex, iCurDid, 0);
3257 }3253 }
3258#endif//MT_DEBUG3254#endif//MT_DEBUG

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