[FFmpeg-cvslog] Also print GUIDs as shown in the Windows registry to ease debugging.

Carl Eugen Hoyos git at videolan.org
Tue Dec 2 15:32:55 CET 2014


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Dec  2 11:39:06 2014 +0100| [7f6515e49100d5dcb9971d05b0693e61e72024ad] | committer: Carl Eugen Hoyos

Also print GUIDs as shown in the Windows registry to ease debugging.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f6515e49100d5dcb9971d05b0693e61e72024ad
---

 libavformat/riff.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libavformat/riff.h b/libavformat/riff.h
index 88a77b0..e925634 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 \



More information about the ffmpeg-cvslog mailing list