---
avconv.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/avconv.c b/avconv.c
index a9b192a..81315b6 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1585,7 +1585,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]);
@@ -1692,7 +1694,6 @@ static int output_packet(InputStream *ist, int ist_index,
avfilter_unref_buffer(ost->picref);
}
#endif
- }
}
av_free(buffer_to_free);
--
1.7.5.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel