diff matroskadec.c @ 2145:3dd44fd1cbf4 libavformat

cosmetics: indentation
author aurel
date Mon, 04 Jun 2007 22:21:29 +0000
parents 7fe203e939e5
children 020cc5d6d6d7
line wrap: on
line diff
--- a/matroskadec.c	Mon Jun 04 22:19:17 2007 +0000
+++ b/matroskadec.c	Mon Jun 04 22:21:29 2007 +0000
@@ -2426,24 +2426,24 @@
                         matroska_queue_packet(matroska, pkt);
                     }
                 } else {
-                pkt = av_mallocz(sizeof(AVPacket));
-                /* XXX: prevent data copy... */
-                if (av_new_packet(pkt, slice_size) < 0) {
-                    res = AVERROR_NOMEM;
-                    n = laces-1;
-                    break;
-                }
-                memcpy (pkt->data, data+slice_offset, slice_size);
-
-                if (n == 0)
-                    pkt->flags = is_keyframe;
-                pkt->stream_index = matroska->tracks[track]->stream_index;
-
-                pkt->pts = timecode;
-                pkt->pos = pos;
-                pkt->duration = duration;
-
-                matroska_queue_packet(matroska, pkt);
+                    pkt = av_mallocz(sizeof(AVPacket));
+                    /* XXX: prevent data copy... */
+                    if (av_new_packet(pkt, slice_size) < 0) {
+                        res = AVERROR_NOMEM;
+                        n = laces-1;
+                        break;
+                    }
+                    memcpy (pkt->data, data+slice_offset, slice_size);
+
+                    if (n == 0)
+                        pkt->flags = is_keyframe;
+                    pkt->stream_index = matroska->tracks[track]->stream_index;
+
+                    pkt->pts = timecode;
+                    pkt->pos = pos;
+                    pkt->duration = duration;
+
+                    matroska_queue_packet(matroska, pkt);
                 }
 
                 if (timecode != AV_NOPTS_VALUE)