c->dst_incr-= c->ideal_dst_incr * sample_delta / compensation_distance;
c->dst_incr = c->ideal_dst_incr - c->ideal_dst_incr * (int64_t)sample_delta / compensation_distance;
void av_resample_compensate(AVResampleContext *c, int sample_delta, int compensation_distance){    assert(!c->compensation_distance); //FIXME    c->compensation_distance= compensation_distance;    c->dst_incr-= c->ideal_dst_incr * sample_delta / compensation_distance;}