diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-04-29 17:49:31 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2010-04-29 17:49:31 +0100 |
commit | c8699f1bcc7854036071a06e923333d30dd07ed1 (patch) | |
tree | 280d8ec8b9efaa1b53c254d3ab859f18cb423648 | |
parent | de76f40172acb5a3e843612e90dd87b5a32037c6 (diff) | |
download | xine-lib-c8699f1bcc7854036071a06e923333d30dd07ed1.tar.gz xine-lib-c8699f1bcc7854036071a06e923333d30dd07ed1.tar.bz2 |
Minor C99ism.
-rw-r--r-- | src/demuxers/demux_flac.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |