aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-07 00:56:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-07 01:05:45 +0200
commit3e14ed05f1debb6560fff6afc89c5c3ed0ac7a0d (patch)
tree22af106c7627d06c0082ddff694b70df88188905 /libavformat
parent374cf93548d171de72f3cf8939a061c9ee150aff (diff)
downloadffmpeg-3e14ed05f1debb6560fff6afc89c5c3ed0ac7a0d.tar.gz
avformat/internal: always check arguments of hex_dump_debug()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/internal.h2
1 files changed, 1 insertions, 1 deletions
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 {