projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d469aa8
)
tools/crypto_bench: fix build when AV_READ_TIME is unavailable
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Sep 2014 16:04:51 +0000
(18:04 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Sep 2014 16:25:43 +0000
(18:25 +0200)
Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/crypto_bench.c
patch
|
blob
|
history
diff --git
a/tools/crypto_bench.c
b/tools/crypto_bench.c
index
96820ae
..
0f62068
100644
(file)
--- 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