[FFmpeg-trac] #6847(undetermined:new): Could not create DeckLink iterator, Generic error in an external library

FFmpeg trac at avcodec.org
Mon Nov 27 10:36:26 EET 2017


#6847: Could not create DeckLink iterator, Generic error in an external library
-------------------------------------+-------------------------------------
             Reporter:  Syl20        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  decklink     |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Syl20):

 {{{
 ./configure --enable-nonfree --enable-decklink --extra-
 cflags=-I/Users/Sylvain/Scripts/Blackmagic_SDK_10.9.3/Mac/include/
 --extra-
 ldflags=-L/Users/Sylvain/Scripts/Blackmagic_SDK_10.9.3/Mac/include/
 }}}

 return this :

 {{{
 In file included from libavdevice/decklink_common.cpp:32:
 /Users/Sylvain/Scripts/Blackmagic_SDK_10.9.3/Mac/include/DeckLinkAPIDispatch.cpp:56:6:
 error: no previous prototype for function 'InitDeckLinkAPI' [-Werror
 ,-Wmissing-prototypes]
 void    InitDeckLinkAPI (void)
         ^
 /Users/Sylvain/Scripts/Blackmagic_SDK_10.9.3/Mac/include/DeckLinkAPIDispatch.cpp:77:7:
 error: no previous prototype for function 'IsDeckLinkAPIPresent' [-Werror
 ,-Wmissing-prototypes]
 bool            IsDeckLinkAPIPresent (void)
                 ^
 /Users/Sylvain/Scripts/Blackmagic_SDK_10.9.3/Mac/include/DeckLinkAPIDispatch.cpp:157:6:
 error: no previous prototype for function 'InitBMDStreamingAPI' [-Werror
 ,-Wmissing-prototypes]
 void InitBMDStreamingAPI(void)
      ^
 3 errors generated.
 make: *** [libavdevice/decklink_common.o] Error 1
 }}}


 I've read somwhere that I should put '''static''' at the beginning of line
 56, 77 and 157. It was working before but now I cannot reproduce the
 compilation. Maybe it's not a good way to resolve this.

 Thanks.

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


More information about the FFmpeg-trac mailing list