[MPlayer-cvslog] CVS: main/libmpdemux muxer_lavf.c,1.19,1.20

Michael Niedermayer CVS syncmail at mplayerhq.hu
Wed Jan 25 20:30:04 CET 2006


CVS change done by Michael Niedermayer CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv17173

Modified Files:
	muxer_lavf.c 
Log Message:
correct block align


Index: muxer_lavf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/muxer_lavf.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- muxer_lavf.c	25 Jan 2006 15:49:31 -0000	1.19
+++ muxer_lavf.c	25 Jan 2006 19:30:01 -0000	1.20
@@ -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);




More information about the MPlayer-cvslog mailing list