[FFmpeg-trac] #6932(undetermined:new): Cross-compile fails in "libavcodec/libx264.c: In function ‘X264_frame’"

FFmpeg trac at avcodec.org
Tue Dec 26 04:23:33 EET 2017


#6932: Cross-compile fails in "libavcodec/libx264.c: In function ‘X264_frame’"
-------------------------------------+-------------------------------------
             Reporter:  hydra3333    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Cross-compile fails in "libavcodec/libx264.c: In function ‘X264_frame’"
 How to reproduce:
 Attempt to cross-compile with commit
 cf57cb3ae4364ab8e70af37beea7a45a86de90e9
 {{{
 CC      libavcodec/libx264.o
 libavcodec/libx264.c: In function ‘X264_frame’:
 libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use
 in this function); did you mean ‘x264_picture_t’?
      if (x264_bit_depth > 8)
          ^~~~~~~~~~~~~~
          x264_picture_t
 libavcodec/libx264.c:282:9: note: each undeclared identifier is reported
 only once for each function it appears in
 libavcodec/libx264.c: In function ‘X264_init_static’:
 libavcodec/libx264.c:876:9: error: ‘x264_bit_depth’ undeclared (first use
 in this function); did you mean ‘x264_picture_t’?
      if (x264_bit_depth == 8)
          ^~~~~~~~~~~~~~
          x264_picture_t
 ffbuild/common.mak:60: recipe for target 'libavcodec/libx264.o' failed
 make: *** [libavcodec/libx264.o] Error 1
 make: *** Waiting for unfinished jobs....
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list