On 10/21/2014 10:47 AM, Stefano Sabatini wrote:
> -    int64_t cur_sample = av_rescale_q(buf->pts, (AVRational){1, 
> outlink->sample_rate}, outlink->time_base);
> +    int64_t cur_sample = av_rescale_q(buf->pts, inlink->time_base, 
> (AVRational){1, inlink->sample_rate});

Probably OK.

- Derek
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to