[FFmpeg-trac] #9819(avdevice:new): DeckLink build error, regression from cc5844 commit?

FFmpeg trac at avcodec.org
Sat Jun 25 09:16:32 EEST 2022

#9819: DeckLink build error, regression from cc5844 commit?
             Reporter:  laurfb    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avdevice  |                  Version:  git-master
             Keywords:  decklink  |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 Hi. Have some trouble building ffmpeg with decklink option.
 Seems to be related to cc5844 ffmpeg commit

 Using media_autobuild_suite with "enable-decklink" option active I've got
 this error message:

 E:/AB_Suite/local64/include/DeckLinkAPI.h:20309:28: warning: redundant
 redeclaration of 'void BSTR_UserFree(ULONG*, OLECHAR**)' in same scope
 20309 | void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
       |                            ^~~~~~~~~~~~~
 E:/AB_Suite/msys64/mingw64/include/propidl.h:1122:28: note: previous
 declaration of 'void BSTR_UserFree(ULONG*, OLECHAR**)'
  1122 | void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
       |                            ^~~~~~~~~~~~~
 E:/AB_Suite/build/ffmpeg-git/libavdevice/decklink_common.cpp: In function
 'int ff_decklink_set_configs(AVFormatContext*, decklink_direction_t)':
 warning: comparison of integer expressions of different signedness: 'int'
 and 'long long unsigned int' [-Wsign-compare]
   187 |             if (ctx->duplex_mode < 0 || ctx->duplex_mode >=

 Use headers from v11.6 decklink SDK.

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

More information about the FFmpeg-trac mailing list