Commit 3e14ed05 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/internal: always check arguments of hex_dump_debug()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 374cf935
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment