[PATCH] use av_q2d() instead
Hi, please review the patch. Thanks, Limin
Hi On Thu, Mar 08, 2007 at 01:26:25PM +0800, Limin Wang wrote:
Hi,
please review the patch.
Thanks, Limin
[...]
@@ -1079,9 +1079,7 @@ goto discard_packet; } if (ist->st->codec->time_base.num != 0) { - ist->next_pts += ((int64_t)AV_TIME_BASE * - ist->st->codec->time_base.num) / - ist->st->codec->time_base.den; + ist->next_pts += ((int64_t)AV_TIME_BASE * av_q2d(ist->st->codec->time_base));
replacing exact integer calculations by approximations is not accpetable [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I count him braver who overcomes his desires than him who conquers his enemies for the hardest victory is over self. -- Aristotle
participants (2)
-
lance.lmwang@gmail.com -
michaelni@gmx.at