[MPlayer-dev-eng] [PATCH] read wav files in nBlockAlign chunks

Roberto Togni r_togni at tiscali.it
Sat Jan 14 00:58:58 CET 2006


On Sat, 7 Jan 2006 00:26:45 +0100
Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> Hi,
> > Please comment if you think it may break something; i plan to commit it
> > soon.
> 
> First, I think nBlockAlign might be 0. Second, it can be very small
> (esp. for raw files), resulting in a very high demuxing overhead.
> Can't you just round nAvgBytesPerSec by nBlockAlign (if non-zero)?
> 
Attached patch does it, please test.

Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demux_audio.c.diff
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060114/10db60a2/attachment.bin>


More information about the MPlayer-dev-eng mailing list