]> git.sesse.net Git - ffmpeg/commitdiff
ffprobe: reindent after previous commit
authorStefano Sabatini <stefasab@gmail.com>
Fri, 5 Oct 2012 21:56:39 +0000 (23:56 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 5 Oct 2012 21:58:23 +0000 (23:58 +0200)
ffprobe.c

index f3c846085b1d95f8b365a3072fccefabee7a9318..2187ce2652a9cae5d7bc33d0d546aaac7d5abd30 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1618,15 +1618,15 @@ static void read_packets(WriterContext *w, AVFormatContext *fmt_ctx)
 
     while (!av_read_frame(fmt_ctx, &pkt)) {
         if (selected_streams[pkt.stream_index]) {
-        if (do_read_packets) {
-            if (do_show_packets)
-                show_packet(w, fmt_ctx, &pkt, i++);
-            nb_streams_packets[pkt.stream_index]++;
-        }
-        if (do_read_frames) {
-            pkt1 = pkt;
-            while (pkt1.size && process_frame(w, fmt_ctx, &frame, &pkt1) > 0);
-        }
+            if (do_read_packets) {
+                if (do_show_packets)
+                    show_packet(w, fmt_ctx, &pkt, i++);
+                nb_streams_packets[pkt.stream_index]++;
+            }
+            if (do_read_frames) {
+                pkt1 = pkt;
+                while (pkt1.size && process_frame(w, fmt_ctx, &frame, &pkt1) > 0);
+            }
         }
         av_free_packet(&pkt);
     }