probably fixed compile error on MacOSX 10.6
authorVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Fri, 31 Aug 2012 10:35:11 +0000 (14:35 +0400)
committerVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Fri, 31 Aug 2012 10:35:11 +0000 (14:35 +0400)
modules/highgui/src/cap_ffmpeg_impl.hpp

index d3a5ed3..caf2979 100644 (file)
@@ -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;
         }