[FFmpeg-trac] #7791(avutil:new): Unprefixed defines

FFmpeg trac at avcodec.org
Thu Mar 14 04:26:34 EET 2019

#7791: Unprefixed defines
             Reporter:  Gramner  |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avutil   |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
 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.

Ticket URL: <https://trac.ffmpeg.org/ticket/7791>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list