diff options
author | Michael Niedermayer | 2014-09-16 18:04:51 +0200 |
---|---|---|
committer | Michael Niedermayer | 2014-09-16 18:25:43 +0200 |
commit | 4a99134f1a71994a0dc4542a0d6bee8e36146b60 (patch) | |
tree | 9e7cbed2dbf87675c04435cd2cd9d44f705c4e8e /tools | |
parent | d469aa8cfaa9ab6dceb9b8e5d072acc4b20aac8c (diff) |
tools/crypto_bench: fix build when AV_READ_TIME is unavailable
Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/crypto_bench.c | 4 |
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 |