[pkg-mad-maintainers] Bug#447196: Bug#447196: Bug#447196: anonymous structure makes lib partially unusable in C++

Kurt Roeckx kurt at roeckx.be
Thu Nov 15 21:00:47 UTC 2007


On Thu, Nov 15, 2007 at 09:32:50PM +0100, Philippe Coval wrote:
> >> Because the structure can not be casted to an anonymous structure
> >> which is mandatory in C++ (malloc returns void* and new is impossible
> >> without typename)
> >>     
> >
> > Why do you think you need to allocate that buffer yourself?  This is
> > normally done in by libmad itself, in mad_decoder_run().
> >   
> true, unless I hack the lib for personnal use :)

If you're already changing it to do other things you want to do with it,
I don't see why we should change something.


Kurt






More information about the pkg-mad-maintainers mailing list