Mercurial > mplayer.hg
changeset 11548:1548a38cab3f
twos 16bit 2 channels fixed.
author | rtognimp |
---|---|
date | Tue, 02 Dec 2003 22:44:17 +0000 |
parents | 1a6f15b6e50c |
children | 58d9a64ca336 |
files | libmpcodecs/ad_pcm.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_pcm.c Tue Dec 02 11:26:20 2003 +0000 +++ b/libmpcodecs/ad_pcm.c Tue Dec 02 22:44:17 2003 +0000 @@ -32,6 +32,8 @@ case 0x736F7774: // 'twos' case 0x74776F73: // 'swot' if(sh_audio->samplesize==1) sh_audio->sample_format=AFMT_S8; + sh_audio->ds->ss_div= sh_audio->samplesize; + sh_audio->ds->ss_mul= sh_audio->samplesize * sh_audio->channels; break; default: if(sh_audio->samplesize!=2) sh_audio->sample_format=AFMT_U8; }