changeset 2498:b1cd4cd56eed libavformat

Indentation
author conrad
date Wed, 05 Sep 2007 00:25:24 +0000
parents 5da824da8e3e
children 77d6661f1947
files matroskaenc.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/matroskaenc.c	Wed Sep 05 00:25:22 2007 +0000
+++ b/matroskaenc.c	Wed Sep 05 00:25:24 2007 +0000
@@ -140,8 +140,8 @@
     if (bytes == 0)
         // don't care how many bytes are used, so use the min
         bytes = needed_bytes;
-        // the bytes needed to write the given size would exceed the bytes
-        // that we need to use, so write unknown size. This shouldn't happen.
+    // the bytes needed to write the given size would exceed the bytes
+    // that we need to use, so write unknown size. This shouldn't happen.
     assert(bytes >= needed_bytes);
 
     size |= 1ULL << bytes*7;
@@ -587,9 +587,9 @@
                 end_ebml_master(pb, subinfo);
                 break;
 
-                case CODEC_TYPE_SUBTITLE:
-                    put_ebml_uint(pb, MATROSKA_ID_TRACKTYPE, MATROSKA_TRACK_TYPE_SUBTITLE);
-                    break;
+            case CODEC_TYPE_SUBTITLE:
+                put_ebml_uint(pb, MATROSKA_ID_TRACKTYPE, MATROSKA_TRACK_TYPE_SUBTITLE);
+                break;
             default:
                 av_log(s, AV_LOG_ERROR, "Only audio and video are supported for Matroska.");
                 break;