Skip to content
Snippets Groups Projects
Commit 5bba3ab0 authored by Vittorio Giovara's avatar Vittorio Giovara
Browse files

internal: Make dlog/tlog a no-op when disabled

Improves Coverity analysis, avoiding "double semicolon" CIDs.
parent b90adb0a
No related branches found
No related tags found
No related merge requests found
...@@ -51,13 +51,13 @@ ...@@ -51,13 +51,13 @@
#ifdef DEBUG #ifdef DEBUG
# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__) # define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
#else #else
# define ff_dlog(ctx, ...) # define ff_dlog(ctx, ...) while(0)
#endif #endif
#ifdef TRACE #ifdef TRACE
# define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__) # define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
#else #else
# define ff_tlog(p, ...) # define ff_tlog(ctx, ...) while(0)
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment