summaryrefslogtreecommitdiffstats
path: root/libavcodec/tableprint_vlc.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-07 00:52:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-07 00:52:47 +0200
commit0c015aa95c2dcd7ae60a560ad913d98ef81404ce (patch)
treeba026bf8d56d91cfac0401ab5c56ae7b62f3667b /libavcodec/tableprint_vlc.h
parent2284c38e4c682ac9f179d1c1489849e9b5fcc4b6 (diff)
downloadffmpeg-streaming-0c015aa95c2dcd7ae60a560ad913d98ef81404ce.zip
ffmpeg-streaming-0c015aa95c2dcd7ae60a560ad913d98ef81404ce.tar.gz
avcodec/tableprint_vlc: Do not define functions to nothing
This avoids potential warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/tableprint_vlc.h')
-rw-r--r--libavcodec/tableprint_vlc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/tableprint_vlc.h b/libavcodec/tableprint_vlc.h
index 7f46f2e..33a9c0e 100644
--- a/libavcodec/tableprint_vlc.h
+++ b/libavcodec/tableprint_vlc.h
@@ -25,14 +25,14 @@
#define FFMPEG_CONFIG_H
#define AVUTIL_LOG_H
-#define av_log(a, ...)
-#define ff_dlog(a, ...)
+#define av_log(a, ...) while(0)
+#define ff_dlog(a, ...) while(0)
#define AVUTIL_MEM_H
#define av_malloc(s) NULL
#define av_malloc_array(a, b) NULL
#define av_realloc_f(p, o, n) NULL
-#define av_free(p)
-#define av_freep(p)
+#define av_free(p) while(0)
+#define av_freep(p) while(0)
#define AVCODEC_AVCODEC_H
#define AVCODEC_INTERNAL_H
#include "tableprint.h"
OpenPOWER on IntegriCloud