Browse Source

libavutil/timer: Fix clang reserved-user-defined-literal

clang errors when compiling with C++11 about needing spaces between
literal and identifier

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.4
Christopher Degawa James Almer 4 years ago
parent
commit
e93403b75f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/timer.h

+ 1
- 1
libavutil/timer.h View File

@@ -87,7 +87,7 @@
if (((tcount + tskip_count) & (tcount + tskip_count - 1)) == 0) { \ if (((tcount + tskip_count) & (tcount + tskip_count - 1)) == 0) { \
int i; \ int i; \
av_log(NULL, AV_LOG_ERROR, \ av_log(NULL, AV_LOG_ERROR, \
"%7"PRIu64" " FF_TIMER_UNITS " in %s,%8d runs,%7d skips", \
"%7" PRIu64 " " FF_TIMER_UNITS " in %s,%8d runs,%7d skips",\
tsum * 10 / tcount, id, tcount, tskip_count); \ tsum * 10 / tcount, id, tcount, tskip_count); \
for (i = 0; i < 32; i++) \ for (i = 0; i < 32; i++) \
av_log(NULL, AV_LOG_VERBOSE, " %2d", av_log2(2*thistogram[i]));\ av_log(NULL, AV_LOG_VERBOSE, " %2d", av_log2(2*thistogram[i]));\


Loading…
Cancel
Save