changeset 1011:a149521570f8 libavformat

indention
author bcoudurier
date Sun, 12 Mar 2006 23:55:34 +0000
parents 62623b1abf81
children 9a88a1f43ea9
files mov.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Sun Mar 12 15:43:22 2006 +0000
+++ b/mov.c	Sun Mar 12 23:55:34 2006 +0000
@@ -961,11 +961,11 @@
 #ifdef DEBUG
             av_log(NULL, AV_LOG_DEBUG, "frames/samples = %d\n", frames_per_sample);
 #endif
-        get_buffer(pb, codec_name, 32); /* codec name, pascal string (FIXME: true for mp4?) */
-        if (codec_name[0] <= 31) {
-            memcpy(st->codec->codec_name, &codec_name[1],codec_name[0]);
-            st->codec->codec_name[codec_name[0]] = 0;
-        }
+            get_buffer(pb, codec_name, 32); /* codec name, pascal string (FIXME: true for mp4?) */
+            if (codec_name[0] <= 31) {
+                memcpy(st->codec->codec_name, &codec_name[1],codec_name[0]);
+                st->codec->codec_name[codec_name[0]] = 0;
+            }
 
             st->codec->bits_per_sample = get_be16(pb); /* depth */
             st->codec->color_table_id = get_be16(pb); /* colortable id */