diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-07 00:56:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-07 01:05:45 +0200 |
commit | 3e14ed05f1debb6560fff6afc89c5c3ed0ac7a0d (patch) | |
tree | 22af106c7627d06c0082ddff694b70df88188905 /libavformat/internal.h | |
parent | 374cf93548d171de72f3cf8939a061c9ee150aff (diff) | |
download | ffmpeg-3e14ed05f1debb6560fff6afc89c5c3ed0ac7a0d.tar.gz |
avformat/internal: always check arguments of hex_dump_debug()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 2 |
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 { |