History

Add spaces around PRId64 macros in format strings

This does the same cleanup as was done in 4fc27714bd on new occurrances in the code base. This fixes building with MSVC 2015 (which is still only a release candidate).

Martin Storsjö committed 11 years ago

Commit 9ac4c821 parent 6d5ef0b4 files · +15 −15Browse files

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

Unified · Split

codec/decoder/core/src/decode_slice.cpp+2−2
@@ -1570,7 +1570,7 @@ int32_t WelsDecodeMbCavlcISlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 1569 unmodified lines
15701570 if (iUsedBits > (pBs->iBits -
15711571 1)) { //When BS incomplete, as long as find it, SHOULD stop decoding to avoid mosaic or crash.
15721572 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
1573− "WelsDecodeMbCavlcISlice()::::pBs incomplete, iUsedBits:%"PRId64" > pBs->iBits:%d, MUST stop decoding.",
1573+ "WelsDecodeMbCavlcISlice()::::pBs incomplete, iUsedBits:%" PRId64 " > pBs->iBits:%d, MUST stop decoding.",
15741574 (int64_t) iUsedBits, pBs->iBits);
15751575 return -1;
15761576 }
@@ -1993,7 +1993,7 @@ int32_t WelsDecodeMbCavlcPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 416 unmodified lines
19931993 if (iUsedBits > (pBs->iBits -
19941994 1)) { //When BS incomplete, as long as find it, SHOULD stop decoding to avoid mosaic or crash.
19951995 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
1996− "WelsDecodeMbCavlcISlice()::::pBs incomplete, iUsedBits:%"PRId64" > pBs->iBits:%d, MUST stop decoding.",
1996+ "WelsDecodeMbCavlcISlice()::::pBs incomplete, iUsedBits:%" PRId64 " > pBs->iBits:%d, MUST stop decoding.",
19971997 (int64_t) iUsedBits, pBs->iBits);
19981998 return -1;
19991999 }

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