[MPlayer-dev-eng] [PATCH] Support layers 1 and 2 in mp3 demuxer

Nico Sabbi nsabbi at tiscali.it
Sat Apr 2 13:32:56 CEST 2005


Nico Sabbi wrote:

>
> committed a much smaller and more correct patch.
> Yet, in demux_audio I should set sh_audio->format=0x50 in case of 
> layers 1 and 2.


This patch assigns sh_audio->audio.dwScale, sh_audio->wf->nBlockAlign 
and sh_audio->format
according to the layer and the sampling frequency; it also modifies the 
seeking functions accordingly.

Rich, is it ok to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audio.diff
Type: text/x-patch
Size: 4750 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050402/42195593/attachment.bin>


More information about the MPlayer-dev-eng mailing list