[FFmpeg-cvslog] r17227 - trunk/libavformat/oggdec.c

pross subversion
Sat Feb 14 14:44:21 CET 2009


Author: pross
Date: Sat Feb 14 14:44:21 2009
New Revision: 17227

Log:
Use consistent indent style in oggdec.

Modified:
   trunk/libavformat/oggdec.c

Modified: trunk/libavformat/oggdec.c
==============================================================================
--- trunk/libavformat/oggdec.c	Sat Feb 14 14:40:53 2009	(r17226)
+++ trunk/libavformat/oggdec.c	Sat Feb 14 14:44:21 2009	(r17227)
@@ -271,11 +271,11 @@ ogg_read_page (AVFormatContext * s, int 
                 int seg = os->segments[os->segp++];
                 os->pstart += seg;
                 if (seg < 255)
-                  break;
+                    break;
             }
         }
     }else{
-      os->psize = 0;
+        os->psize = 0;
     }
 
     if (os->bufsize - os->bufpos < size){
@@ -368,13 +368,13 @@ ogg_packet (AVFormatContext * s, int *st
     if (os->header < 0){
         int hdr = os->codec->header (s, idx);
         if (!hdr){
-          os->header = os->seq;
-          os->segp = segp;
-          os->psize = psize;
-          ogg->headers = 1;
+            os->header = os->seq;
+            os->segp = segp;
+            os->psize = psize;
+            ogg->headers = 1;
         }else{
-          os->pstart += os->psize;
-          os->psize = 0;
+            os->pstart += os->psize;
+            os->psize = 0;
         }
     }
 
@@ -480,7 +480,7 @@ ogg_read_header (AVFormatContext * s, AV
     ogg->curidx = -1;
     //linear headers seek from start
     if (ogg_get_headers (s) < 0){
-      return -1;
+        return -1;
     }
 
     //linear granulepos seek from end




More information about the ffmpeg-cvslog mailing list