[FFmpeg-trac] #3626(undetermined:new): add 'extern "C"' to headers

FFmpeg trac at avcodec.org
Fri May 9 10:32:15 CEST 2014


#3626: add 'extern "C"' to headers
-------------------------------------+-------------------------------------
             Reporter:  spraff       |                     Type:  defect
               Status:  new          |                 Priority:  wish
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  headers      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Your policy at the moment is to require applications to add 'extern "C"'
 to their C++ source files:
 http://trac.ffmpeg.org/wiki/Including%20FFmpeg%20headers%20in%20a%20C%2B%2B%20application

 This is silly and annoying.

 It is the header file's job to present its interface consistently to
 applications. decklink_enc.h does this, the other headers should too.

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


More information about the FFmpeg-trac mailing list