1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avformat/internal: always check arguments of hex_dump_debug()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2015-05-07 00:56:02 +02:00
parent 374cf93548
commit 3e14ed05f1

View File

@@ -34,7 +34,7 @@
#ifdef DEBUG #ifdef DEBUG
# define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size) # define hex_dump_debug(class, buf, size) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size)
#else #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 #endif
typedef struct AVCodecTag { typedef struct AVCodecTag {