From: Darren S. <li...@yo...> - 2010-04-29 17:18:32
|
# HG changeset patch # User Darren Salt <li...@yo...> # Date 1272559771 -3600 # Node ID 08a42d5731e7f5e971f2289152392944e0206fc3 # Parent 120bae6ed1ce0d2e712c9bfb7f6c5aee35e72368 Minor C99ism. diff --git a/src/demuxers/demux_flac.c b/src/demuxers/demux_flac.c --- a/src/demuxers/demux_flac.c +++ b/src/demuxers/demux_flac.c @@ -352,6 +352,7 @@ demux_flac_t *this = (demux_flac_t *) this_gen; buf_element_t *buf; xine_waveformatex wave; + int bits; this->audio_fifo = this->stream->audio_fifo; @@ -365,7 +366,7 @@ } /* lie about 24bps */ - int bits = this->bits_per_sample > 16 ? 16 : this->bits_per_sample; + bits = this->bits_per_sample > 16 ? 16 : this->bits_per_sample; buf = this->audio_fifo->buffer_pool_alloc (this->audio_fifo); buf->type = BUF_AUDIO_FLAC; |