diff options
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; |