comparison libmpdemux/demux_ts.c @ 21099:7901c90ac6ac

slight simplification in demux_control_ts: no need to check *arg with last_{aid,vid} (small bugfix, too)
author nicodvb
date Mon, 20 Nov 2006 21:03:46 +0000
parents e45dc4e170a5
children d7b2fa4c39da
comparison
equal deleted inserted replaced
21098:90ed81455c5c 21099:7901c90ac6ac
3235 break; 3235 break;
3236 sh = priv->ts.streams[i].sh; 3236 sh = priv->ts.streams[i].sh;
3237 } 3237 }
3238 } 3238 }
3239 } 3239 }
3240 else if(n <= priv->last_aid) 3240 else //audio track <n>
3241 { 3241 {
3242 for(i = 0; i < 8192; i++) 3242 for(i = 0; i < 8192; i++)
3243 { 3243 {
3244 if(priv->ts.streams[i].id == n && priv->ts.streams[i].type == reftype) 3244 if(priv->ts.streams[i].id == n && priv->ts.streams[i].type == reftype)
3245 { 3245 {