Mercurial > mplayer.hg
diff libmpcodecs/ad_liba52.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
| author | diego |
|---|---|
| date | Wed, 13 May 2009 02:58:57 +0000 |
| parents | c6cef3c6768f |
| children | bbb6ebec87a0 |
line wrap: on
line diff
--- a/libmpcodecs/ad_liba52.c Tue May 12 19:25:35 2009 +0000 +++ b/libmpcodecs/ad_liba52.c Wed May 13 02:58:57 2009 +0000 @@ -45,7 +45,7 @@ float a52_drc_level = 1.0; static int a52_drc_action = DRC_NO_ACTION; -static ad_info_t info = +static ad_info_t info = { "AC3 decoding with liba52", "liba52", @@ -85,12 +85,12 @@ demux_read_data(sh_audio->ds,sh_audio->a_in_buffer+8,length-8); if(sh_audio->format!=0x2000) swab(sh_audio->a_in_buffer+8,sh_audio->a_in_buffer+8,length-8); - + #ifdef CONFIG_LIBA52_INTERNAL if(crc16_block(sh_audio->a_in_buffer+2,length-2)!=0) mp_msg(MSGT_DECAUDIO,MSGL_STATUS,"a52: CRC check failed! \n"); #endif - + return length; } @@ -312,7 +312,7 @@ int i,len=-1; if (sh_audio->sample_format == AF_FORMAT_FLOAT_NE) bias = 0; - if(!sh_audio->a_in_buffer_len) + if(!sh_audio->a_in_buffer_len) if(a52_fillbuff(sh_audio)<0) return len; /* EOF */ sh_audio->a_in_buffer_len=0; if (a52_frame (a52_state, sh_audio->a_in_buffer, &flags, &level, bias)){
