[FFmpeg-cvslog] r21258 - trunk/libavformat/oma.c

cehoyos subversion
Sun Jan 17 01:27:22 CET 2010


Author: cehoyos
Date: Sun Jan 17 01:27:22 2010
New Revision: 21258

Log:
Fix indentation after r21257.

Modified:
   trunk/libavformat/oma.c

Modified: trunk/libavformat/oma.c
==============================================================================
--- trunk/libavformat/oma.c	Sun Jan 17 01:23:08 2010	(r21257)
+++ trunk/libavformat/oma.c	Sun Jan 17 01:27:22 2010	(r21258)
@@ -79,16 +79,16 @@ static int oma_read_header(AVFormatConte
         return -1;
 
     if(!memcmp(buf, "ea3", 3)) {
-    ea3_taglen = ((buf[6] & 0x7f) << 21) | ((buf[7] & 0x7f) << 14) | ((buf[8] & 0x7f) << 7) | (buf[9] & 0x7f);
+        ea3_taglen = ((buf[6] & 0x7f) << 21) | ((buf[7] & 0x7f) << 14) | ((buf[8] & 0x7f) << 7) | (buf[9] & 0x7f);
 
-    EA3_pos = ea3_taglen + 10;
-    if (buf[5] & 0x10)
-        EA3_pos += 10;
+        EA3_pos = ea3_taglen + 10;
+        if (buf[5] & 0x10)
+            EA3_pos += 10;
 
-    url_fseek(s->pb, EA3_pos, SEEK_SET);
-    ret = get_buffer(s->pb, buf, EA3_HEADER_SIZE);
-    if (ret != EA3_HEADER_SIZE)
-        return -1;
+        url_fseek(s->pb, EA3_pos, SEEK_SET);
+        ret = get_buffer(s->pb, buf, EA3_HEADER_SIZE);
+        if (ret != EA3_HEADER_SIZE)
+            return -1;
     } else {
         ret = get_buffer(s->pb, buf + 10, EA3_HEADER_SIZE - 10);
         EA3_pos = 0;



More information about the ffmpeg-cvslog mailing list