summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/crypto_bench.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c
index 96820ae428..0f62068905 100644
--- a/tools/crypto_bench.c
+++ b/tools/crypto_bench.c
@@ -33,6 +33,10 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/timer.h"
+#ifndef AV_READ_TIME
+#define AV_READ_TIME(x) 0
+#endif
+
#if HAVE_UNISTD_H
#include <unistd.h> /* for getopt */
#endif