cosmetics

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26007 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2008-02-16 11:02:04 +00:00
parent e9711acb5d
commit fc5da18fff
1 changed files with 2 additions and 4 deletions

View File

@ -729,11 +729,9 @@ static off_t ts_detect_streams(demuxer_t *demuxer, tsdemux_init_t *param)
p = progid_for_pid(priv, es.pid, param->prog);
if(p != -1)
has_tables++;
if((param->prog == 0) && (p != -1))
{
if(chosen_pid)
has_tables++;
if(!param->prog && chosen_pid)
param->prog = p;
}