gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] /srv/bzr/gnash/trunk r10644: Fix when we don't use Sp


From: Markus Gothe
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r10644: Fix when we don't use Speex resampling
Date: Tue, 3 Mar 2009 06:54:42 +0100


On 2 Mar 2009, at 14:43, Bastiaan Jacques wrote:



On Mon, 2 Mar 2009, Markus Gothe wrote:

Fix when we don't use Speex resampling
modified:
libmedia/AudioDecoderSpeex.cpp

#ifdef RESAMPLING_SPEEX
+               spx_uint32_t conv_size = 0;
        conv_data = new boost::int16_t[_target_frame_size];

Please leave the original spacing intact.

-        conv_size = outsize;
+        boost::int16_t conv_size = outsize;

Gah, I missed that one...

Why use a 16-bit int here? Both the value assigned to it and the value
it gets assigned to are 32-bit integers.

Bastiaan





reply via email to

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