From 2367a195c5f9903e120e9359f7d823fd7d02b142 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Fri, 31 Aug 2012 14:35:11 +0400 Subject: [PATCH] probably fixed compile error on MacOSX 10.6 --- modules/highgui/src/cap_ffmpeg_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/src/cap_ffmpeg_impl.hpp b/modules/highgui/src/cap_ffmpeg_impl.hpp index d3a5ed3ad..caf297912 100644 --- a/modules/highgui/src/cap_ffmpeg_impl.hpp +++ b/modules/highgui/src/cap_ffmpeg_impl.hpp @@ -2050,7 +2050,7 @@ bool InputMediaStream_FFMPEG::read(unsigned char** data, int* size, int* endOfFi if (ret < 0) { - if ((int64_t)ret == (int64_t)AVERROR_EOF) + if (ret == AVERROR_EOF) *endOfFile = true; return false; }