summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-11 02:58:45 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-11 02:58:45 +0000
commit97e52ed6fdc62094707ba08901324fcf30a27b06 (patch)
tree42d9ce18f3836802c1868cee321a50b8f2d1a6a9 /libao2
parent8fef9b88207c575626057329ef164ecfcb70ddfb (diff)
downloadmpv-97e52ed6fdc62094707ba08901324fcf30a27b06.tar.bz2
mpv-97e52ed6fdc62094707ba08901324fcf30a27b06.tar.xz
Indent fix for last change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25019 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_macosx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libao2/ao_macosx.c b/libao2/ao_macosx.c
index 5ac0dd3e68..d66f168288 100644
--- a/libao2/ao_macosx.c
+++ b/libao2/ao_macosx.c
@@ -165,11 +165,11 @@ static int read_buffer(unsigned char* data,int len){
if (first_len > len) first_len = len;
// till end of buffer
if (data) {
- memcpy (data, &ao->buffer[ao->buf_read_pos], first_len);
- if (len > first_len) { // we have to wrap around
- // remaining part from beginning of buffer
- memcpy (&data[first_len], ao->buffer, len - first_len);
- }
+ memcpy (data, &ao->buffer[ao->buf_read_pos], first_len);
+ if (len > first_len) { // we have to wrap around
+ // remaining part from beginning of buffer
+ memcpy (&data[first_len], ao->buffer, len - first_len);
+ }
}
ao->buf_read_pos = (ao->buf_read_pos + len) % ao->buffer_len;
return len;