diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-09-27 10:47:38 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2013-09-27 10:47:38 +0300 |
commit | f0073dc323d7f390b184e57e2434acb26d2baed4 (patch) | |
tree | bf7dbb4229ac214300e844ca8596c9af177f39a8 /src | |
parent | 6bf607b588972aaff055c633010bb370ad9f7489 (diff) | |
download | xine-lib-f0073dc323d7f390b184e57e2434acb26d2baed4.tar.gz xine-lib-f0073dc323d7f390b184e57e2434acb26d2baed4.tar.bz2 |
Hide warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/audio_dec/xine_a52_decoder.c | 8 |
1 files changed, 4 insertions, 4 deletions
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] ; |