=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mencoder-1.5nb3 help/help_create.sh help/help_mp-en.h UTF-8 clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o mencoder.o mencoder.c In file included from mencoder.c:62: In file included from ./libmpcodecs/ae.h:22: In file included from ./libmpdemux/muxer.h:24: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:25: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:69:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dvd_time_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:76:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vm_cmd_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:97:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED video_attr_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:117:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] struct ATTRIBUTE_PACKED { ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:124:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] struct ATTRIBUTE_PACKED { ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:129:5: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED app_info; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:130:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED audio_attr_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:161:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED multichannel_ext_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:185:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED subp_attr_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:200:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgc_command_tbl_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:229:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_playback_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:246:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_position_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:281:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED user_ops_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:309:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgc_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:323:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_srp_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:335:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgcit_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:347:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_lu_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:358:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pgci_ut_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:370:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED cell_adr_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:380:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED c_adt_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:389:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vobu_admap_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:442:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vmgi_mat_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:453:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED playback_type_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:466:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED title_info_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:476:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED tt_srpt_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:496:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptl_mait_country_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:507:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptl_mait_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:538:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_attributes_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:551:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_atrt_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:574:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:585:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_lu_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:597:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED txtdt_mgi_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:662:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vtsi_mat_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:670:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ptt_info_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:678:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED ttu_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:689:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_ptt_srpt_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:707:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_tmap_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:719:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vts_tmapt_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:57:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pci_gi_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:64:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED nsml_agli_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:94:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED hl_gi_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:107:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED btn_colit_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:136:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED btni_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:145:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED hli_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:155:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED pci_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:174:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dsi_gi_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:192:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_pbi_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:200:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_agl_data_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:207:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED sml_agli_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:219:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED vobu_sri_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:229:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED synci_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:82: In file included from ./stream/stream_dvd.h:27: In file included from /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_read.h:24: /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/nav_types.h:241:3: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } ATTRIBUTE_PACKED dsi_t; ^~~~~~~~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED' #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct)) ^~~~~~~~~~ In file included from mencoder.c:245: In file included from ./cfg-mencoder.h:34: ./cfg-common.h:301:18: warning: initializing 'void *' with an expression of type 'const m_option_t[49]' (aka 'const struct m_option[49]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~ ./cfg-common.h:314:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-common.h:431:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:432:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:448:12: warning: initializing 'void *' with an expression of type 'const m_option_t[6]' (aka 'const struct m_option[6]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, ^~~~~~~~~~~ ./cfg-common.h:455:12: warning: initializing 'void *' with an expression of type 'const m_option_t[29]' (aka 'const struct m_option[29]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~ ./cfg-common.h:464:14: warning: initializing 'void *' with an expression of type 'const m_option_t[9]' (aka 'const struct m_option[9]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-common.h:506:16: warning: initializing 'void *' with an expression of type 'const m_option_t[3]' (aka 'const struct m_option[3]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~ ./cfg-common.h:509:65: warning: initializing 'void *' with an expression of type 'const m_obj_list_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list}, ^~~~~~~~~~~~ ./cfg-common.h:519:16: warning: initializing 'void *' with an expression of type 'const char[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, ^~~~~~~ ./cfg-common.h:525:13: warning: initializing 'void *' with an expression of type 'const m_option_t[7]' (aka 'const struct m_option[7]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~ ./cfg-common.h:547:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:548:20: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~~ ./cfg-common.h:552:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~ In file included from mencoder.c:245: ./cfg-mencoder.h:190:13: warning: initializing 'void *' with an expression of type 'const m_option_t[9]' (aka 'const struct m_option[9]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~ ./cfg-mencoder.h:191:13: warning: initializing 'void *' with an expression of type 'const m_option_t[12]' (aka 'const struct m_option[12]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~ ./cfg-mencoder.h:194:12: warning: initializing 'void *' with an expression of type 'const m_option_t[7]' (aka 'const struct m_option[7]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~ ./cfg-mencoder.h:221:14: warning: initializing 'void *' with an expression of type 'const m_option_t[9]' (aka 'const struct m_option[9]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~ ./cfg-mencoder.h:226:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-mencoder.h:229:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-mencoder.h:252:21: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~~~~ ./cfg-mencoder.h:261:19: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-mencoder.h:263:19: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ mencoder.c:361:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (! mux) return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:465:109: warning: shifting a negative signed value is undefined [-Wshift-negative-value] void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:465:125: warning: shifting a negative signed value is undefined [-Wshift-negative-value] void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:467:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:467:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:689:68: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(audio_lang && audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang); ^~~~~~~~~~ ./stream/stream_dvd.h:59:62: note: passing argument to parameter 'lang' here int dvd_aid_from_lang(stream_t *stream, const unsigned char* lang); ^ mencoder.c:690:71: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvd.h:60:62: note: passing argument to parameter 'lang' here int dvd_sid_from_lang(stream_t *stream, const unsigned char* lang); ^ mencoder.c:696:74: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(audio_lang && audio_id==-1) audio_id=mp_dvdnav_aid_from_lang(stream,audio_lang); ^~~~~~~~~~ ./stream/stream_dvdnav.h:33:68: note: passing argument to parameter 'language' here int mp_dvdnav_aid_from_lang(stream_t *stream, const unsigned char *language); ^ mencoder.c:697:77: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=mp_dvdnav_sid_from_lang(stream,dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvdnav.h:34:68: note: passing argument to parameter 'language' here int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); ^ mencoder.c:810:97: warning: passing 'unsigned char[3]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (spudec_ifo && vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1, dvdsub_id, tmp) >= 0) ^~~ ./sub/vobsub.h:24:150: note: passing argument to parameter 'langid' here int vobsub_parse_ifo(void* this, const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force, int sid, char *langid); ^ mencoder.c:1403:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1403:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1493:107: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1493:123: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1497:74: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1497:90: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1506:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1506:68: warning: shifting a negative signed value is undefined [-Wshift-negative-value] drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1509:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (did_seek && sh_video->pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1519:100: warning: shifting a negative signed value is undefined [-Wshift-negative-value] blit_frame = decoded_frame && filter_video(sh_video, decoded_frame, v_muxer_time + sub_offset, MP_NOPTS_VALUE);} ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1559:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1559:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 100 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o parser-mecmd.o parser-mecmd.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o xvid_vbr.o xvid_vbr.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ae.o libmpcodecs/ae.c In file included from libmpcodecs/ae.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c In file included from libmpcodecs/ae_pcm.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve.o libmpcodecs/ve.c clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c In file included from libmpcodecs/ve_raw.c:29: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_raw.c:166:19: warning: incompatible function pointer types assigning to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' (aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)') from 'int (struct vf_instance *, mp_image_t *, double)' (aka 'int (struct vf_instance *, struct mp_image *, double)') [-Wincompatible-function-pointer-types] vf->put_image = put_image; ^ ~~~~~~~~~ 4 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer.o libmpdemux/muxer.c In file included from libmpdemux/muxer.c:26: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer.c:127:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(dts == MP_NOPTS_VALUE) dts= s->timer; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer.c:128:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts == MP_NOPTS_VALUE) pts= s->timer; // this is wrong ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 5 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c In file included from libmpdemux/muxer_avi.c:28: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer_avi.c:145:30: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_id, 4); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:146:30: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_len, 4); ^~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:163:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_write_buffer(stream, avi_junk_data, l); ^~~~~~~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:179:31: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &list_id, 4); ^~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:180:31: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_len, 4); ^~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:181:31: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_id, 4); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:202:40: warning: incompatible pointer types passing 'uint32_t[3]' (aka 'unsigned int[3]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream, riff, 12); ^~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:254:45: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,&rifflen,4); ^~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:259:49: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,&movilen,4); ^~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:272:39: warning: incompatible pointer types passing 'uint32_t (*)[3]' (aka 'unsigned int (*)[3]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,&riff,12); ^~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:409:38: warning: incompatible pointer types passing 'unsigned int[8]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,idxhdr,sizeof(idxhdr)); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:417:42: warning: incompatible pointer types passing 'unsigned int[4]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,data,sizeof(data)); ^~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:433:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] info[0].text=mencoder_version; ^~~~~~~~~~~~~~~~~ libmpdemux/muxer_avi.c:645:37: warning: incompatible pointer types passing 'unsigned int[8]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream, idxhdr,sizeof(idxhdr)); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:651:41: warning: incompatible pointer types passing 'unsigned int[2]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream, entry, sizeof(entry)); ^~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ 18 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c In file included from libmpdemux/muxer_mpeg.c:31: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer_mpeg.c:580:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_ts(&buff[4], priv->scr, 0x20); // 0010 and SCR ^~~~~~~~ libmpdemux/muxer_mpeg.c:510:42: note: passing argument to parameter 'b' here static void write_mpeg_ts(unsigned char *b, uint64_t ts, uint8_t mod) { ^ libmpdemux/muxer_mpeg.c:581:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_rate(priv->mux, &buff[9], muxer->sysrate); ^~~~~~~~ libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate) ^ libmpdemux/muxer_mpeg.c:586:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg2_scr(&buff[4], priv->scr); // 0010 and SCR ^~~~~~~~ libmpdemux/muxer_mpeg.c:554:44: note: passing argument to parameter 'b' here static void write_mpeg2_scr(unsigned char *b, uint64_t ts) ^ libmpdemux/muxer_mpeg.c:587:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_rate(priv->mux, &buff[10], muxer->sysrate); ^~~~~~~~~ libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate) ^ libmpdemux/muxer_mpeg.c:607:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_rate(MUX_MPEG1, &buff[len], muxer->sysrate); ^~~~~~~~~~ libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate) ^ libmpdemux/muxer_mpeg.c:622:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_std(&buff[len], priv->sys_info.streams[i].bufsize, priv->sys_info.streams[i].type, ^~~~~~~~~~ libmpdemux/muxer_mpeg.c:539:43: note: passing argument to parameter 'b' here static void write_mpeg_std(unsigned char *b, unsigned int size, unsigned int type, uint8_t mod) ^ libmpdemux/muxer_mpeg.c:673:25: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] crc = CalcCRC32(buff, len); ^~~~ libmpdemux/muxer_mpeg.c:293:36: note: passing argument to parameter 'buff' here static uint32_t CalcCRC32(uint8_t *buff, uint32_t size) ^ libmpdemux/muxer_mpeg.c:858:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] offset = write_mpeg_pack_header(muxer, buff); ^~~~ libmpdemux/muxer_mpeg.c:573:57: note: passing argument to parameter 'buff' here static int write_mpeg_pack_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:859:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] offset += write_mpeg_system_header(muxer, &buff[offset]); ^~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:596:59: note: passing argument to parameter 'buff' here static int write_mpeg_system_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:1147:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spriv->pack_offset = write_mpeg_pack_header(muxer, spriv->pack); ^~~~~~~~~~~ libmpdemux/muxer_mpeg.c:573:57: note: passing argument to parameter 'buff' here static int write_mpeg_pack_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:1150:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spriv->pack_offset += write_mpeg_system_header(muxer, &spriv->pack[spriv->pack_offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:596:59: note: passing argument to parameter 'buff' here static int write_mpeg_system_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:1156:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spriv->pack_offset += write_mpeg_psm(muxer, &spriv->pack[spriv->pack_offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:632:49: note: passing argument to parameter 'buff' here static int write_mpeg_psm(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:2392:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_audio(muxer->streams[i], 1, &nf, &fake_timer, priv->init_adelay, priv->drop); ^~~ libmpdemux/muxer_mpeg.c:2062:71: note: passing argument to parameter 'nf' here static int parse_audio(muxer_stream_t *s, int finalize, unsigned int *nf, double *timer, double delay, int drop) ^ libmpdemux/muxer_mpeg.c:2713:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((priv->buff == NULL)) ~~~~~~~~~~~^~~~~~~ libmpdemux/muxer_mpeg.c:2713:17: note: remove extraneous parentheses around the comparison to silence this warning if((priv->buff == NULL)) ~ ^ ~ libmpdemux/muxer_mpeg.c:2713:17: note: use '=' to turn this equality comparison into an assignment if((priv->buff == NULL)) ^~ = 17 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c In file included from libmpdemux/muxer_rawaudio.c:27: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c In file included from libmpdemux/muxer_rawvideo.c:29: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c In file included from libmpcodecs/ae_lavc.c:28: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ae_lavc.c:53:36: warning: 'channels' is deprecated [-Wdeprecated-declarations] mux_a->wf->nChannels = lavc_actx->channels; ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ae_lavc.c:154:14: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ae_lavc.c:195:13: warning: 'channels' is deprecated [-Wdeprecated-declarations] lavc_actx->channels = encoder->params.channels; ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ae_lavc.c:222:46: warning: 'channels' is deprecated [-Wdeprecated-declarations] int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ae_lavc.c:222:78: warning: 'channels' is deprecated [-Wdeprecated-declarations] int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ae_lavc.c:241:68: warning: 'channels' is deprecated [-Wdeprecated-declarations] lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ae_lavc.c:241:100: warning: 'channels' is deprecated [-Wdeprecated-declarations] lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 10 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c In file included from libmpcodecs/ve_lavc.c:44: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:444:39: warning: incompatible integer to pointer conversion assigning to 'RcOverride *' (aka 'struct RcOverride *') from 'int' [-Wint-conversion] lavc_venc_context->rc_override= ^ libmpcodecs/ve_lavc.c:689:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] while(encode_frame(vf, NULL, MP_NOPTS_VALUE) > 0); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:743:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:751:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:754:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pic->pts= MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:776:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dts = pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:877:18: warning: incompatible function pointer types assigning to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' (aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)') from 'int (struct vf_instance *, mp_image_t *, double)' (aka 'int (struct vf_instance *, struct mp_image *, double)') [-Wincompatible-function-pointer-types] vf->put_image=put_image; ^~~~~~~~~~ 10 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c In file included from libmpdemux/muxer_lavf.c:30: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer_lavf.c:195:8: warning: 'channels' is deprecated [-Wdeprecated-declarations] ctx->channels = stream->wf->nChannels; ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/codec_par.h:171:5: note: 'channels' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpdemux/muxer_lavf.c:257:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavcodec/packet.h:511:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpdemux/muxer_lavf.c:296:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] avformat_write_header(priv->oc, &opts); ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c:358:7: warning: assigning to 'AVOutputFormat *' (aka 'struct AVOutputFormat *') from 'const AVOutputFormat *' (aka 'const struct AVOutputFormat *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] fmt = av_guess_format(conf_format, NULL, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c:360:7: warning: assigning to 'AVOutputFormat *' (aka 'struct AVOutputFormat *') from 'const AVOutputFormat *' (aka 'const struct AVOutputFormat *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] fmt = av_guess_format(NULL, out_filename, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve_libdv.o libmpcodecs/ve_libdv.c In file included from libmpcodecs/ve_libdv.c:31: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_libdv.c:108:18: warning: incompatible function pointer types assigning to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' (aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)') from 'int (struct vf_instance *, mp_image_t *, double)' (aka 'int (struct vf_instance *, struct mp_image *, double)') [-Wincompatible-function-pointer-types] vf->put_image=put_image; ^~~~~~~~~~ 4 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ae_lame.o libmpcodecs/ae_lame.c In file included from libmpcodecs/ae_lame.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c In file included from libmpcodecs/ve_x264.c:42: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_x264.c:274:72: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mod->mux, i_size, keyframe?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_x264.c:274:88: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mod->mux, i_size, keyframe?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_x264.c:296:19: warning: incompatible function pointer types assigning to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' (aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)') from 'int (struct vf_instance *, mp_image_t *, double)' (aka 'int (struct vf_instance *, struct mp_image *, double)') [-Wincompatible-function-pointer-types] vf->put_image = put_image; ^ ~~~~~~~~~ 6 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o libmpcodecs/ve_xvid4.o libmpcodecs/ve_xvid4.c In file included from libmpcodecs/ve_xvid4.c:42: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:574:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:574:69: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:596:19: warning: incompatible function pointer types assigning to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' (aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)') from 'int (struct vf_instance *, mp_image_t *, double)' (aka 'int (struct vf_instance *, struct mp_image *, double)') [-Wincompatible-function-pointer-types] vf->put_image = put_image; ^ ~~~~~~~~~ libmpcodecs/ve_xvid4.c:858:59: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frame->quant_intra_matrix = (unsigned char*)read_matrix(xvidenc_intra_matrix_file); ^~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c:664:41: note: passing argument to parameter 'filename' here static void *read_matrix(unsigned char *filename); ^ libmpcodecs/ve_xvid4.c:866:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frame->quant_inter_matrix = read_matrix(xvidenc_inter_matrix_file); ^~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c:664:41: note: passing argument to parameter 'filename' here static void *read_matrix(unsigned char *filename); ^ libmpcodecs/ve_xvid4.c:1353:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:1353:69: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:1459:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((input = fopen(filename, "rb")) == NULL) { ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/stdio.h:153:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ 11 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o asxparser.o asxparser.c In file included from asxparser.c:31: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 3 warnings generated. clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/ncurses -fpie -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -DZLIB_CONST -I/opt/pkg/include/opus -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include/ffmpeg5 -I/opt/pkg/include -c -o bstr.o bstr.c bstr.c:43:30: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int ret = av_strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/avstring.h:272:32: note: passing argument to parameter 'a' here int av_strncasecmp(const char *a, const char *b, size_t n); ^ bstr.c:43:42: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int ret = av_strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); ^~~~~~~~~~ /Users/pbulk/build/multimedia/mencoder/work/.buildlink/include/ffmpeg5/libavutil/avstring.h:272:47: note: passing argument to parameter 'b' here int av_strncasecmp(const char *a, const char *b, size_t n); ^ 2 warnings generated. clang -D_ISOC99_SOURCE -I. -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c codec-cfg.c:60:10: fatal error: 'libavutil/avutil.h' file not found #include "libavutil/avutil.h" ^~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake: *** [Makefile:756: codec-cfg] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/multimedia/mencoder *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/multimedia/mencoder