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

Kurt Roeckx kurt at roeckx.be
Sun Oct 28 17:47:55 UTC 2007


On Thu, Oct 18, 2007 at 10:31:34PM +0200, Philippe Coval wrote:
> Package: libmad
> Severity: wishlist
> Tags: patch
> 
> --- Please enter the report below this line. ---
> Hi,
> Is it possible to apply this patch ?
> I am about to report this upstream too

I haven't seen you send this to an upstream list yet?

> 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().


Kurt






More information about the pkg-mad-maintainers mailing list