Skip to content

Commit

Permalink
Also print GUIDs as shown in the Windows registry to ease debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
cehoyos committed Dec 2, 2014
1 parent ea5423a commit 7f6515e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libavformat/riff.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 7f6515e

Please sign in to comment.