diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-16 18:04:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-16 18:27:33 +0200 |
commit | cc73b4f574b6c99066a0482bdfc20e6da1f400a7 (patch) | |
tree | 5c067dbc344473ba479147ab9c9abc01bcbd12e3 | |
parent | 8ac3b2cdb751716a8de1dfa0209a0f5c786a4b9a (diff) | |
download | ffmpeg-cc73b4f574b6c99066a0482bdfc20e6da1f400a7.tar.gz |
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>
(cherry picked from commit 4a99134f1a71994a0dc4542a0d6bee8e36146b60)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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 |