]> git.sesse.net Git - ffmpeg/commitdiff
lavf/concatdec: reindent after last commit.
authorNicolas George <george@nsup.org>
Mon, 14 Apr 2014 09:58:17 +0000 (11:58 +0200)
committerNicolas George <george@nsup.org>
Tue, 29 Apr 2014 11:25:59 +0000 (13:25 +0200)
libavformat/concatdec.c

index 98f4160f2e89d6bc8371f8fdedd3e4869aba1cb5..5751d0c72652b2299f068b8ed54d0267f27a78f3 100644 (file)
@@ -406,17 +406,16 @@ static int concat_read_packet(AVFormatContext *avf, AVPacket *pkt)
         }
         if (ret < 0)
             return ret;
-        /* TODO reindent */
-            if ((ret = match_streams(avf)) < 0) {
-                av_packet_unref(pkt);
-                return ret;
-            }
-            cs = &cat->cur_file->streams[pkt->stream_index];
-            if (cs->out_stream_index < 0) {
-                av_packet_unref(pkt);
-                continue;
-            }
-            pkt->stream_index = cs->out_stream_index;
+        if ((ret = match_streams(avf)) < 0) {
+            av_packet_unref(pkt);
+            return ret;
+        }
+        cs = &cat->cur_file->streams[pkt->stream_index];
+        if (cs->out_stream_index < 0) {
+            av_packet_unref(pkt);
+            continue;
+        }
+        pkt->stream_index = cs->out_stream_index;
         break;
     }