changeset 17484:43ac198cb5cf

correct block align
author michael
date Wed, 25 Jan 2006 19:30:01 +0000
parents eab33e0f6b77
children 8d25d5b720de
files libmpdemux/muxer_lavf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_lavf.c	Wed Jan 25 19:08:06 2006 +0000
+++ b/libmpdemux/muxer_lavf.c	Wed Jan 25 19:30:01 2006 +0000
@@ -202,7 +202,7 @@
                 mp_msg(MSGT_MUXER, MSGL_V, "MUXER_LAVF(audio stream) frame_size: %d, scale: %u, sps: %u, rate: %u, ctx->block_align = stream->wf->nBlockAlign; %d=%d stream->wf->nAvgBytesPerSec:%d\n", 
 			ctx->frame_size, stream->h.dwScale, ctx->sample_rate, stream->h.dwRate,
 			ctx->block_align, stream->wf->nBlockAlign, stream->wf->nAvgBytesPerSec);
-		ctx->block_align = stream->wf->nBlockAlign;
+		ctx->block_align = stream->h.dwSampleSize;
 		if(stream->wf+1 && stream->wf->cbSize)
 		{
 			ctx->extradata = av_malloc(stream->wf->cbSize);