[Top][All Lists]
[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: |
Bastiaan Jacques |
Subject: |
Re: [Gnash-commit] /srv/bzr/gnash/trunk r10644: Fix when we don't use Speex resampling |
Date: |
Mon, 2 Mar 2009 05:43:22 -0800 (PST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
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;
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