Commit 5c2a4d3b authored by Anton Khirnov's avatar Anton Khirnov Committed by Michael Niedermayer

ffmpeg: fix broken indentation.

parent dd072428
...@@ -1652,7 +1652,9 @@ static int output_packet(InputStream *ist, int ist_index, ...@@ -1652,7 +1652,9 @@ static int output_packet(InputStream *ist, int ist_index,
ist->is_past_recording_time = 1; ist->is_past_recording_time = 1;
continue; continue;
} }
if (ost->source_index == ist_index) { if (ost->source_index != ist_index)
continue;
#if CONFIG_AVFILTER #if CONFIG_AVFILTER
frame_available = ist->st->codec->codec_type != AVMEDIA_TYPE_VIDEO || frame_available = ist->st->codec->codec_type != AVMEDIA_TYPE_VIDEO ||
!ost->output_video_filter || avfilter_poll_frame(ost->output_video_filter->inputs[0]); !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, ...@@ -1770,7 +1772,6 @@ static int output_packet(InputStream *ist, int ist_index,
avfilter_unref_buffer(ost->picref); avfilter_unref_buffer(ost->picref);
} }
#endif #endif
}
} }
av_free(buffer_to_free); av_free(buffer_to_free);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment