avconv: remove an always true condition and reindent.
This commit is contained in:
parent
7204ec1a88
commit
51aeb69452
2
avconv.c
2
avconv.c
@ -1856,7 +1856,6 @@ static int output_packet(InputStream *ist, int ist_index,
|
||||
/* set the input output pts pairs */
|
||||
//ost->sync_ipts = (double)(ist->pts + input_files[ist->file_index].ts_offset - start_time)/ AV_TIME_BASE;
|
||||
|
||||
if (ost->encoding_needed) {
|
||||
av_assert0(ist->decoding_needed);
|
||||
switch(ost->st->codec->codec_type) {
|
||||
case AVMEDIA_TYPE_AUDIO:
|
||||
@ -1879,7 +1878,6 @@ static int output_packet(InputStream *ist, int ist_index,
|
||||
default:
|
||||
abort();
|
||||
}
|
||||
}
|
||||
#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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user