[FFmpeg-devel] AVFrac deprecated

Thorsten Jordan tjordan
Fri Dec 14 09:13:55 CET 2007

Thorsten Jordan schrieb:
> M?ns Rullg?rd schrieb:
>> Michael Niedermayer <michaelni at gmx.at> writes:
>>> On Thu, Dec 13, 2007 at 04:56:03PM +0100, Thorsten Jordan wrote:
>>>> Hello,
> difference to current implementation:
> pts = (double)(ost->st->pts.num / ost->st->pts.den) ...
> which is not the same, as pts.val is only the *integer* part of the
> number represented by AVFrac.
ouch too early in the morning.
your patch is correct, the result of the div is already integer.
sorry for the noise.

Regards, Thorsten

More information about the ffmpeg-devel mailing list