Commit 8b42b222 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mxf: Simplify PRINT_KEY()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 72910851
...@@ -102,22 +102,14 @@ const MXFSamplesPerFrame *ff_mxf_get_samples_per_frame(AVFormatContext *s, AVRat ...@@ -102,22 +102,14 @@ const MXFSamplesPerFrame *ff_mxf_get_samples_per_frame(AVFormatContext *s, AVRat
"0x%02x,0x%02x,0x%02x,0x%02x," \ "0x%02x,0x%02x,0x%02x,0x%02x," \
"0x%02x,0x%02x,0x%02x,0x%02x," \ "0x%02x,0x%02x,0x%02x,0x%02x," \
"0x%02x,0x%02x,0x%02x,0x%02x ", \ "0x%02x,0x%02x,0x%02x,0x%02x ", \
s, \ s, UID_ARG(x)); \
(x)[0], (x)[1], (x)[2], (x)[3], \
(x)[4], (x)[5], (x)[6], (x)[7], \
(x)[8], (x)[9], (x)[10], (x)[11], \
(x)[12], (x)[13], (x)[14], (x)[15]); \
av_log(pc, AV_LOG_INFO, \ av_log(pc, AV_LOG_INFO, \
"%s " \ "%s " \
"%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\n", \ "%02x.%02x.%02x.%02x\n", \
s, \ s, UID_ARG(x))
(x)[0], (x)[1], (x)[2], (x)[3], \
(x)[4], (x)[5], (x)[6], (x)[7], \
(x)[8], (x)[9], (x)[10], (x)[11], \
(x)[12], (x)[13], (x)[14], (x)[15])
#else #else
#define PRINT_KEY(pc, s, x) #define PRINT_KEY(pc, s, x)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment