X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fdemux%2Fvoc.c;h=af211f0a737ce09df9806205157b7e3f86092b5f;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=06c9a1429fb16b3a4712efc2ac630f71074f40c1;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/modules/demux/voc.c b/modules/demux/voc.c index 06c9a1429f..af211f0a73 100644 --- a/modules/demux/voc.c +++ b/modules/demux/voc.c @@ -249,8 +249,8 @@ static int ReadBlockHeader( demux_t *p_demux ) } break; - case 8: - /* + case 8: + /* * Block 8 is a big kludge to add stereo support to block 1 : * A block of type 8 is always followed by a block of type 1 * and specifies the number of channels in that 1-block @@ -280,7 +280,7 @@ static int ReadBlockHeader( demux_t *p_demux ) /* read subsequent block 1 */ if( stream_Read( p_demux->s, buf, 4 ) < 4 ) return VLC_EGENERIC; /* EOF */ - + i_block_size = GetDWLE( buf ) >> 8; msg_Dbg( p_demux, "new block: type: %u, size: %u", (unsigned)*buf, i_block_size ); @@ -350,7 +350,7 @@ static int ReadBlockHeader( demux_t *p_demux ) } break; - default: + default: msg_Err( p_demux, "unsupported compression" ); return VLC_EGENERIC; }