diff --git a/lib/fix_frame_channel_layout-01.h b/lib/fix_frame_channel_layout-01.h index c5b11c78a..cf3a32e0a 100644 --- a/lib/fix_frame_channel_layout-01.h +++ b/lib/fix_frame_channel_layout-01.h @@ -28,7 +28,7 @@ #define CH_LAYOUT_EXTRACT_MASK(a,b) av_channel_layout_extract_channel(a,b) #define CH_LAYOUT_MASK(a) (a) #define CH_LAYOUT_FROM_MASK(a,b) *(a) = (b) -#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x" PRIx64, a) +#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x%" PRIx64, a) #endif INLINE void fix_frame_channel_layout(AVFrame *frame) { diff --git a/lib/fix_frame_channel_layout-02.h b/lib/fix_frame_channel_layout-02.h index 229957188..9511460c6 100644 --- a/lib/fix_frame_channel_layout-02.h +++ b/lib/fix_frame_channel_layout-02.h @@ -13,7 +13,7 @@ #define CH_LAYOUT_EXTRACT_MASK(a,b) av_channel_layout_extract_channel(a,b) #define CH_LAYOUT_MASK(a) (a) #define CH_LAYOUT_FROM_MASK(a,b) *(a) = (b) -#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x" PRIx64, a) +#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x%" PRIx64, a) INLINE void fix_frame_channel_layout(AVFrame *frame) { if (frame->channel_layout) { diff --git a/lib/fix_frame_channel_layout-03.h b/lib/fix_frame_channel_layout-03.h index 1e7940009..7bd248c62 100644 --- a/lib/fix_frame_channel_layout-03.h +++ b/lib/fix_frame_channel_layout-03.h @@ -13,7 +13,7 @@ #define CH_LAYOUT_EXTRACT_MASK(a,b) av_channel_layout_extract_channel(a,b) #define CH_LAYOUT_MASK(a) (a) #define CH_LAYOUT_FROM_MASK(a,b) *(a) = (b) -#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x" PRIx64, a) +#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x%" PRIx64, a) INLINE void fix_frame_channel_layout(AVFrame *frame) { if (frame->channel_layout) { diff --git a/lib/fix_frame_channel_layout-04.h b/lib/fix_frame_channel_layout-04.h index 3850d46b3..b016bf7b8 100644 --- a/lib/fix_frame_channel_layout-04.h +++ b/lib/fix_frame_channel_layout-04.h @@ -13,7 +13,7 @@ #define CH_LAYOUT_EXTRACT_MASK(a,b) av_channel_layout_extract_channel(a,b) #define CH_LAYOUT_MASK(a) (a) #define CH_LAYOUT_FROM_MASK(a,b) *(a) = (b) -#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x" PRIx64, a) +#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x%" PRIx64, a) INLINE void fix_frame_channel_layout(AVFrame *frame) { if (frame->channel_layout) diff --git a/lib/fix_frame_channel_layout-05.h b/lib/fix_frame_channel_layout-05.h index b3f6a91d8..0025e7891 100644 --- a/lib/fix_frame_channel_layout-05.h +++ b/lib/fix_frame_channel_layout-05.h @@ -13,7 +13,7 @@ #define CH_LAYOUT_EXTRACT_MASK(a,b) av_channel_layout_extract_channel(a,b) #define CH_LAYOUT_MASK(a) (a) #define CH_LAYOUT_FROM_MASK(a,b) *(a) = (b) -#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x" PRIx64, a) +#define CH_LAYOUT_PRINT(a,b) snprintf(b, sizeof(b), "0x%" PRIx64, a) INLINE void fix_frame_channel_layout(AVFrame *frame) { if (frame->channel_layout)