From 3a42880592166db97707282162b84c97a30cf51f Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sat, 22 Nov 2014 11:49:39 +0000 Subject: adding ffmpeg-2.4. compiles, but crashes on Mac OS X. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3083 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/media/UVideo.pas | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/media/UVideo.pas') diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas index 5e083b9a..711234fa 100644 --- a/src/media/UVideo.pas +++ b/src/media/UVideo.pas @@ -674,7 +674,11 @@ begin {$IFEND} // check for end-of-file (EOF is not an error) + {$IF (LIBAVFORMAT_VERSION_MAJOR < 56)} if (url_feof(pbIOCtx) <> 0) then + {$ELSE} + if (avio_feof(pbIOCtx) <> 0) then + {$IFEND} begin fEOF := true; Exit; -- cgit v1.2.3