comparison libmpcodecs/ad_dvdpcm.c @ 29263:0f1b5b68af32

whitespace cosmetics: Remove all trailing whitespace.
author diego
date Wed, 13 May 2009 02:58:57 +0000
parents 815f03b7cee5
children bbb6ebec87a0
comparison
equal deleted inserted replaced
29262:7d545a6b8aff 29263:0f1b5b68af32
5 #include "config.h" 5 #include "config.h"
6 #include "mp_msg.h" 6 #include "mp_msg.h"
7 #include "help_mp.h" 7 #include "help_mp.h"
8 #include "ad_internal.h" 8 #include "ad_internal.h"
9 9
10 static ad_info_t info = 10 static ad_info_t info =
11 { 11 {
12 "Uncompressed DVD/VOB LPCM audio decoder", 12 "Uncompressed DVD/VOB LPCM audio decoder",
13 "dvdpcm", 13 "dvdpcm",
14 "Nick Kurshev", 14 "Nick Kurshev",
15 "A'rpi", 15 "A'rpi",
38 sh->samplesize = 2; 38 sh->samplesize = 2;
39 break; 39 break;
40 case 1: 40 case 1:
41 mp_msg(MSGT_DECAUDIO, MSGL_INFO, MSGTR_SamplesWanted); 41 mp_msg(MSGT_DECAUDIO, MSGL_INFO, MSGTR_SamplesWanted);
42 sh->i_bps = sh->channels * sh->samplerate * 5 / 2; 42 sh->i_bps = sh->channels * sh->samplerate * 5 / 2;
43 case 2: 43 case 2:
44 sh->sample_format = AF_FORMAT_S24_BE; 44 sh->sample_format = AF_FORMAT_S24_BE;
45 sh->samplesize = 3; 45 sh->samplesize = 3;
46 break; 46 break;
47 default: 47 default:
48 sh->sample_format = AF_FORMAT_S16_BE; 48 sh->sample_format = AF_FORMAT_S16_BE;
137 buf[j + 10] = tmp[7]; 137 buf[j + 10] = tmp[7];
138 buf[j + 11] = tmp[11]; 138 buf[j + 11] = tmp[11];
139 } 139 }
140 len = j; 140 len = j;
141 } 141 }
142 } else 142 } else
143 len=demux_read_data(sh_audio->ds,buf,(minlen+3)&(~3)); 143 len=demux_read_data(sh_audio->ds,buf,(minlen+3)&(~3));
144 return len; 144 return len;
145 } 145 }