From f0073dc323d7f390b184e57e2434acb26d2baed4 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Fri, 27 Sep 2013 10:47:38 +0300 Subject: Hide warnings --- src/audio_dec/xine_a52_decoder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/audio_dec/xine_a52_decoder.c b/src/audio_dec/xine_a52_decoder.c index ab7e57231..cf631f4ab 100644 --- a/src/audio_dec/xine_a52_decoder.c +++ b/src/audio_dec/xine_a52_decoder.c @@ -381,16 +381,16 @@ static void a52dec_decode_frame (a52dec_decoder_t *this, int64_t pts, int previe /* SPDIF Passthrough * Build SPDIF Header and encaps the A52 audio data in it. */ - uint32_t syncword, crc1, fscod,frmsizecod,bsid,bsmod,frame_size; + uint32_t /*syncword, crc1,*/ fscod,frmsizecod,/*bsid,*/bsmod,frame_size; uint8_t *data_out,*data_in; audio_buffer_t *buf = this->stream->audio_out->get_buffer (this->stream->audio_out); data_in=(uint8_t *) this->frame_buffer; data_out=(uint8_t *) buf->mem; - syncword = data_in[0] | (data_in[1] << 8); - crc1 = data_in[2] | (data_in[3] << 8); + /*syncword = data_in[0] | (data_in[1] << 8);*/ + /*crc1 = data_in[2] | (data_in[3] << 8);*/ fscod = (data_in[4] >> 6) & 0x3; frmsizecod = data_in[4] & 0x3f; - bsid = (data_in[5] >> 3) & 0x1f; + /*bsid = (data_in[5] >> 3) & 0x1f;*/ bsmod = data_in[5] & 0x7; /* bsmod, stream = 0 */ frame_size = frmsizecod_tbl[frmsizecod].frm_size[fscod] ; -- cgit v1.2.3