Commit d601fe4e authored by michael's avatar michael

Enable decoding of more mpeg-ts streams for pcHDTV patch by (Doug Larrick <doug at ties dot org>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2390 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 05a08afc
......@@ -975,7 +975,13 @@ static int mpegts_read_header(AVFormatContext *s,
if (ts->nb_services <= 0) {
/* no SDT found, we try to look at the PAT */
/* First remove the SDT filters from each PID */
int i;
for (i=0; i < NB_PID_MAX; i++) {
if (ts->pids[i])
mpegts_close_filter(ts, ts->pids[i]);
}
url_fseek(pb, pos, SEEK_SET);
mpegts_scan_pat(ts);
......
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