Mercurial > mplayer.hg
changeset 12539:4edbef7dd28d
More support for audio format 0x0
Patch by Reimar Doeffinger
author | rtognimp |
---|---|
date | Sun, 06 Jun 2004 21:18:49 +0000 |
parents | 2beafad68f68 |
children | ba42bf567073 |
files | libmpcodecs/ad_pcm.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_pcm.c Sun Jun 06 19:06:39 2004 +0000 +++ b/libmpcodecs/ad_pcm.c Sun Jun 06 21:18:49 2004 +0000 @@ -26,6 +26,7 @@ sh_audio->samplesize=(h->wBitsPerSample+7)/8; sh_audio->sample_format=AFMT_S16_LE; // default switch(sh_audio->format){ /* hardware formats: */ + case 0x0: case 0x1: // Microsoft PCM switch (sh_audio->samplesize) { case 1: sh_audio->sample_format=AFMT_U8; break;