aboutsummaryrefslogtreecommitdiffstats
path: root/src/media/UAudioDecoder_FFmpeg.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/media/UAudioDecoder_FFmpeg.pas')
-rw-r--r--src/media/UAudioDecoder_FFmpeg.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/UAudioDecoder_FFmpeg.pas b/src/media/UAudioDecoder_FFmpeg.pas
index 46ff0806..21322064 100644
--- a/src/media/UAudioDecoder_FFmpeg.pas
+++ b/src/media/UAudioDecoder_FFmpeg.pas
@@ -462,7 +462,7 @@ begin
// Close the video file
if (fFormatCtx <> nil) then
begin
- {$IF LIBAVFORMAT_VERSION >= 53017003)}
+ {$IF LIBAVFORMAT_VERSION >= 53024002)}
avformat_close_input(@fFormatCtx);
{$ELSE}
av_close_input_file(fFormatCtx);