f/=_in->getInfo()->fps1000; f*=_param->newfps;
f*=_in->getInfo()->fps1000; f/=_param->newfps;
uint8_t ADMVideoResampleFPS::getFrameNumberNoAlloc(uint32_t frame,                                             uint32_t *len,                                             ADMImage *data,                                             uint32_t *flags){  ADM_assert(frame<_info.nb_frames);  // read uncompressed frame    // What frame are we seeking ?  double f;    f=frame;  f/=_in->getInfo()->fps1000;  f*=_param->newfps;    uint32_t nw;    nw=(uint32_t)floor(f+0.4);  if(nw>_in->getInfo()->nb_frames-1)    nw=_in->getInfo()->nb_frames-1;  if(!_in->getFrameNumberNoAlloc(nw, len,data,flags)) return 0;  return 1; }