| 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 -static-libstdc++
|
|---|
| 5 | make -j4 install
|
|---|
| 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=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -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=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -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=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -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=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ae.o libmpcodecs/ae.c
|
|---|
| 11 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 12 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c
|
|---|
| 13 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 14 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ve.o libmpcodecs/ve.c
|
|---|
| 15 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 16 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c
|
|---|
| 17 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 18 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpdemux/muxer.o libmpdemux/muxer.c
|
|---|
| 19 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 20 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c
|
|---|
| 21 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 22 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c
|
|---|
| 23 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 24 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c
|
|---|
| 25 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 26 | In file included from cfg-mencoder.h:34,
|
|---|
| 27 | from mencoder.c:245:
|
|---|
| 28 | cfg-common.h:301:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 29 | 301 | {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 30 | | ^~~~~~~~~~~
|
|---|
| 31 | cfg-common.h:314:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 32 | 314 | {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL},
|
|---|
| 33 | | ^~~~~~~~~~~~~
|
|---|
| 34 | cfg-common.h:431:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
|
|---|
| 35 | 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 36 | | ^
|
|---|
| 37 | cfg-common.h:432:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
|
|---|
| 38 | 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 39 | | ^
|
|---|
| 40 | cfg-common.h:435:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
|
|---|
| 41 | 435 | { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 42 | | ^
|
|---|
| 43 | cfg-common.h:448:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 44 | 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL},
|
|---|
| 45 | | ^~~~~~~~~~~
|
|---|
| 46 | cfg-common.h:455:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 47 | 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 48 | | ^~~~~~~~~~~
|
|---|
| 49 | cfg-common.h:464:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 50 | 464 | {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 51 | | ^~~~~~~~~~~~~
|
|---|
| 52 | cfg-common.h:506:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 53 | 506 | {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 54 | | ^~~~~~~~~~~~~~~~~
|
|---|
| 55 | cfg-common.h:509:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 56 | 509 | {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list},
|
|---|
| 57 | | ^
|
|---|
| 58 | cfg-common.h:519:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 59 | 519 | {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
|---|
| 60 | | ^~~~~~~
|
|---|
| 61 | cfg-common.h:525:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 62 | 525 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 63 | | ^~~~~~~~~~~~~~~~~~
|
|---|
| 64 | cfg-common.h:547:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 65 | 547 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 66 | | ^~~~~~~~~~~~~~~~~~~~~
|
|---|
| 67 | cfg-common.h:548:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 68 | 548 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 69 | | ^~~~~~~~~~~~~~
|
|---|
| 70 | cfg-common.h:552:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 71 | 552 | {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
|
|---|
| 72 | | ^~~~~~~~~~~~~
|
|---|
| 73 | cfg-mencoder.h:190:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 74 | 190 | {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 75 | | ^~~~~~~~
|
|---|
| 76 | cfg-mencoder.h:191:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 77 | 191 | {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 78 | | ^~~~~~~~
|
|---|
| 79 | cfg-mencoder.h:194:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 80 | 194 | {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 81 | | ^~~~~~~
|
|---|
| 82 | cfg-mencoder.h:221:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 83 | 221 | {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 84 | | ^~~~~~~~~
|
|---|
| 85 | cfg-mencoder.h:226:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 86 | 226 | {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 87 | | ^~~~~~~~~~~~~
|
|---|
| 88 | cfg-mencoder.h:229:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 89 | 229 | {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 90 | | ^~~~~~~~~~~~~
|
|---|
| 91 | cfg-mencoder.h:252:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 92 | 252 | {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 93 | | ^~~~~~~~~~~~~~~~
|
|---|
| 94 | cfg-mencoder.h:259:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 95 | 259 | {"nuvopts", nuvopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 96 | | ^~~~~~~~~~~~
|
|---|
| 97 | cfg-mencoder.h:261:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 98 | 261 | {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 99 | | ^~~~~~~~~~~~~
|
|---|
| 100 | cfg-mencoder.h:263:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 101 | 263 | {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
|
|---|
| 102 | | ^~~~~~~~~~~~~
|
|---|
| 103 | mencoder.c: In function 'main':
|
|---|
| 104 | mencoder.c:828:80: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
|
|---|
| 105 | 828 | vobsub_writer=vobsub_out_open(vobsub_out, stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL,
|
|---|
| 106 | | ^
|
|---|
| 107 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 108 | libmpdemux/muxer_avi.c: In function 'write_avi_chunk':
|
|---|
| 109 | libmpdemux/muxer_avi.c:145:30: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 110 | 145 | stream_write_buffer(stream, &le_id, 4);
|
|---|
| 111 | | ^~~~~~
|
|---|
| 112 | | |
|
|---|
| 113 | | int *
|
|---|
| 114 | In file included from ./libmpdemux/demuxer.h:27,
|
|---|
| 115 | from ./mpcommon.h:25,
|
|---|
| 116 | from libmpdemux/muxer_avi.c:28:
|
|---|
| 117 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *'
|
|---|
| 118 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 119 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 120 | libmpdemux/muxer_avi.c:146:30: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 121 | 146 | stream_write_buffer(stream, &le_len, 4);
|
|---|
| 122 | | ^~~~~~~
|
|---|
| 123 | | |
|
|---|
| 124 | | int *
|
|---|
| 125 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *'
|
|---|
| 126 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 127 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 128 | libmpdemux/muxer_avi.c: In function 'write_avi_list':
|
|---|
| 129 | libmpdemux/muxer_avi.c:179:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 130 | 179 | stream_write_buffer(stream, &list_id, 4);
|
|---|
| 131 | | ^~~~~~~~
|
|---|
| 132 | | |
|
|---|
| 133 | | unsigned int *
|
|---|
| 134 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
|
|---|
| 135 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 136 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 137 | libmpdemux/muxer_avi.c:180:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 138 | 180 | stream_write_buffer(stream, &le_len, 4);
|
|---|
| 139 | | ^~~~~~~
|
|---|
| 140 | | |
|
|---|
| 141 | | int *
|
|---|
| 142 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *'
|
|---|
| 143 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 144 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 145 | libmpdemux/muxer_avi.c:181:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 146 | 181 | stream_write_buffer(stream, &le_id, 4);
|
|---|
| 147 | | ^~~~~~
|
|---|
| 148 | | |
|
|---|
| 149 | | int *
|
|---|
| 150 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *'
|
|---|
| 151 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 152 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 153 | libmpdemux/muxer_avi.c: In function 'avifile_odml_new_riff':
|
|---|
| 154 | libmpdemux/muxer_avi.c:202:40: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 155 | 202 | stream_write_buffer(muxer->stream, riff, 12);
|
|---|
| 156 | | ^~~~
|
|---|
| 157 | | |
|
|---|
| 158 | | uint32_t * {aka unsigned int *}
|
|---|
| 159 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t *' {aka 'unsigned int *'}
|
|---|
| 160 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 161 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 162 | libmpdemux/muxer_avi.c: In function 'avifile_write_header':
|
|---|
| 163 | libmpdemux/muxer_avi.c:254:45: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 164 | 254 | stream_write_buffer(muxer->stream,&rifflen,4);
|
|---|
| 165 | | ^~~~~~~~
|
|---|
| 166 | | |
|
|---|
| 167 | | unsigned int *
|
|---|
| 168 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
|
|---|
| 169 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 170 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 171 | libmpdemux/muxer_avi.c:259:49: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 172 | 259 | stream_write_buffer(muxer->stream,&movilen,4);
|
|---|
| 173 | | ^~~~~~~~
|
|---|
| 174 | | |
|
|---|
| 175 | | unsigned int *
|
|---|
| 176 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
|
|---|
| 177 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 178 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 179 | libmpdemux/muxer_avi.c:272:39: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 180 | 272 | stream_write_buffer(muxer->stream,&riff,12);
|
|---|
| 181 | | ^~~~~
|
|---|
| 182 | | |
|
|---|
| 183 | | uint32_t (*)[3] {aka unsigned int (*)[3]}
|
|---|
| 184 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t (*)[3]' {aka 'unsigned int (*)[3]'}
|
|---|
| 185 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 186 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 187 | libmpdemux/muxer_avi.c:409:45: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 188 | 409 | stream_write_buffer(muxer->stream,idxhdr,sizeof(idxhdr));
|
|---|
| 189 | | ^~~~~~
|
|---|
| 190 | | |
|
|---|
| 191 | | unsigned int *
|
|---|
| 192 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
|
|---|
| 193 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 194 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 195 | libmpdemux/muxer_avi.c:417:49: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 196 | 417 | stream_write_buffer(muxer->stream,data,sizeof(data));
|
|---|
| 197 | | ^~~~
|
|---|
| 198 | | |
|
|---|
| 199 | | unsigned int *
|
|---|
| 200 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
|
|---|
| 201 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 202 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 203 | libmpdemux/muxer_avi.c:433:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 204 | 433 | info[0].text=mencoder_version;
|
|---|
| 205 | | ^
|
|---|
| 206 | libmpdemux/muxer_avi.c: In function 'avifile_odml_write_index':
|
|---|
| 207 | libmpdemux/muxer_avi.c:645:44: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 208 | 645 | stream_write_buffer(muxer->stream, idxhdr,sizeof(idxhdr));
|
|---|
| 209 | | ^~~~~~
|
|---|
| 210 | | |
|
|---|
| 211 | | unsigned int *
|
|---|
| 212 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
|
|---|
| 213 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 214 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 215 | libmpdemux/muxer_avi.c:651:48: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 216 | 651 | stream_write_buffer(muxer->stream, entry, sizeof(entry));
|
|---|
| 217 | | ^~~~~
|
|---|
| 218 | | |
|
|---|
| 219 | | unsigned int *
|
|---|
| 220 | ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *'
|
|---|
| 221 | 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len);
|
|---|
| 222 | | ~~~~~~~~~~~~~~~^~~
|
|---|
| 223 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c
|
|---|
| 224 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 225 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c
|
|---|
| 226 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c
|
|---|
| 227 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 228 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c
|
|---|
| 229 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 230 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ve_nuv.o libmpcodecs/ve_nuv.c
|
|---|
| 231 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 232 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/native/rtjpegn.o libmpcodecs/native/rtjpegn.c
|
|---|
| 233 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 234 | libmpcodecs/native/rtjpegn.c: In function 'RTjpeg_init_data':
|
|---|
| 235 | libmpcodecs/native/rtjpegn.c:1415:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
|
|---|
| 236 | 1415 | dptr=(unsigned long)&(RTjpeg_alldata[0]);
|
|---|
| 237 | | ^
|
|---|
| 238 | libmpcodecs/native/rtjpegn.c:1420:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|
|---|
| 239 | 1420 | RTjpeg_block=(__s16 *)dptr;
|
|---|
| 240 | | ^
|
|---|
| 241 | libmpcodecs/native/rtjpegn.c:1422:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|
|---|
| 242 | 1422 | RTjpeg_lqt=(__s32 *)dptr;
|
|---|
| 243 | | ^
|
|---|
| 244 | libmpcodecs/native/rtjpegn.c:1424:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|
|---|
| 245 | 1424 | RTjpeg_cqt=(__s32 *)dptr;
|
|---|
| 246 | | ^
|
|---|
| 247 | libmpcodecs/native/rtjpegn.c:1426:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|
|---|
| 248 | 1426 | RTjpeg_liqt=(__u32 *)dptr;
|
|---|
| 249 | | ^
|
|---|
| 250 | libmpcodecs/native/rtjpegn.c:1428:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|
|---|
| 251 | 1428 | RTjpeg_ciqt=(__u32 *)dptr;
|
|---|
| 252 | | ^
|
|---|
| 253 | libmpcodecs/native/rtjpegn.c: In function 'RTjpeg_init_mcompress':
|
|---|
| 254 | libmpcodecs/native/rtjpegn.c:1598:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
|
|---|
| 255 | 1598 | tmp=(unsigned long)RTjpeg_old;
|
|---|
| 256 | | ^
|
|---|
| 257 | libmpcodecs/native/rtjpegn.c:1601:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|
|---|
| 258 | 1601 | RTjpeg_old=(__s16 *)(tmp<<5);
|
|---|
| 259 | | ^
|
|---|
| 260 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ae_lame.o libmpcodecs/ae_lame.c
|
|---|
| 261 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 262 | libmpdemux/muxer_lavf.c: In function 'fix_parameters':
|
|---|
| 263 | libmpdemux/muxer_lavf.c:195:20: error: 'AVCodecParameters' has no member named 'channels'
|
|---|
| 264 | 195 | ctx->channels = stream->wf->nChannels;
|
|---|
| 265 | | ^~
|
|---|
| 266 | libmpdemux/muxer_lavf.c: In function 'write_chunk':
|
|---|
| 267 | libmpdemux/muxer_lavf.c:257:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
|
|---|
| 268 | 257 | av_init_packet(&pkt);
|
|---|
| 269 | | ^~~~~~~~~~~~~~
|
|---|
| 270 | In file included from ffmpeg/libavcodec/codec_par.h:33,
|
|---|
| 271 | from ffmpeg/libavformat/avformat.h:312,
|
|---|
| 272 | from libmpdemux/muxer_lavf.c:40:
|
|---|
| 273 | ffmpeg/libavcodec/packet.h:655:6: note: declared here
|
|---|
| 274 | 655 | void av_init_packet(AVPacket *pkt);
|
|---|
| 275 | | ^~~~~~~~~~~~~~
|
|---|
| 276 | libmpdemux/muxer_lavf.c: In function 'muxer_init_muxer_lavf':
|
|---|
| 277 | libmpdemux/muxer_lavf.c:358:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 278 | 358 | fmt = av_guess_format(conf_format, NULL, NULL);
|
|---|
| 279 | | ^
|
|---|
| 280 | libmpdemux/muxer_lavf.c:360:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 281 | 360 | fmt = av_guess_format(NULL, out_filename, NULL);
|
|---|
| 282 | | ^
|
|---|
| 283 | libmpdemux/muxer_lavf.c:395:90: warning: passing argument 6 of 'avio_alloc_context' from incompatible pointer type [-Wincompatible-pointer-types]
|
|---|
| 284 | 395 | priv->oc->pb = avio_alloc_context(priv->buffer, BIO_BUFFER_SIZE, 1, muxer, NULL, mp_write, mp_seek);
|
|---|
| 285 | | ^~~~~~~~
|
|---|
| 286 | | |
|
|---|
| 287 | | int (*)(void *, uint8_t *, int) {aka int (*)(void *, unsigned char *, int)}
|
|---|
| 288 | In file included from ffmpeg/libavformat/avformat.h:319:
|
|---|
| 289 | ffmpeg/libavformat/avio.h:404:25: note: expected 'int (*)(void *, const uint8_t *, int)' {aka 'int (*)(void *, const unsigned char *, int)'} but argument is of type 'int (*)(void *, uint8_t *, int)' {aka 'int (*)(void *, unsigned char *, int)'}
|
|---|
| 290 | 404 | int (*write_packet)(void *opaque, const uint8_t *buf, int buf_size),
|
|---|
| 291 | | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 292 | libmpdemux/muxer_lavf.c: In function 'write_header':
|
|---|
| 293 | libmpdemux/muxer_lavf.c:296:9: warning: ignoring return value of 'avformat_write_header' declared with attribute 'warn_unused_result' [-Wunused-result]
|
|---|
| 294 | 296 | avformat_write_header(priv->oc, &opts);
|
|---|
| 295 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|---|
| 296 | make: *** [Makefile:730: libmpdemux/muxer_lavf.o] Error 1
|
|---|
| 297 | make: *** Waiting for unfinished jobs....
|
|---|
| 298 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 299 | libmpcodecs/ae_lavc.c: In function 'bind_lavc':
|
|---|
| 300 | libmpcodecs/ae_lavc.c:53:41: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 301 | 53 | mux_a->wf->nChannels = lavc_actx->channels;
|
|---|
| 302 | | ^~
|
|---|
| 303 | libmpcodecs/ae_lavc.c: In function 'mpae_init_lavc':
|
|---|
| 304 | libmpcodecs/ae_lavc.c:154:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 305 | 154 | lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec);
|
|---|
| 306 | | ^
|
|---|
| 307 | libmpcodecs/ae_lavc.c:195:18: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 308 | 195 | lavc_actx->channels = encoder->params.channels;
|
|---|
| 309 | | ^~
|
|---|
| 310 | libmpcodecs/ae_lavc.c:222:58: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 311 | 222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 312 | | ^~
|
|---|
| 313 | libmpcodecs/ae_lavc.c:222:90: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 314 | 222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 315 | | ^~
|
|---|
| 316 | libmpcodecs/ae_lavc.c:241:80: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 317 | 241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 318 | | ^~
|
|---|
| 319 | libmpcodecs/ae_lavc.c:241:112: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 320 | 241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 321 | | ^~
|
|---|
| 322 | make: *** [Makefile:730: libmpcodecs/ae_lavc.o] Error 1
|
|---|
| 323 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 324 | libmpcodecs/ve_lavc.c: In function 'put_image':
|
|---|
| 325 | libmpcodecs/ve_lavc.c:725:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations]
|
|---|
| 326 | 725 | pic->top_field_first= !!(mpi->fields & MP_IMGFIELD_TOP_FIRST);
|
|---|
| 327 | | ^~~
|
|---|
| 328 | In file included from ffmpeg/libavcodec/avcodec.h:36,
|
|---|
| 329 | from libmpcodecs/ve_lavc.c:58:
|
|---|
| 330 | ffmpeg/libavutil/frame.h:560:9: note: declared here
|
|---|
| 331 | 560 | int top_field_first;
|
|---|
| 332 | | ^~~~~~~~~~~~~~~
|
|---|
| 333 | libmpcodecs/ve_lavc.c:727:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations]
|
|---|
| 334 | 727 | pic->top_field_first= 1;
|
|---|
| 335 | | ^~~
|
|---|
| 336 | ffmpeg/libavutil/frame.h:560:9: note: declared here
|
|---|
| 337 | 560 | int top_field_first;
|
|---|
| 338 | | ^~~~~~~~~~~~~~~
|
|---|
| 339 | libmpcodecs/ve_lavc.c:730:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations]
|
|---|
| 340 | 730 | pic->top_field_first= lavc_param_top;
|
|---|
| 341 | | ^~~
|
|---|
| 342 | ffmpeg/libavutil/frame.h:560:9: note: declared here
|
|---|
| 343 | 560 | int top_field_first;
|
|---|
| 344 | | ^~~~~~~~~~~~~~~
|
|---|
| 345 | libmpcodecs/ve_lavc.c: In function 'encode_frame':
|
|---|
| 346 | libmpcodecs/ve_lavc.c:743:33: error: 'AVCodecContext' has no member named 'frame_number'; did you mean 'frame_num'?
|
|---|
| 347 | 743 | pts= lavc_venc_context->frame_number * av_q2d(lavc_venc_context->time_base);
|
|---|
| 348 | | ^~~~~~~~~~~~
|
|---|
| 349 | | frame_num
|
|---|
| 350 | libmpcodecs/ve_lavc.c: In function 'uninit':
|
|---|
| 351 | libmpcodecs/ve_lavc.c:856:9: warning: 'avcodec_close' is deprecated [-Wdeprecated-declarations]
|
|---|
| 352 | 856 | avcodec_close(lavc_venc_context);
|
|---|
| 353 | | ^~~~~~~~~~~~~
|
|---|
| 354 | ffmpeg/libavcodec/avcodec.h:2387:5: note: declared here
|
|---|
| 355 | 2387 | int avcodec_close(AVCodecContext *avctx);
|
|---|
| 356 | | ^~~~~~~~~~~~~
|
|---|
| 357 | make: *** [Makefile:730: libmpcodecs/ve_lavc.o] Error 1
|
|---|
| 358 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 359 | ccache gcc -MMD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -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 -fpermissive -DPTW32_STATIC_LIB -O3 -DMODPLUG_STATIC -Wno-int-conversion -fno-common -DPIC -D_WIN32_WINNT=0x0600 -IG:/MABS/msys64/mingw64/include/openjpeg-2.5 -DOPJ_STATIC -IG:/MABS/local64/include -IG:/MABS/local64/include/freetype2 -DZLIB_CONST -IG:/MABS/local64/include/opus -IG:/MABS/local64/include/bs2b -IG:/MABS/local64/include/libxml2 -DLIBXML_STATIC -IG:/MABS/local64/include -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c
|
|---|
| 360 | cc1.exe: warning: command-line option '-fpermissive' is valid for C++/ObjC++ but not for C
|
|---|
| 361 | libmpcodecs/ae_lavc.c: In function 'bind_lavc':
|
|---|
| 362 | libmpcodecs/ae_lavc.c:53:41: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 363 | 53 | mux_a->wf->nChannels = lavc_actx->channels;
|
|---|
| 364 | | ^~
|
|---|
| 365 | libmpcodecs/ae_lavc.c: In function 'mpae_init_lavc':
|
|---|
| 366 | libmpcodecs/ae_lavc.c:154:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|---|
| 367 | 154 | lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec);
|
|---|
| 368 | | ^
|
|---|
| 369 | libmpcodecs/ae_lavc.c:195:18: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 370 | 195 | lavc_actx->channels = encoder->params.channels;
|
|---|
| 371 | | ^~
|
|---|
| 372 | libmpcodecs/ae_lavc.c:222:58: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 373 | 222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 374 | | ^~
|
|---|
| 375 | libmpcodecs/ae_lavc.c:222:90: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 376 | 222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 377 | | ^~
|
|---|
| 378 | libmpcodecs/ae_lavc.c:241:80: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 379 | 241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 380 | | ^~
|
|---|
| 381 | libmpcodecs/ae_lavc.c:241:112: error: 'AVCodecContext' has no member named 'channels'
|
|---|
| 382 | 241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1;
|
|---|
| 383 | | ^~
|
|---|
| 384 | make: *** [Makefile:730: libmpcodecs/ae_lavc.o] Error 1
|
|---|