aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UAudioDecoder_FFMpeg.pas
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-10 02:10:50 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-10 02:10:50 +0000
commit07d79daa7ca0af3cd24820242a3428fb18f3403b (patch)
tree9dc93838d7815f30a7212de9ee543dffcbb98342 /Game/Code/Classes/UAudioDecoder_FFMpeg.pas
parent78ea8d5b1d7608255de7a776d98032fa14d47b76 (diff)
downloadusdx-07d79daa7ca0af3cd24820242a3428fb18f3403b.tar.gz
usdx-07d79daa7ca0af3cd24820242a3428fb18f3403b.tar.xz
usdx-07d79daa7ca0af3cd24820242a3428fb18f3403b.zip
removed a few unused local variables
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@949 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UAudioDecoder_FFMpeg.pas14
1 files changed, 7 insertions, 7 deletions
diff --git a/Game/Code/Classes/UAudioDecoder_FFMpeg.pas b/Game/Code/Classes/UAudioDecoder_FFMpeg.pas
index 1ac677ce..8903bc09 100644
--- a/Game/Code/Classes/UAudioDecoder_FFMpeg.pas
+++ b/Game/Code/Classes/UAudioDecoder_FFMpeg.pas
@@ -268,16 +268,16 @@ begin
end;
function TFFMpegDecodeStream.GetPosition(): real;
-var
- bytes: integer;
+//var
+// bytes: integer;
begin
// see: tutorial on synching (audio-clock)
Result := 0;
end;
procedure TFFMpegDecodeStream.SetPosition(Time: real);
-var
- bytes: integer;
+//var
+// bytes: integer;
begin
Lock();
seekPos := Trunc(Time * AV_TIME_BASE);
@@ -505,7 +505,7 @@ end;
function TFFMpegDecodeStream.ReadData(Buffer : PChar; BufSize: integer): integer;
var
- outStream : TFFMpegDecodeStream;
+ //outStream : TFFMpegDecodeStream;
len1,
audio_size : integer;
len : integer;
@@ -609,8 +609,8 @@ var
pCodec : PAVCodec;
ffmpegStreamID : Integer;
ffmpegStream : PAVStream;
- wanted_spec,
- csIndex : integer;
+// wanted_spec,
+ //csIndex : integer;
stream : TFFMpegDecodeStream;
begin
result := nil;