[FFmpeg-cvslog] r15501 - in trunk: libavcodec/vp3.c libavformat/oggparsetheora.c

conrad subversion
Wed Oct 1 16:44:30 CEST 2008


Author: conrad
Date: Wed Oct  1 16:44:30 2008
New Revision: 15501

Log:
Cosmetics: indentation

Modified:
   trunk/libavcodec/vp3.c
   trunk/libavformat/oggparsetheora.c

Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c	(original)
+++ trunk/libavcodec/vp3.c	Wed Oct  1 16:44:30 2008
@@ -2097,8 +2097,8 @@ static int theora_decode_header(AVCodecC
     }
 
     if (s->theora >= 0x030200) {
-    visible_width  = get_bits_long(gb, 24);
-    visible_height = get_bits_long(gb, 24);
+        visible_width  = get_bits_long(gb, 24);
+        visible_height = get_bits_long(gb, 24);
 
         skip_bits(gb, 8); /* offset x */
         skip_bits(gb, 8); /* offset y */

Modified: trunk/libavformat/oggparsetheora.c
==============================================================================
--- trunk/libavformat/oggparsetheora.c	(original)
+++ trunk/libavformat/oggparsetheora.c	Wed Oct  1 16:44:30 2008
@@ -76,11 +76,11 @@ theora_header (AVFormatContext * s, int 
             skip_bits(&gb, 100);
 
         if (version >= 0x030200) {
-        width  = get_bits_long(&gb, 24);
-        height = get_bits_long(&gb, 24);
-        if (   width  <= st->codec->width  && width  > st->codec->width-16
-            && height <= st->codec->height && height > st->codec->height-16)
-            avcodec_set_dimensions(st->codec, width, height);
+            width  = get_bits_long(&gb, 24);
+            height = get_bits_long(&gb, 24);
+            if (   width  <= st->codec->width  && width  > st->codec->width-16
+                && height <= st->codec->height && height > st->codec->height-16)
+                avcodec_set_dimensions(st->codec, width, height);
 
             skip_bits(&gb, 16);
         }




More information about the ffmpeg-cvslog mailing list