changeset 3077:507565d7d611 libavformat

indentation
author bcoudurier
date Mon, 25 Feb 2008 12:44:15 +0000
parents 79fcc3c853d4
children 099c8f03c62e
files mov.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Mon Feb 25 12:42:32 2008 +0000
+++ b/mov.c	Mon Feb 25 12:44:15 2008 +0000
@@ -294,12 +294,12 @@
             st->codec->extradata = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE);
             if (!st->codec->extradata)
                 return AVERROR(ENOMEM);
-                get_buffer(pb, st->codec->extradata, len);
-                st->codec->extradata_size = len;
-                /* from mplayer */
-                if ((*st->codec->extradata >> 3) == 29) {
-                    st->codec->codec_id = CODEC_ID_MP3ON4;
-                }
+            get_buffer(pb, st->codec->extradata, len);
+            st->codec->extradata_size = len;
+            /* from mplayer */
+            if ((*st->codec->extradata >> 3) == 29) {
+                st->codec->codec_id = CODEC_ID_MP3ON4;
+            }
         }
     }
     return 0;
@@ -423,10 +423,10 @@
     st->codec->extradata = av_mallocz(atom.size + 0x5a + FF_INPUT_BUFFER_PADDING_SIZE);
     if (!st->codec->extradata)
         return AVERROR(ENOMEM);
-        st->codec->extradata_size = 0x5a + atom.size;
-        memcpy(st->codec->extradata, "SVQ3", 4); // fake
-        get_buffer(pb, st->codec->extradata + 0x5a, atom.size);
-        dprintf(c->fc, "Reading SMI %"PRId64"  %s\n", atom.size, st->codec->extradata + 0x5a);
+    st->codec->extradata_size = 0x5a + atom.size;
+    memcpy(st->codec->extradata, "SVQ3", 4); // fake
+    get_buffer(pb, st->codec->extradata + 0x5a, atom.size);
+    dprintf(c->fc, "Reading SMI %"PRId64"  %s\n", atom.size, st->codec->extradata + 0x5a);
     return 0;
 }