Browse Source

TT#14008 fix typo

PRIx64 requires the leading %

Fix-up for: I3d43b85dc3140155a61b1cf2269cda166ad88e9a
Warned-by: Coverity

Change-Id: I57db760ecf8d0c96fbbbb411f474b13b539df495
pull/1525/head
Richard Fuchs 3 years ago
parent
commit
9e95681f3b
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      lib/fix_frame_channel_layout-01.h
  2. +1
    -1
      lib/fix_frame_channel_layout-02.h
  3. +1
    -1
      lib/fix_frame_channel_layout-03.h
  4. +1
    -1
      lib/fix_frame_channel_layout-04.h
  5. +1
    -1
      lib/fix_frame_channel_layout-05.h

+ 1
- 1
lib/fix_frame_channel_layout-01.h View File

@ -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) {


+ 1
- 1
lib/fix_frame_channel_layout-02.h View File

@ -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) {


+ 1
- 1
lib/fix_frame_channel_layout-03.h View File

@ -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) {


+ 1
- 1
lib/fix_frame_channel_layout-04.h View File

@ -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)


+ 1
- 1
lib/fix_frame_channel_layout-05.h View File

@ -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)


Loading…
Cancel
Save