diff options
Diffstat (limited to 'src/lib/ffmpeg-0.7')
-rw-r--r-- | src/lib/ffmpeg-0.7/avio.pas | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ffmpeg-0.7/avio.pas b/src/lib/ffmpeg-0.7/avio.pas index 0aa9dc77..ad3c8c80 100644 --- a/src/lib/ffmpeg-0.7/avio.pas +++ b/src/lib/ffmpeg-0.7/avio.pas @@ -630,11 +630,14 @@ function avio_seek(s: PAVIOContext; offset: cint64; whence: cint): cint64; function avio_skip(s: PAVIOContext; offset: cint64): cint64; cdecl; external av__format; +{$IFDEF UNIX} (** * ftell() equivalent for AVIOContext. * @return position or AVERROR. *) function avio_tell(s: PAVIOContext): cint64; {$IFDEF HasInline}inline;{$ENDIF} +{$ELSE} +{$ENDIF} (** * Get the filesize. @@ -881,9 +884,12 @@ begin end; {$ENDIF} +{$IFDEF UNIX} function avio_tell(s: PAVIOContext): cint64; {$IFDEF HasInline}inline;{$ENDIF} begin Result := avio_seek(s, 0, SEEK_CUR); end; +{$ELSE} +{$ENDIF} end. |