From 7f6515e49100d5dcb9971d05b0693e61e72024ad Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 2 Dec 2014 11:39:06 +0100 Subject: [PATCH] Also print GUIDs as shown in the Windows registry to ease debugging. --- libavformat/riff.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/riff.h b/libavformat/riff.h index 88a77b07c8d74..e9256344f8a2a 100644 --- a/libavformat/riff.h +++ b/libavformat/riff.h @@ -91,10 +91,13 @@ typedef struct AVCodecGuid { extern const AVCodecGuid ff_codec_wav_guids[]; #define FF_PRI_GUID \ - "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x" + "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x " \ + "{%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x}" #define FF_ARG_GUID(g) \ g[0], g[1], g[2], g[3], g[4], g[5], g[6], g[7], \ + g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15],\ + g[3], g[2], g[1], g[0], g[5], g[4], g[7], g[6], \ g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15] #define FF_MEDIASUBTYPE_BASE_GUID \