gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Build problem on OS/2


From: strk
Subject: Re: [Gnash-dev] Build problem on OS/2
Date: Thu, 9 Aug 2007 05:47:28 +0200

On Wed, Aug 08, 2007 at 06:03:37PM -0700, David Rorex wrote:
> On 8/8/07, Paul Smedley <address@hidden> wrote:

> Why is it even calling ceil on an int in the first place? I think you should
> be able to simply do: (regardless of platform)
> 
>         in->ensureBytes( sample_count * ( 3 + n_bits/8 );

It's not calling ceil on an int, but on the result of a division.
We want to get 1 if n_bits is 6 ...

ceil(n_bits/8)

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]