uint8_t * buf;
uint8_t * obuf;
hb_list_t * list;
- int64_t pts;
- int64_t framedur;
+ double pts;
+ double framedur;
int out_discrete_channels;
};
&pv->input_samples, &pv->output_bytes );
pv->buf = malloc( pv->input_samples * sizeof( float ) );
pv->obuf = malloc( pv->output_bytes );
- pv->framedur = 90000LL * pv->input_samples /
+ pv->framedur = 90000.0 * pv->input_samples /
( audio->config.out.samplerate * pv->out_discrete_channels );
cfg = faacEncGetCurrentConfiguration( pv->faac );