Mercurial > mplayer.hg
changeset 15005:4abf8628ee74
1000l (dwSampleSize != nSamplesPerSec)
author | michael |
---|---|
date | Fri, 25 Mar 2005 02:41:08 +0000 |
parents | ec7bd6ad70b5 |
children | 8f8bbe639bfb |
files | libmpdemux/muxer_lavf.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c Fri Mar 25 00:48:18 2005 +0000 +++ b/libmpdemux/muxer_lavf.c Fri Mar 25 02:41:08 2005 +0000 @@ -158,7 +158,8 @@ ctx->codec_tag = codec_get_wav_tag(ctx->codec_id); mp_msg(MSGT_MUXER, MSGL_INFO, "AUDIO CODEC ID: %x, TAG: %x\n", ctx->codec_id, (uint32_t) ctx->codec_tag); ctx->bit_rate = stream->wf->nAvgBytesPerSec * 8; - ctx->sample_rate = stream->h.dwSampleSize; + ctx->sample_rate = stream->wf->nSamplesPerSec; +// mp_msg(MSGT_MUXER, MSGL_INFO, "stream->h.dwSampleSize: %d\n", stream->h.dwSampleSize); ctx->channels = stream->wf->nChannels; ctx->frame_size = 576; ctx->block_align = stream->wf->nBlockAlign;