diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2014-11-22 11:49:39 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2014-11-22 11:49:39 +0000 |
commit | 3a42880592166db97707282162b84c97a30cf51f (patch) | |
tree | f58b0935fab23e49290d1e033d7c484c98e721e4 /src/media/UVideo.pas | |
parent | e1b891639d0efe89805587aaaf78c953867fd638 (diff) | |
download | usdx-3a42880592166db97707282162b84c97a30cf51f.tar.gz usdx-3a42880592166db97707282162b84c97a30cf51f.tar.xz usdx-3a42880592166db97707282162b84c97a30cf51f.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/media/UVideo.pas | 4 |
1 files changed, 4 insertions, 0 deletions
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; |