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

FFmpeg trac at avcodec.org
Wed Mar 25 18:16:51 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):

 As of 3a6df0b4bb588288fbf0f60081b20022a838ea79 almost fixed.
 In file included from libavformat/avisynth.c:33:0:
 ./compat/avisynth/avisynth_c.h:788: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
 common.mak:57: recipe for target 'libavformat/avisynth.o' failed

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

More information about the FFmpeg-trac mailing list