tools/crypto_bench: fix build when AV_READ_TIME is unavailable
[ffmpeg.git] / tools / crypto_bench.c
index 96820ae..0f62068 100644 (file)
 #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