[MPlayer-cvslog] r25019 - trunk/libao2/ao_macosx.c

ulion subversion at mplayerhq.hu
Sun Nov 11 03:58:45 CET 2007


Author: ulion
Date: Sun Nov 11 03:58:45 2007
New Revision: 25019

Log:
Indent fix for last change.


Modified:
   trunk/libao2/ao_macosx.c

Modified: trunk/libao2/ao_macosx.c
==============================================================================
--- trunk/libao2/ao_macosx.c	(original)
+++ trunk/libao2/ao_macosx.c	Sun Nov 11 03:58:45 2007
@@ -165,11 +165,11 @@ static int read_buffer(unsigned char* da
   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;



More information about the MPlayer-cvslog mailing list