OSDN Git Service

Cosmetics: indentation
authorDavid Conrad <lessen42@gmail.com>
Wed, 1 Oct 2008 14:44:30 +0000 (14:44 +0000)
committerDavid Conrad <lessen42@gmail.com>
Wed, 1 Oct 2008 14:44:30 +0000 (14:44 +0000)
Originally committed as revision 15501 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vp3.c
libavformat/oggparsetheora.c

index e01ceed..625d832 100644 (file)
@@ -2097,8 +2097,8 @@ static int theora_decode_header(AVCodecContext *avctx, GetBitContext *gb)
     }
 
     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 */
index c5fac1d..851f0e3 100644 (file)
@@ -76,11 +76,11 @@ theora_header (AVFormatContext * s, int idx)
             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);
         }