[vlc-devel] [PATCH 1/1] codec/videotoolbox: fix typo in conversion-specifier

Filip Roséen filip at atch.se
Fri Jul 29 01:49:24 CEST 2016


From: Filip Roséen <filip at videolabs.io>

The intent is certainly to print an uint8_t in hexadecimal format, not as a
decimal followed by whatever implementation-specific value PRIx8 is defined as.

This commit removes fixes the relevant format-string.
---
 modules/codec/videotoolbox.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 63f680b..3cd2400 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -144,7 +144,7 @@ static CMVideoCodecType CodecPrecheck(decoder_t *p_dec)
                 return kCMVideoCodecType_H264;
             }
 
-            msg_Dbg(p_dec, "trying to decode MPEG-4 Part 10: profile %" PRIx8 ", level %i" PRIx8, i_profile, i_level);
+            msg_Dbg(p_dec, "trying to decode MPEG-4 Part 10: profile %" PRIx8 ", level %" PRIx8, i_profile, i_level);
 
             switch (i_profile) {
                 case PROFILE_H264_BASELINE:
-- 
2.9.0



More information about the vlc-devel mailing list