Opened 16 months ago

#7791 new defect

Unprefixed defines

Reported by: Gramner Owned by:
Priority: normal Component: avutil
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


The assembly support macros defined in the libavutil/mem.h public header does not have any prefixes which may cause namespace collisions when included by users.

They should either have some appropriate prefix added, or alternatively moved to some internal header since having them public seems to be of questionable usefulness.

This may apply to more defines in other headers as well which perhaps might be worth investigating, but DECLARE_ALIGNED happens to actually cause a name collision when libavformat/avformat.h is included by x264.

Change History (0)

Note: See TracTickets for help on using tickets.