diff avidec.c @ 1441:ad3b03b7b142 libavformat

reindentation, patch by From: Steve Lhomme, slhomme divxcorp com
author diego
date Wed, 01 Nov 2006 21:09:14 +0000
parents 3b00fb8ef8e4
children 404048ea11bc
line wrap: on
line diff
--- a/avidec.c	Wed Nov 01 19:16:18 2006 +0000
+++ b/avidec.c	Wed Nov 01 21:09:14 2006 +0000
@@ -287,7 +287,7 @@
             tag1 = get_le32(pb);
             handler = get_le32(pb); /* codec tag */
 #ifdef DEBUG
-        print_tag("strh", tag1, -1);
+            print_tag("strh", tag1, -1);
 #endif
             if(tag1 == MKTAG('i', 'a', 'v', 's') || tag1 == MKTAG('i', 'v', 'a', 's')){
                 /*
@@ -399,11 +399,11 @@
                     get_le32(pb); /* ClrUsed */
                     get_le32(pb); /* ClrImportant */
 
-                 if(size > 10*4 && size<(1<<30)){
-                    st->codec->extradata_size= size - 10*4;
-                    st->codec->extradata= av_malloc(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
-                    get_buffer(pb, st->codec->extradata, st->codec->extradata_size);
-                 }
+                    if(size > 10*4 && size<(1<<30)){
+                        st->codec->extradata_size= size - 10*4;
+                        st->codec->extradata= av_malloc(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
+                        get_buffer(pb, st->codec->extradata, st->codec->extradata_size);
+                    }
 
                     if(st->codec->extradata_size & 1) //FIXME check if the encoder really did this correctly
                         get_byte(pb);