From c8699f1bcc7854036071a06e923333d30dd07ed1 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Thu, 29 Apr 2010 17:49:31 +0100 Subject: Minor C99ism. --- src/demuxers/demux_flac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/demuxers/demux_flac.c b/src/demuxers/demux_flac.c index 11bbda061..672eafdbb 100644 --- a/src/demuxers/demux_flac.c +++ b/src/demuxers/demux_flac.c @@ -352,6 +352,7 @@ static void demux_flac_send_headers(demux_plugin_t *this_gen) { 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 @@ static void demux_flac_send_headers(demux_plugin_t *this_gen) { } /* 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; -- cgit v1.2.3