fixed possible compile error in cap_ffmpeg_impl.hpp (bug #2365)

This commit is contained in:
Vadim Pisarevsky 2012-09-19 16:48:19 +04:00
parent d38359620e
commit 4e07561141

View File

@ -140,6 +140,10 @@ extern "C" {
#define AV_NOPTS_VALUE_ ((int64_t)AV_NOPTS_VALUE)
#endif
#ifndef AVERROR_EOF
#define AVERROR_EOF (-MKTAG( 'E','O','F',' '))
#endif
static int get_number_of_cpus(void)
{
#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(52, 111, 0)