OSDN Git Service

avconv: fix broken indentation.
authorAnton Khirnov <anton@khirnov.net>
Wed, 17 Aug 2011 09:33:30 +0000 (11:33 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 17 Aug 2011 17:58:31 +0000 (19:58 +0200)
avconv.c

index 80924c1..18af625 100644 (file)
--- a/avconv.c
+++ b/avconv.c
@@ -1599,7 +1599,9 @@ static int output_packet(InputStream *ist, int ist_index,
                 int frame_size;
 
                 ost = &ost_table[i];
-                if (ost->source_index == ist_index) {
+                if (ost->source_index != ist_index)
+                    continue;
+
 #if CONFIG_AVFILTER
                 frame_available = ist->st->codec->codec_type != AVMEDIA_TYPE_VIDEO ||
                     !ost->output_video_filter || avfilter_poll_frame(ost->output_video_filter->inputs[0]);
@@ -1706,7 +1708,6 @@ static int output_packet(InputStream *ist, int ist_index,
                         avfilter_unref_buffer(ost->picref);
                 }
 #endif
-                }
             }
 
         av_free(buffer_to_free);