[vlc-devel] [vlc-commits] RTP: hack to make the raw audio decoder happy

Rémi Denis-Courmont remi at remlab.net
Tue Mar 27 21:33:40 CEST 2012


Le mardi 27 mars 2012 21:37:58 Laurent Aimar, vous avez écrit :
> On Tue, Mar 27, 2012 at 08:24:52PM +0200, Rémi Denis-Courmont wrote:
> > vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 27
> > 21:24:39 2012 +0300| [9ddd70f711e163499e68839616ebc495aef2c30a] |
> > committer: Rémi Denis-Courmont
> > 
> > RTP: hack to make the raw audio decoder happy
> 
> I think it would make more sense to call aout_FormatPrepare()
> in the aout decoder.

Hence the word "hack", yes.

Personally, I think it would make more sense to remove i_channels completely, 
but I have not completed my patch to do so. That would resolve the ambiguity 
for good. Counting bits is a single operation on most platforms anyway.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list