return 0;
if(!c->stream->feed && c->first_pts!=AV_NOPTS_VALUE) { time_pts = ((int64_t)(cur_time - c->start_time) * c->fmt_in->pts_den) / ((int64_t) c->fmt_in->pts_num*1000); delta_pts = c->cur_pts - time_pts; m_delay = (delta_pts * 1000 * c->fmt_in->pts_num) / c->fmt_in->pts_den; return m_delay>0 ? m_delay : 0; } else return 0;
static int compute_send_delay(HTTPContext *c){    int datarate = 8 * get_longterm_datarate(&c->datarate, c->data_count);     if (datarate > c->stream->bandwidth * 2000) {        return 1000;    }    return 0;}