Uoti Urpala <[email protected]> writes:

> rtpdec.h declares a struct field with name "free". The
> libavutil/internal.h header has "#define free please_use_av_free", and
> this #define affects uses of the field (apparently the rename is applied
> everywhere so things still compile...).

Yeah, that's pretty ugly.  I think we should just drop those silly
#defines.

> BTW isn't including <stdlib.h> and then defining free, malloc etc as
> macros undefined behavior?

Probably something like that.  It's certainly not advisable.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to