[FFmpeg-trac] #4391(avformat:new): error in avisynth.c with mingw-w64

FFmpeg trac at avcodec.org
Wed Mar 25 14:11:15 CET 2015


#4391: error in avisynth.c with mingw-w64
-------------------------------------+------------------------------------
             Reporter:  jb_alvarado  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by RiCON):

 Building with --enable-avisynth still broken as of commit
 589a6042ea80a76c1c936d768a80eb66abd86a2f.

 {{{
 In file included from libavformat/avisynth.c:33:0:
 ./compat/avisynth/avisynth_c.h: In function 'avs_is_same_colorspace':
 ./compat/avisynth/avisynth_c.h:363:17: error: implicit declaration of
 function 'avs_is_yv12' [-Werror=implicit-function-declaration]
                  || (avs_is_yv12(x) && avs_is_yv12(y));
                  ^
 ./compat/avisynth/avisynth_c.h: In function 'avs_get_pitch':
 ./compat/avisynth/avisynth_c.h:404:9: error: implicit declaration of
 function 'avs_get_pitch_p' [-Werror=implicit-function-declaration]
          return avs_get_pitch_p(p, 0);}
          ^
 ./compat/avisynth/avisynth_c.h: In function 'avs_get_read_ptr':
 ./compat/avisynth/avisynth_c.h:419:9: error: implicit declaration of
 function 'avs_get_read_ptr_p' [-Werror=implicit-function-declaration]
          return avs_get_read_ptr_p(p, 0);}
          ^
 ./compat/avisynth/avisynth_c.h:419:9: warning: return makes pointer from
 integer without a cast
 ./compat/avisynth/avisynth_c.h: In function 'avs_get_write_ptr':
 ./compat/avisynth/avisynth_c.h:426:9: error: implicit declaration of
 function 'avs_get_write_ptr_p' [-Werror=implicit-function-declaration]
          return avs_get_write_ptr_p(p, 0);}
          ^
 ./compat/avisynth/avisynth_c.h:426:9: warning: return makes pointer from
 integer without a cast
 ./compat/avisynth/avisynth_c.h: At top level:
 ./compat/avisynth/avisynth_c.h:780:27: warning: function declaration isn't
 a prototype [-Wstrict-prototypes]
  AVSC_INLINE AVS_Library * avs_load_library() {
                            ^
 In file included from libavformat/avisynth.c:34:0:
 ./compat/avisynth/avisynth_c_25.h: In function 'avs_get_row_size_p_25':
 ./compat/avisynth/avisynth_c_25.h:51:31: error: 'AVS_FRAME_ALIGN'
 undeclared (first use in this function)
              r = ((p->row_size+AVS_FRAME_ALIGN-1)&(~(AVS_FRAME_ALIGN-1))
 )>>1; // Aligned rowsize
                                ^
 ./compat/avisynth/avisynth_c_25.h:51:31: note: each undeclared identifier
 is reported only once for each function it appears in
 cc1.exe: some warnings being treated as errors
 common.mak:57: recipe for target 'libavformat/avisynth.o' failed
 }}}

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


More information about the FFmpeg-trac mailing list