Fix 0 vs 1 porting bug from mplayer.