[MPlayer-cvslog] r22284 - trunk/libmpdemux/demux_lavf.c
michael
subversion at mplayerhq.hu
Tue Feb 20 17:16:53 CET 2007
Author: michael
Date: Tue Feb 20 17:16:53 2007
New Revision: 22284
Modified:
trunk/libmpdemux/demux_lavf.c
Log:
dont set 0 nBlockAlign
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c (original)
+++ trunk/libmpdemux/demux_lavf.c Tue Feb 20 17:16:53 2007
@@ -284,7 +284,7 @@
wf->nChannels= codec->channels;
wf->nSamplesPerSec= codec->sample_rate;
wf->nAvgBytesPerSec= codec->bit_rate/8;
- wf->nBlockAlign= codec->block_align;
+ wf->nBlockAlign= codec->block_align ? codec->block_align : 1;
wf->wBitsPerSample= codec->bits_per_sample;
wf->cbSize= codec->extradata_size;
if(codec->extradata_size){
More information about the MPlayer-cvslog
mailing list