From 1c7029d9de106f5c8ffe5a5dbdafbede86344cfe Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Thu, 24 May 2012 09:27:37 +0000 Subject: cosmetics: long variable names. no code change. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2890 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/media/UAudioDecoder_FFmpeg.pas | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/media/UAudioDecoder_FFmpeg.pas b/src/media/UAudioDecoder_FFmpeg.pas index ccec7090..46ff0806 100644 --- a/src/media/UAudioDecoder_FFmpeg.pas +++ b/src/media/UAudioDecoder_FFmpeg.pas @@ -690,8 +690,8 @@ var ErrorCode: integer; StartSilence: double; // duration of silence at start of stream StartSilencePtr: PDouble; // pointer for the EMPTY status packet - fs: integer; - ue: integer; + fileSize: integer; + urlError: integer; // Note: pthreads wakes threads waiting on a mutex in the order of their // priority and not in FIFO order. SDL does not provide any option to @@ -838,11 +838,11 @@ begin // check for errors {$IF (LIBAVFORMAT_VERSION >= 52103000)} - ue := ByteIOCtx^.error; + urlError := ByteIOCtx^.error; {$ELSE} - ue := url_ferror(ByteIOCtx); + urlError := url_ferror(ByteIOCtx); {$IFEND} - if (ue <> 0) then + if (urlError <> 0) then begin // an error occured -> abort and wait for repositioning or termination fPacketQueue.PutStatus(PKT_STATUS_FLAG_ERROR, nil); @@ -852,11 +852,11 @@ begin // url_feof() does not detect an EOF for some files // so we have to do it this way. {$IF (LIBAVFORMAT_VERSION >= 53009000)} - fs := avio_size(fFormatCtx^.pb); + fileSize := avio_size(fFormatCtx^.pb); {$ELSE} - fs := fFormatCtx^.file_size; + fileSize := fFormatCtx^.file_size; {$IFEND} - if ((fs <> 0) and (ByteIOCtx^.pos >= fs)) then + if ((fileSize <> 0) and (ByteIOCtx^.pos >= fileSize)) then begin fPacketQueue.PutStatus(PKT_STATUS_FLAG_EOF, nil); Exit; -- cgit v1.2.3