[FFmpeg-trac] #5183(avdevice:new): Build broken after DeckLink header cleanup

FFmpeg trac at avcodec.org
Sun Jan 24 21:11:13 CET 2016


#5183: Build broken after DeckLink header cleanup
-------------------------------------+-------------------------------------
             Reporter:  laurfb       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:  decklink     |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  decklink => decklink regression
 * priority:  normal => important
 * component:  build system => avdevice


Old description:

> Summary of the bug:
> Build broken after '''af54a36fc42d2d2824b5820b59af9f421b849371''' and
> '''61fb70c3866b19dccf473ad4e5ede79d117e8e1c''' commits (DeckLink header
> cleanup by TimothyGu)
>
> Compiling with  media-autobuild_suite on Windows (https://github.com/jb-
> alvarado/media-autobuild_suite) we get this error:
>
> libavdevice/decklink_enc.cpp: In function 'int
> decklink_write_audio_packet(AVFormatContext*, AVPacket*)':
> libavdevice/decklink_enc.cpp:294:57: error: invalid conversion from
> 'buffercount_type* {aka long unsigned int*}' to 'unsigned int*'
> [-fpermissive]
>      ctx->dlo->GetBufferedAudioSampleFrameCount(&buffered);
> In file included from libavdevice/decklink_enc.cpp:22:0:
> D:/media-autobuild_suite-master/local64/include/DeckLinkAPI.h:6232:39:
> note:   initializing argument 1 of 'virtual HRESULT
> IDeckLinkOutput::GetBufferedAudioSampleFrameCount(unsigned int*)'
>      virtual HRESULT STDMETHODCALLTYPE GetBufferedAudioSampleFrameCount(
> make: *** [libavdevice/decklink_enc.o] Error 1
> make: *** Waiting for unfinished jobs....

New description:

 Summary of the bug:
 Build broken after '''af54a36fc42d2d2824b5820b59af9f421b849371''' and
 '''61fb70c3866b19dccf473ad4e5ede79d117e8e1c''' commits (DeckLink header
 cleanup by TimothyGu)

 Compiling with  media-autobuild_suite on Windows (https://github.com/jb-
 alvarado/media-autobuild_suite) we get this error:
 {{{
 libavdevice/decklink_enc.cpp: In function 'int
 decklink_write_audio_packet(AVFormatContext*, AVPacket*)':
 libavdevice/decklink_enc.cpp:294:57: error: invalid conversion from
 'buffercount_type* {aka long unsigned int*}' to 'unsigned int*'
 [-fpermissive]
      ctx->dlo->GetBufferedAudioSampleFrameCount(&buffered);
 In file included from libavdevice/decklink_enc.cpp:22:0:
 D:/media-autobuild_suite-master/local64/include/DeckLinkAPI.h:6232:39:
 note:   initializing argument 1 of 'virtual HRESULT
 IDeckLinkOutput::GetBufferedAudioSampleFrameCount(unsigned int*)'
      virtual HRESULT STDMETHODCALLTYPE GetBufferedAudioSampleFrameCount(
 make: *** [libavdevice/decklink_enc.o] Error 1
 make: *** Waiting for unfinished jobs....
 }}}

--

Comment:

 Please provide the complete console output of {{{make V=1
 libavdevice/decklink_enc.o}}}

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


More information about the FFmpeg-trac mailing list