summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ad_dvdpcm.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:26:13 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:34:35 +0300
commit0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch)
tree71cb9bd9ed121156d3382066c0722c73189afe04 /libmpcodecs/ad_dvdpcm.c
parent6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff)
downloadmpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2
mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz
Remove trailing whitespace from most files
Diffstat (limited to 'libmpcodecs/ad_dvdpcm.c')
-rw-r--r--libmpcodecs/ad_dvdpcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ad_dvdpcm.c b/libmpcodecs/ad_dvdpcm.c
index 943ce73bf0..ca56eeea1e 100644
--- a/libmpcodecs/ad_dvdpcm.c
+++ b/libmpcodecs/ad_dvdpcm.c
@@ -40,7 +40,7 @@ static int init(sh_audio_t *sh)
case 1:
mp_tmsg(MSGT_DECAUDIO, MSGL_INFO, "Samples of this format are needed to improve support. Please contact the developers.\n");
sh->i_bps = sh->channels * sh->samplerate * 5 / 2;
- case 2:
+ case 2:
sh->sample_format = AF_FORMAT_S24_BE;
sh->samplesize = 3;
break;
@@ -139,7 +139,7 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int m
}
len = j;
}
- } else
+ } else
len=demux_read_data(sh_audio->ds,buf,(minlen+3)&(~3));
return len;
}