diff options
Diffstat (limited to 'src/media/UAudioDecoder_FFmpeg.pas')
-rw-r--r-- | src/media/UAudioDecoder_FFmpeg.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media/UAudioDecoder_FFmpeg.pas b/src/media/UAudioDecoder_FFmpeg.pas index 0a760e43..6b4f0cba 100644 --- a/src/media/UAudioDecoder_FFmpeg.pas +++ b/src/media/UAudioDecoder_FFmpeg.pas @@ -332,7 +332,7 @@ begin //Log.LogStatus('AudioStreamIndex is: '+ inttostr(ffmpegStreamID), 'UAudio_FFmpeg'); -{$IF LIBAVFORMAT_VERSION < 52110000} // < 52.110.0 +{$IF LIBAVFORMAT_VERSION <= 52111000} // <= 52.111.0 fAudioStream := fFormatCtx.streams[fAudioStreamIndex]; {$ELSE} fAudioStream := Pointer(fFormatCtx.streams^) + fAudioStreamIndex; |