1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fix indention

Originally committed as revision 9209 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-06-04 14:53:47 +00:00
parent ad39abcdd9
commit 28f03d0494

View File

@ -541,10 +541,10 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
pes= ts->pids[pid]->u.pes_filter.opaque; pes= ts->pids[pid]->u.pes_filter.opaque;
st= pes->st; st= pes->st;
}else{ }else{
pes = add_pes_stream(ts, pid, stream_type); pes = add_pes_stream(ts, pid, stream_type);
if (pes) if (pes)
st = new_pes_av_stream(pes, 0); st = new_pes_av_stream(pes, 0);
break; break;
} }
default: default:
/* we ignore the other streams */ /* we ignore the other streams */
@ -602,8 +602,7 @@ static void pat_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
} else { } else {
new_service(ts, sid, NULL, NULL); new_service(ts, sid, NULL, NULL);
ts->stop_parse--; ts->stop_parse--;
mpegts_open_section_filter(ts, pmt_pid, mpegts_open_section_filter(ts, pmt_pid, pmt_cb, ts, 1);
pmt_cb, ts, 1);
} }
} }
/* not found */ /* not found */
@ -1163,9 +1162,9 @@ static int mpegts_read_header(AVFormatContext *s,
goto do_pcr; goto do_pcr;
} }
mpegts_set_service(ts); mpegts_set_service(ts);
handle_packets(ts, s->probesize); handle_packets(ts, s->probesize);
/* if could not find service, enable auto_guess */ /* if could not find service, enable auto_guess */
ts->auto_guess = 1; ts->auto_guess = 1;