/* tick.h - Compute successive integer multiples of a rational * number without long-term rounding error. * (c)2002 by Lennert Buytenhek <buytenh@gnu.org> * File licensed under the GPL, see http://www.fsf.org/ for more info. * Dedicated to Marija Kulikova. */#include "avcodec.h"typedefstructTicker{intvalue;intinrate;intoutrate;intdiv;intmod;}Ticker;externvoidticker_init(Ticker*tick,INT64inrate,INT64outrate);