| 1 | CPPFLAGS:
|
|---|
| 2 | CFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads
|
|---|
| 3 | CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1
|
|---|
| 4 | LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -static-libgcc -liconv -static-libstdc++
|
|---|
| 5 | make -j4 install CXX=ccache g++
|
|---|
| 6 | help/help_create.sh help/help_mp-en.h UTF-8
|
|---|
| 7 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o mencoder.o mencoder.c
|
|---|
| 8 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o parser-mecmd.o parser-mecmd.c
|
|---|
| 9 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o xvid_vbr.o xvid_vbr.c
|
|---|
| 10 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpcodecs/ae.o libmpcodecs/ae.c
|
|---|
| 11 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c
|
|---|
| 12 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpcodecs/ve.o libmpcodecs/ve.c
|
|---|
| 13 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c
|
|---|
| 14 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpdemux/muxer.o libmpdemux/muxer.c
|
|---|
| 15 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c
|
|---|
| 16 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c
|
|---|
| 17 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c
|
|---|
| 18 | libmpdemux/muxer_avi.c: In function 'avifile_write_header':
|
|---|
| 19 | libmpdemux/muxer_avi.c:433:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 20 | 433 | info[0].text=mencoder_version;
|
|---|
| 21 | | ^
|
|---|
| 22 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c
|
|---|
| 23 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c
|
|---|
| 24 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c
|
|---|
| 25 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c
|
|---|
| 26 | libmpcodecs/ve_lavc.c:155:31: error: 'FF_LEVEL_UNKNOWN' undeclared here (not in a function); did you mean 'AV_LEVEL_UNKNOWN'?
|
|---|
| 27 | 155 | static int lavc_param_level = FF_LEVEL_UNKNOWN;
|
|---|
| 28 | | ^~~~~~~~~~~~~~~~
|
|---|
| 29 | | AV_LEVEL_UNKNOWN
|
|---|
| 30 | libmpcodecs/ve_lavc.c: In function 'put_image':
|
|---|
| 31 | libmpcodecs/ve_lavc.c:725:16: error: 'AVFrame' has no member named 'top_field_first'
|
|---|
| 32 | 725 | pic->top_field_first= !!(mpi->fields & MP_IMGFIELD_TOP_FIRST);
|
|---|
| 33 | | ^~
|
|---|
| 34 | libmpcodecs/ve_lavc.c:727:16: error: 'AVFrame' has no member named 'top_field_first'
|
|---|
| 35 | 727 | pic->top_field_first= 1;
|
|---|
| 36 | | ^~
|
|---|
| 37 | libmpcodecs/ve_lavc.c:730:16: error: 'AVFrame' has no member named 'top_field_first'
|
|---|
| 38 | 730 | pic->top_field_first= lavc_param_top;
|
|---|
| 39 | | ^~
|
|---|
| 40 | libmpcodecs/ve_lavc.c: In function 'uninit':
|
|---|
| 41 | libmpcodecs/ve_lavc.c:856:9: error: implicit declaration of function 'avcodec_close'; did you mean 'avcodec_license'? [-Wimplicit-function-declaration]
|
|---|
| 42 | 856 | avcodec_close(lavc_venc_context);
|
|---|
| 43 | | ^~~~~~~~~~~~~
|
|---|
| 44 | | avcodec_license
|
|---|
| 45 | make: *** [Makefile:729: libmpcodecs/ve_lavc.o] Error 1
|
|---|
| 46 | make: *** Waiting for unfinished jobs....
|
|---|
| 47 | libmpdemux/muxer_lavf.c: In function 'mp_write':
|
|---|
| 48 | libmpdemux/muxer_lavf.c:83:51: warning: passing argument 2 of 'stream_write_buffer' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 49 | 83 | return stream_write_buffer(muxer->stream, buf, size);
|
|---|
| 50 | | ^~~
|
|---|
| 51 | In file included from libmpdemux/demuxer.h:27,
|
|---|
| 52 | from libmpdemux/aviheader.h:28,
|
|---|
| 53 | from libmpdemux/muxer_lavf.c:30:
|
|---|
| 54 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'const uint8_t *' {aka 'const unsigned char *'}
|
|---|
| 55 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 56 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 57 | libmpdemux/muxer_lavf.c: In function 'write_chunk':
|
|---|
| 58 | libmpdemux/muxer_lavf.c:257:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
|
|---|
| 59 | 257 | av_init_packet(&pkt);
|
|---|
| 60 | | ^~~~~~~~~~~~~~
|
|---|
| 61 | In file included from ffmpeg/libavcodec/codec_par.h:33,
|
|---|
| 62 | from ffmpeg/libavformat/avformat.h:312,
|
|---|
| 63 | from libmpdemux/muxer_lavf.c:40:
|
|---|
| 64 | ffmpeg/libavcodec/packet.h:666:6: note: declared here
|
|---|
| 65 | 666 | void av_init_packet(AVPacket *pkt);
|
|---|
| 66 | | ^~~~~~~~~~~~~~
|
|---|
| 67 | libmpdemux/muxer_lavf.c: In function 'muxer_init_muxer_lavf':
|
|---|
| 68 | libmpdemux/muxer_lavf.c:358:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 69 | 358 | fmt = av_guess_format(conf_format, NULL, NULL);
|
|---|
| 70 | | ^
|
|---|
| 71 | libmpdemux/muxer_lavf.c:360:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 72 | 360 | fmt = av_guess_format(NULL, out_filename, NULL);
|
|---|
| 73 | | ^
|
|---|
| 74 | libmpdemux/muxer_lavf.c: In function 'write_header':
|
|---|
| 75 | libmpdemux/muxer_lavf.c:296:9: warning: ignoring return value of 'avformat_write_header' declared with attribute 'warn_unused_result' [-Wunused-result]
|
|---|
| 76 | 296 | avformat_write_header(priv->oc, &opts);
|
|---|
| 77 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 78 | In file included from cfg-mencoder.h:34,
|
|---|
| 79 | from mencoder.c:245:
|
|---|
| 80 | cfg-common.h:301:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 81 | 301 | {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 82 | | ^~~~~~~~~~~
|
|---|
| 83 | cfg-common.h:314:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 84 | 314 | {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL},
|
|---|
| 85 | | ^~~~~~~~~~~~~
|
|---|
| 86 | cfg-common.h:431:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
|
|---|
| 87 | 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 88 | | ^
|
|---|
| 89 | cfg-common.h:432:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
|
|---|
| 90 | 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 91 | | ^
|
|---|
| 92 | cfg-common.h:435:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
|
|---|
| 93 | 435 | { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 94 | | ^
|
|---|
| 95 | cfg-common.h:448:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 96 | 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL},
|
|---|
| 97 | | ^~~~~~~~~~~
|
|---|
| 98 | cfg-common.h:455:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 99 | 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 100 | | ^~~~~~~~~~~
|
|---|
| 101 | cfg-common.h:464:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 102 | 464 | {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 103 | | ^~~~~~~~~~~~~
|
|---|
| 104 | cfg-common.h:506:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 105 | 506 | {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 106 | | ^~~~~~~~~~~~~~~~~
|
|---|
| 107 | cfg-common.h:509:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 108 | 509 | {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list},
|
|---|
| 109 | | ^
|
|---|
| 110 | cfg-common.h:519:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 111 | 519 | {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
|---|
| 112 | | ^~~~~~~
|
|---|
| 113 | cfg-common.h:525:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 114 | 525 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 115 | | ^~~~~~~~~~~~~~~~~~
|
|---|
| 116 | cfg-common.h:547:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 117 | 547 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 118 | | ^~~~~~~~~~~~~~~~~~~~~
|
|---|
| 119 | cfg-common.h:548:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 120 | 548 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 121 | | ^~~~~~~~~~~~~~
|
|---|
| 122 | cfg-common.h:552:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 123 | 552 | {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 124 | | ^~~~~~~~~~~~~
|
|---|
| 125 | cfg-mencoder.h:190:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 126 | 190 | {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 127 | | ^~~~~~~~
|
|---|
| 128 | cfg-mencoder.h:191:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 129 | 191 | {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 130 | | ^~~~~~~~
|
|---|
| 131 | cfg-mencoder.h:194:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 132 | 194 | {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 133 | | ^~~~~~~
|
|---|
| 134 | cfg-mencoder.h:221:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 135 | 221 | {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 136 | | ^~~~~~~~~
|
|---|
| 137 | cfg-mencoder.h:226:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 138 | 226 | {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 139 | | ^~~~~~~~~~~~~
|
|---|
| 140 | cfg-mencoder.h:229:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 141 | 229 | {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 142 | | ^~~~~~~~~~~~~
|
|---|
| 143 | cfg-mencoder.h:252:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 144 | 252 | {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 145 | | ^~~~~~~~~~~~~~~~
|
|---|
| 146 | cfg-mencoder.h:259:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 147 | 259 | {"nuvopts", nuvopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 148 | | ^~~~~~~~~~~~
|
|---|
| 149 | cfg-mencoder.h:261:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 150 | 261 | {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 151 | | ^~~~~~~~~~~~~
|
|---|
| 152 | cfg-mencoder.h:263:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 153 | 263 | {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 154 | | ^~~~~~~~~~~~~
|
|---|
| 155 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=c11 -D_ISOC99_SOURCE -I. -Iffmpeg -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -mthreads -fno-tree-vectorize -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wno-error=incompatible-pointer-types -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include/freetype2 -IG:/MABS/local64/include/freetype2 -DXML_STATIC -IG:/MABS/local64/include/harfbuzz -IG:/MABS/local64/include/fribidi -DFRIBIDI_LIB_STATIC -IG:/MABS/local64/include/freetype2 -DXML_STATIC -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c
|
|---|
| 156 | libmpcodecs/ve_lavc.c:155:31: error: 'FF_LEVEL_UNKNOWN' undeclared here (not in a function); did you mean 'AV_LEVEL_UNKNOWN'?
|
|---|
| 157 | 155 | static int lavc_param_level = FF_LEVEL_UNKNOWN;
|
|---|
| 158 | | ^~~~~~~~~~~~~~~~
|
|---|
| 159 | | AV_LEVEL_UNKNOWN
|
|---|
| 160 | libmpcodecs/ve_lavc.c: In function 'put_image':
|
|---|
| 161 | libmpcodecs/ve_lavc.c:725:16: error: 'AVFrame' has no member named 'top_field_first'
|
|---|
| 162 | 725 | pic->top_field_first= !!(mpi->fields & MP_IMGFIELD_TOP_FIRST);
|
|---|
| 163 | | ^~
|
|---|
| 164 | libmpcodecs/ve_lavc.c:727:16: error: 'AVFrame' has no member named 'top_field_first'
|
|---|
| 165 | 727 | pic->top_field_first= 1;
|
|---|
| 166 | | ^~
|
|---|
| 167 | libmpcodecs/ve_lavc.c:730:16: error: 'AVFrame' has no member named 'top_field_first'
|
|---|
| 168 | 730 | pic->top_field_first= lavc_param_top;
|
|---|
| 169 | | ^~
|
|---|
| 170 | libmpcodecs/ve_lavc.c: In function 'uninit':
|
|---|
| 171 | libmpcodecs/ve_lavc.c:856:9: error: implicit declaration of function 'avcodec_close'; did you mean 'avcodec_license'? [-Wimplicit-function-declaration]
|
|---|
| 172 | 856 | avcodec_close(lavc_venc_context);
|
|---|
| 173 | | ^~~~~~~~~~~~~
|
|---|
| 174 | | avcodec_license
|
|---|
| 175 | make: *** [Makefile:729: libmpcodecs/ve_lavc.o] Error 1
|
|---|