Browse Source

log: Use a do {} while (0) for tlog

Avoid the warning `-Wempty-body`.
tags/n3.0
Luca Barbato 10 years ago
parent
commit
34138ece23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/internal.h

+ 1
- 1
libavcodec/internal.h View File

@@ -63,7 +63,7 @@
#ifdef TRACE
# define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
#else
# define ff_tlog(ctx, ...) while(0)
# define ff_tlog(ctx, ...) do { } while (0)
#endif




Loading…
Cancel
Save