summaryrefslogtreecommitdiff
path: root/src/JP2K.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2015-10-07 16:41:23 +0000
committerjhurst <>2015-10-07 16:41:23 +0000
commitaf6a1e4ef13dcf5811ccd9eb6b63d21bdc88dc70 (patch)
tree021ae744f611d9bfd2f8832c665351132205ab0b /src/JP2K.cpp
parent77200515d9acee07988f26dadfa37ffbd169cdfb (diff)
o Moved personal dev environment from older gcc to newer clang. Many small changes were made to satisfy the new compiler:
- Altered many printf format codes to use the correct type for the given integer type - Parenthesized some expressions to clarify previously ambiguous expectations of precedence - Created macro KM_MACOSX for use in OS-specific code selection - Removed last uses of the old C-language abs(), now using Kumu::xabs() - Removed last uses of the old C-language atoi() o Added platform-independent call Kumu::GetExecutablePath() (test with win32) o Fixed a bug that was causing Array properties to be written without the (count, length) header (from PAL) o Fixed Win32 build (from Crowe) o Added imlementation of SMPTE ST 2092-1 pink noise generator o Added pinkwave CLI utility o Added font support to the IMF timed-text wrapper
Diffstat (limited to 'src/JP2K.cpp')
-rwxr-xr-xsrc/JP2K.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JP2K.cpp b/src/JP2K.cpp
index 0066f22..a0f2a8a 100755
--- a/src/JP2K.cpp
+++ b/src/JP2K.cpp
@@ -172,7 +172,7 @@ ASDCP::JP2K::Accessor::COD::Dump(FILE* stream) const
fprintf(stream, " ProgOrder: %s\n", prog_order_str);
fprintf(stream, " Layers: %hu\n", Layers());
- fprintf(stream, " DecompLevels: %hu\n", DecompLevels());
+ fprintf(stream, " DecompLevels: %hhu\n", DecompLevels());
fprintf(stream, " CodeBlockWidth: %d\n", 1 << CodeBlockWidth());
fprintf(stream, "CodeBlockHeight: %d\n", 1 << CodeBlockHeight());
fprintf(stream, " CodeBlockStyle: %d\n", CodeBlockStyle());
@@ -203,7 +203,7 @@ ASDCP::JP2K::Accessor::QCD::Dump(FILE* stream) const
fprintf(stream, "QCD: \n");
fprintf(stream, "QuantizationType: %s\n", GetQuantizationTypeString(QuantizationType()));
fprintf(stream, " GuardBits: %d\n", GuardBits());
- fprintf(stream, " SPqcd:\n", GuardBits());
+ fprintf(stream, " SPqcd: %d\n", GuardBits());
Kumu::hexdump(m_MarkerData, m_DataSize, stream);
}