aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-30 15:08:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-30 18:08:22 +0200
commit5c2a4d3bb1be292f4fdcc87fa7754b2d670c1686 (patch)
tree8099caa3d4d0847060a331bf22a2e54325ab3eaa /ffmpeg.c
parentdd0724288ee86d487e261f23471f861ff4620d8e (diff)
downloadffmpeg-5c2a4d3bb1be292f4fdcc87fa7754b2d670c1686.tar.gz
ffmpeg: fix broken indentation.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 611483d62f..9e270e8e9d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1652,7 +1652,9 @@ static int output_packet(InputStream *ist, int ist_index,
ist->is_past_recording_time = 1;
continue;
}
- 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]);
@@ -1770,7 +1772,6 @@ static int output_packet(InputStream *ist, int ist_index,
avfilter_unref_buffer(ost->picref);
}
#endif
- }
}
av_free(buffer_to_free);