[FFmpeg-trac] #7219(avformat:closed): Fails to build on Mac OS X 10.11

FFmpeg trac at avcodec.org
Sat May 19 21:41:32 EEST 2018


#7219: Fails to build on Mac OS X 10.11
-------------------------------------+------------------------------------
             Reporter:  fkraiem      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by jamrial):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 {{{
 libavformat/mxfenc.c:1152:36: error: too many arguments provided to
 function-like macro invocation
         memcpy(ul,
 (UID){0x06,0x0E,0x2B,0x34,0x04,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x00,0x00},
 16);
                                    ^
 /usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
 #define memcpy(dest, src, len)                                  \
         ^
 }}}
 This is a faulty memcpy implementation as a macro. It's evidently not
 wrapping the arguments in brackets and just trips badly when one of them
 has a comma.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7219#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list