diff --git a/libavformat/internal.h b/libavformat/internal.h index 5dacb45133..c8d2354820 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -34,7 +34,7 @@ #ifdef DEBUG # define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size) #else -# define hex_dump_debug(class, buf, size) +# define hex_dump_debug(class, buf, size) do { if (0) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size); } while(0) #endif typedef struct AVCodecTag {