[FFmpeg-trac] #10552(avcodec:new): Build fails after recent commit: avcodec/utils: move ff_add_cpb_side_data() to encoder code

FFmpeg trac at avcodec.org
Wed Sep 6 18:55:41 EEST 2023


#10552: Build fails after recent commit: avcodec/utils: move ff_add_cpb_side_data()
to encoder code
-----------------------------------+--------------------------------------
             Reporter:  rorgoroth  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avcodec    |                  Version:  git-master
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 After the recent commit 0231df505dc70ac435f2b437d1995ebabd70a66a,
 avcodec/utils: move ff_add_cpb_side_data() to encoder code

 I can no longer complete the build due to two errors, the errors are as
 follows:


 {{{
 src/libavcodec/qsvenc.c:1507:17: error: call to undeclared function
 'ff_encode_add_cpb_side_data'; ISO C99 and later do not support implicit
 function declarations [-Wimplicit-function-declaration]
 src/libavcodec/qsvenc.c:1507:15: error: incompatible integer to pointer
 conversion assigning to 'AVCPBProperties *' (aka 'struct AVCPBProperties
 *') from 'int' [-Wint-conversion]
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10552>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list