Mercurial > mplayer.hg
changeset 16135:7457c791204e
Hopefully finally fix the last commit
author | reimar |
---|---|
date | Thu, 28 Jul 2005 14:14:13 +0000 |
parents | a1fd1a7eeb35 |
children | acd19cdc1b46 |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Thu Jul 28 13:43:24 2005 +0000 +++ b/libmpdemux/demux_lavf.c Thu Jul 28 14:14:13 2005 +0000 @@ -221,11 +221,19 @@ case CODEC_ID_PCM_S8: case CODEC_ID_PCM_U8: sh_audio->samplesize = 1; + break; case CODEC_ID_PCM_S16LE: case CODEC_ID_PCM_S16BE: case CODEC_ID_PCM_U16LE: case CODEC_ID_PCM_U16BE: sh_audio->samplesize = 2; + break; + case CODEC_ID_PCM_ALAW: + sh_audio->format = 0x6; + break; + case CODEC_ID_PCM_MULAW: + sh_audio->format = 0x7; + break; } if(verbose>=1) print_wave_header(sh_audio->wf); if(demuxer->audio->id != i && demuxer->audio->id != -1)