diff options
Diffstat (limited to '')
-rw-r--r-- | src/media/UAudioDecoder_FFmpeg.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/media/UAudioDecoder_FFmpeg.pas b/src/media/UAudioDecoder_FFmpeg.pas index 7d62d761..0cdf9555 100644 --- a/src/media/UAudioDecoder_FFmpeg.pas +++ b/src/media/UAudioDecoder_FFmpeg.pas @@ -690,7 +690,11 @@ function TFFmpegDecodeStream.ParseLoop(): boolean; var Packet: TAVPacket; SeekTarget: int64; + {$IF FFMPEG_VERSION_INT < 1001000} ByteIOCtx: PByteIOContext; + {$ELSE} + ByteIOCtx: PAVIOContext; + {$ENDIF} ErrorCode: integer; StartSilence: double; // duration of silence at start of stream StartSilencePtr: PDouble; // pointer for the EMPTY status packet |