Browse Source

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 4a99134f1a)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4.1
Michael Niedermayer 11 years ago
parent
commit
cc73b4f574
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tools/crypto_bench.c

+ 4
- 0
tools/crypto_bench.c View File

@@ -33,6 +33,10 @@
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/timer.h" #include "libavutil/timer.h"


#ifndef AV_READ_TIME
#define AV_READ_TIME(x) 0
#endif

#if HAVE_UNISTD_H #if HAVE_UNISTD_H
#include <unistd.h> /* for getopt */ #include <unistd.h> /* for getopt */
#endif #endif


Loading…
Cancel
Save