[SCM] libav/experimental: indention

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:47:29 UTC 2013


The following commit has been merged in the experimental branch:
commit e0977c80452fccbb687e1ad069318cd5c2bbf8ef
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Wed Apr 19 12:53:47 2006 +0000

    indention
    
    Originally committed as revision 5301 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mov.c b/libavformat/mov.c
index e5aa8f3..dca2f37 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1498,19 +1498,19 @@ static int mov_read_cmov(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
 /* edit list atom */
 static int mov_read_elst(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
 {
-  int i, edit_count;
-
-  get_byte(pb); /* version */
-  get_byte(pb); get_byte(pb); get_byte(pb); /* flags */
-  edit_count= c->streams[c->fc->nb_streams-1]->edit_count = get_be32(pb);     /* entries */
-
-  for(i=0; i<edit_count; i++){
-    get_be32(pb); /* Track duration */
-    get_be32(pb); /* Media time */
-    get_be32(pb); /* Media rate */
-  }
-  dprintf("track[%i].edit_count = %i\n", c->fc->nb_streams-1, c->streams[c->fc->nb_streams-1]->edit_count);
-  return 0;
+    int i, edit_count;
+
+    get_byte(pb); /* version */
+    get_byte(pb); get_byte(pb); get_byte(pb); /* flags */
+    edit_count= c->streams[c->fc->nb_streams-1]->edit_count = get_be32(pb);     /* entries */
+
+    for(i=0; i<edit_count; i++){
+        get_be32(pb); /* Track duration */
+        get_be32(pb); /* Media time */
+        get_be32(pb); /* Media rate */
+    }
+    dprintf("track[%i].edit_count = %i\n", c->fc->nb_streams-1, c->streams[c->fc->nb_streams-1]->edit_count);
+    return 0;
 }
 
 static const MOVParseTableEntry mov_default_parse_table[] = {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list