===> Building for mplayer-1.5nb4
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 command.o command.c
In file included from command.c:30:
./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 command.c:63:
In file included from ./stream/stream_dvd.h:25:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:117:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:124:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 command.c:63:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED'
#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
                                                ^~~~~~~~~~
command.c:376:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (!mpctx->demuxer || mpctx->demuxer->stream_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
                        ~~~~^
command.c:2707:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                if (mpctx->begin_skip == 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
                        ~~~~^
command.c:2718:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                    mpctx->begin_skip = 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
                        ~~~~^
58 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 m_property.o m_property.c
In file included from m_property.c:34:
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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 mixer.o mixer.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 mp_fifo.o mp_fifo.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 mplayer.o mplayer.c
In file included from mplayer.c:69:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined]
#define HAVE_MPROTECT 1
        ^
./config.h:592:9: note: previous definition is here
#define HAVE_MPROTECT 0
        ^
In file included from mplayer.c:73:
In file included from ./gui/interface.h:23:
In file included from ./mp_core.h:27:
./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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:25:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:117:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:124:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mplayer.c:135:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED'
#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
                                                ^~~~~~~~~~
mplayer.c:143:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
double start_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
                        ~~~~^
mplayer.c:154:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    .begin_skip     = 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
                        ~~~~^
mplayer.c:204:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
static double seek_to_sec = 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
                        ~~~~^
In file included from mplayer.c:336:
In file included from ./cfg-mplayer.h:27:
./cfg-common.h:301:18: warning: initializing 'void *' with an expression of type 'const m_option_t [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 []' 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 (*)[]' 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 (*)[]' 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]' 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]' 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]' 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]' 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]' 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 []' 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 []' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"lavfdopts",  lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},
                   ^~~~~~~~~~~~~~
In file included from mplayer.c:336:
./cfg-mplayer.h:354:16: warning: initializing 'void *' with an expression of type 'const m_option_t [4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
               ^~~~~~~~~~~
./cfg-mplayer.h:361:15: warning: initializing 'void *' with an expression of type 'const char [1839]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
              ^~~~~~~~~
./cfg-mplayer.h:362:14: warning: initializing 'void *' with an expression of type 'const char [1839]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
             ^~~~~~~~~
./cfg-mplayer.h:363:11: warning: initializing 'void *' with an expression of type 'const char [1839]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
          ^~~~~~~~~
./cfg-mplayer.h:365:12: warning: initializing 'void *' with an expression of type 'const m_option_t [2]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
           ^~~~~~~
mplayer.c:511:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    double video_start_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
                        ~~~~^
mplayer.c:539:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (video_start_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
                        ~~~~^
mplayer.c:540:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (start_pts == MP_NOPTS_VALUE || !mpctx->sh_audio ||
                         ^~~~~~~~~~~~~~
./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
                        ~~~~^
mplayer.c:544:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (start_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
                        ~~~~^
mplayer.c:1748:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    case END_AT_TIME: return pts != MP_NOPTS_VALUE && end_at->pos <= pts;
                                    ^~~~~~~~~~~~~~
./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
                        ~~~~^
mplayer.c:1798:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            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
                        ~~~~^
mplayer.c:1956:63: 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]
        dvdsub_lang_id = mp_dvdnav_sid_from_lang(ctx->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);
                                                                   ^
mplayer.c:1944:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ctx->demuxer->stream_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
                        ~~~~^
mplayer.c:2072:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (a_pts == MP_NOPTS_VALUE || v_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
                        ~~~~^
mplayer.c:2072:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (a_pts == MP_NOPTS_VALUE || v_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
                        ~~~~^
mplayer.c:2437:21: warning: incompatible pointer types assigning to 'sh_video_t *' (aka 'struct sh_video *') from 'demux_stream_t *' [-Wincompatible-pointer-types]
    mpctx->sh_video = mpctx->sh_video->ds = NULL;
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
mplayer.c:2415:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    sh_video->last_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
                        ~~~~^
mplayer.c:2527:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (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
                        ~~~~^
mplayer.c:2531:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (sh_video->last_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
                        ~~~~^
mplayer.c:3224:41: 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]
        vobsub_set_from_lang(vo_vobsub, dvdsub_lang);
                                        ^~~~~~~~~~~
./sub/vobsub.h:44:59: note: passing argument to parameter 'lang' here
int vobsub_set_from_lang(void *vobhandle, unsigned char * lang);
                                                          ^
mplayer.c:3304:46: warning: passing 'unsigned char [4096]' 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]
            len = stream_read(mpctx->stream, buf, 4096);
                                             ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
mplayer.c:3348:57: 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]
            audio_id = dvd_aid_from_lang(mpctx->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);
                                                             ^
mplayer.c:3350:58: 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]
            dvdsub_id = dvd_sid_from_lang(mpctx->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);
                                                             ^
mplayer.c:3361:63: 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]
            audio_id = mp_dvdnav_aid_from_lang(mpctx->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);
                                                                   ^
mplayer.c:3364:81: 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]
            dvdsub_lang_id = dvdsub_id = mp_dvdnav_sid_from_lang(mpctx->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);
                                                                   ^
mplayer.c:3400:36: 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]
                   filename_recode(playlist_entry));
                                   ^~~~~~~~~~~~~~
./mp_msg.h:165:41: note: passing argument to parameter 'filename' here
const char* filename_recode(const char* filename);
                                        ^
mplayer.c:3402:33: 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]
            bname = mp_basename(playlist_entry);
                                ^~~~~~~~~~~~~~
./path.h:28:37: note: passing argument to parameter 'path' here
const char *mp_basename(const char *path);
                                    ^
mplayer.c:3406:25: 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 (!strcmp(playlist_entry, filename)) // ignoring self-reference
                        ^~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
mplayer.c:3411:49: 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 (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file
                                                ^~~~~~~~~~~~~~
./path.h:28:37: note: passing argument to parameter 'path' here
const char *mp_basename(const char *path);
                                    ^
mplayer.c:3411:66: 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 (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file
                                                                 ^~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:43: note: passing argument to parameter '__s2' here
int      strcmp(const char *__s1, const char *__s2);
                                              ^
mplayer.c:3412:90: 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]
                temp = malloc((strlen(filename) - strlen(mp_basename(filename)) + strlen(playlist_entry) + 1));
                                                                                         ^~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
mplayer.c:3416:34: 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]
                    strcat(temp, playlist_entry);
                                 ^~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat'
                __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
mplayer.c:3426:43: 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]
                play_tree_add_file(entry, playlist_entry);
                                          ^~~~~~~~~~~~~~
./playtree.h:182:48: note: passing argument to parameter 'file' here
play_tree_add_file(play_tree_t* pt,const char* file);
                                               ^
mplayer.c:3534:41: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types]
                stream_write_buffer(os, &in_size, 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);
                                                    ^
mplayer.c:3301:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                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
                        ~~~~^
mplayer.c:3741:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (seek_to_sec != 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
                        ~~~~^
mplayer.c:3831:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        if (correct_pts && mpctx->sh_video->endpts != 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
                        ~~~~^
mplayer.c:3832:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                            mpctx->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
                        ~~~~^
mplayer.c:3840:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        mpctx->sh_video->endpts = 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
                        ~~~~^
mplayer.c:4021:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                if (seek_to_sec == 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
                        ~~~~^
112 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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-mpcmd.o parser-mpcmd.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 pnm_loader.o pnm_loader.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 input/input.o input/input.c
input/input.c:635:14: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  { "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
             ^~~~~~~~~~~
input/input.c:1471:14: warning: returning 'char const[20]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      return key_names[i].name;
             ^~~~~~~~~~~~~~~~~
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libao2/ao_mpegpes.o libao2/ao_mpegpes.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libao2/ao_null.o libao2/ao_null.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libao2/ao_pcm.o libao2/ao_pcm.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libao2/audio_out.o libao2/audio_out.c
In file included from libao2/audio_out.c:28:
In file included from ./mp_core.h:27:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/aspect.o libvo/aspect.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/geometry.o libvo/geometry.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/video_out.o libvo/video_out.c
libvo/video_out.c:377:12: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    aspect(&d_width,&d_height,A_NOZOOM);
           ^~~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/video_out.c:377:21: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    aspect(&d_width,&d_height,A_NOZOOM);
                    ^~~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
libvo/video_out.c:380:30: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    geometry(&vo_dx, &vo_dy, &d_width, &d_height,
                             ^~~~~~~~
libvo/geometry.h:27:41: note: passing argument to parameter 'widw' here
int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh);
                                        ^
libvo/video_out.c:380:40: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    geometry(&vo_dx, &vo_dy, &d_width, &d_height,
                                       ^~~~~~~~~
libvo/geometry.h:27:52: note: passing argument to parameter 'widh' here
int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh);
                                                   ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_mpegpes.o libvo/vo_mpegpes.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_null.o libvo/vo_null.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/spuenc.o sub/spuenc.c
sub/spuenc.c:132:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses]
        if(! i&1 ) {
           ^  ~
sub/spuenc.c:132:5: note: add parentheses after the '!' to evaluate the bitwise operator first
        if(! i&1 ) {
           ^
             (  )
sub/spuenc.c:132:5: note: add parentheses around left hand side expression to silence this warning
        if(! i&1 ) {
           ^
           (  )
sub/spuenc.c:223:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        pb.pixels = inbuf;
                  ^ ~~~~~
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 input/ar.o input/ar.c
input/ar.c:235:24: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    if (FindHIDDevices(kIOMasterPortDefault, &hidObjectIterator))
                       ^~~~~~~~~~~~~~~~~~~~
                       kIOMainPortDefault
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:123:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here
const mach_port_t kIOMasterPortDefault
                  ^
input/ar.c:309:9: warning: 'GetFrontProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
    if (GetFrontProcess(&frProc) == noErr
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:434:1: note: 'GetFrontProcess' has been explicitly marked deprecated here
GetFrontProcess(ProcessSerialNumber * PSN)                    AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
^
input/ar.c:310:16: warning: 'GetCurrentProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
            && GetCurrentProcess(&myProc) == noErr
               ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:415:1: note: 'GetCurrentProcess' has been explicitly marked deprecated here
MacGetCurrentProcess(ProcessSerialNumber * PSN)               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:412:34: note: expanded from macro 'MacGetCurrentProcess'
    #define MacGetCurrentProcess GetCurrentProcess
                                 ^
input/ar.c:311:16: warning: 'SameProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
            && SameProcess(&frProc, &myProc, &sameProc) == noErr) {
               ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:696:1: note: 'SameProcess' has been explicitly marked deprecated here
SameProcess(
^
input/ar.c:315:27: warning: 'GetProcessPID' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
        if (slave_mode && GetProcessPID(&frProc, &parentPID) == noErr)
                          ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:893:1: note: 'GetProcessPID' has been explicitly marked deprecated here
GetProcessPID(
^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libao2/ao_coreaudio.o libao2/ao_coreaudio.c
libao2/ao_coreaudio.c:133:31: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
  int free = ao->buffer_len - av_fifo_size(ao->buffer);
                              ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:135:10: warning: 'av_fifo_generic_write' is deprecated [-Wdeprecated-declarations]
  return av_fifo_generic_write(ao->buffer, data, len, NULL);
         ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:359:1: note: 'av_fifo_generic_write' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:142:18: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
  int buffered = av_fifo_size(ao->buffer);
                 ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:145:5: warning: 'av_fifo_generic_read' is deprecated [-Wdeprecated-declarations]
    av_fifo_generic_read(ao->buffer, data, len, NULL);
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:340:1: note: 'av_fifo_generic_read' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:147:5: warning: 'av_fifo_drain' is deprecated [-Wdeprecated-declarations]
    av_fifo_drain(ao->buffer, len);
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:398:1: note: 'av_fifo_drain' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:157:9: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
int amt=av_fifo_size(ao->buffer);
        ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:257:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:273:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:312:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:337:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:350:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:617:18: warning: 'av_fifo_alloc' is deprecated [-Wdeprecated-declarations]
    ao->buffer = av_fifo_alloc(ao->buffer_len);
                 ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:238:1: note: 'av_fifo_alloc' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:638:5: warning: 'av_fifo_free' is deprecated [-Wdeprecated-declarations]
    av_fifo_free(ao->buffer);
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:256:1: note: 'av_fifo_free' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:674:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:814:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:849:18: warning: 'av_fifo_alloc' is deprecated [-Wdeprecated-declarations]
    ao->buffer = av_fifo_alloc(ao->buffer_len);
                 ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:238:1: note: 'av_fifo_alloc' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:894:5: warning: 'av_fifo_free' is deprecated [-Wdeprecated-declarations]
    av_fifo_free(ao->buffer);
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:256:1: note: 'av_fifo_free' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:986:34: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
    property_address.mElement  = kAudioObjectPropertyElementMaster;
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 kAudioObjectPropertyElementMain
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
    kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
    ^
libao2/ao_coreaudio.c:1063:15: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
    int amt = av_fifo_size(ao->buffer);
              ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:1119:3: warning: 'av_fifo_reset' is deprecated [-Wdeprecated-declarations]
  av_fifo_reset(ao->buffer);
  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:272:1: note: 'av_fifo_reset' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:1126:27: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
  return ao->buffer_len - av_fifo_size(ao->buffer);
                          ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:1134:17: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
  return (float)av_fifo_size(ao->buffer)/(float)ao_data.bps;
                ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:1144:35: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
    long long timeleft=(1000000LL*av_fifo_size(ao->buffer))/ao_data.bps;
                                  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:1145:68: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
    ao_msg(MSGT_AO,MSGL_DBG2, "%d bytes left @%d bps (%d usec)\n", av_fifo_size(ao->buffer), ao_data.bps, (int)timeleft);
                                                                   ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_coreaudio.c:1199:3: warning: 'av_fifo_free' is deprecated [-Wdeprecated-declarations]
  av_fifo_free(ao->buffer);
  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:256:1: note: 'av_fifo_free' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
25 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_corevideo.o libvo/vo_corevideo.m
libvo/vo_corevideo.m:58:8: warning: 'NSDistantObject' is deprecated: first deprecated in macOS 10.13 - Use NSXPCConnection instead [-Wdeprecated-declarations]
static NSDistantObject *mplayerosxProxy;
       ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDistantObject.h:13:12: note: 'NSDistantObject' has been explicitly marked deprecated here
@interface NSDistantObject : NSProxy <NSCoding> {
           ^
libvo/vo_corevideo.m:212:33: warning: 'NSConnection' is deprecated: first deprecated in macOS 10.13 - Use NSXPCConnection instead [-Wdeprecated-declarations]
                mplayerosxProxy=[NSConnection rootProxyForConnectionWithRegisteredName:[NSString stringWithUTF8String:buffer_name] host:nil];
                                              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSConnection.h:18:12: note: 'NSConnection' has been explicitly marked deprecated here
@interface NSConnection : NSObject {
           ^
libvo/vo_corevideo.m:320:38: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSDefaultRunLoopMode dequeue:YES];
                                     ^~~~~~~~~~~~~~
                                     NSEventMaskAny
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here
static const NSEventMask NSAnyEventMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macos(10.0,10.12)) = NSUIntegerMax;
                         ^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/osx_common.o libvo/osx_common.c
libvo/osx_common.c:156:9: warning: 'GetFrontProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
    if (GetFrontProcess(&frProc)   == noErr &&
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:434:1: note: 'GetFrontProcess' has been explicitly marked deprecated here
GetFrontProcess(ProcessSerialNumber * PSN)                    AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
^
libvo/osx_common.c:157:9: warning: 'GetCurrentProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
        GetCurrentProcess(&myProc) == noErr) {
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:415:1: note: 'GetCurrentProcess' has been explicitly marked deprecated here
MacGetCurrentProcess(ProcessSerialNumber * PSN)               AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:412:34: note: expanded from macro 'MacGetCurrentProcess'
    #define MacGetCurrentProcess GetCurrentProcess
                                 ^
libvo/osx_common.c:158:13: warning: 'SameProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
        if (SameProcess(&frProc, &myProc, &sameProc) == noErr && !sameProc) {
            ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:696:1: note: 'SameProcess' has been explicitly marked deprecated here
SameProcess(
^
libvo/osx_common.c:162:9: warning: 'SetFrontProcess' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations]
        SetFrontProcess(&myProc);
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:603:1: note: 'SetFrontProcess' has been explicitly marked deprecated here
SetFrontProcess(const ProcessSerialNumber * PSN)              AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9;
^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/osx_objc_common.o libvo/osx_objc_common.m
libvo/osx_objc_common.m:89:34: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
    [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSDefaultRunLoopMode dequeue:YES];
                                 ^~~~~~~~~~~~~~
                                 NSEventMaskAny
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here
static const NSEventMask NSAnyEventMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macos(10.0,10.12)) = NSUIntegerMax;
                         ^
libvo/osx_objc_common.m:186:19: warning: 'NSTitledWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                                                                styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask
                                                                          ^~~~~~~~~~~~~~~~~~
                                                                          NSWindowStyleMaskTitled
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:885:32: note: 'NSTitledWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSTitledWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskTitled", macos(10.0,10.12)) = NSWindowStyleMaskTitled;
                               ^
libvo/osx_objc_common.m:186:38: warning: 'NSTexturedBackgroundWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                                                                styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask
                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                             NSWindowStyleMaskTexturedBackground
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:889:32: note: 'NSTexturedBackgroundWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSTexturedBackgroundWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskTexturedBackground", macos(10.0,10.12)) = NSWindowStyleMaskTexturedBackground;
                               ^
libvo/osx_objc_common.m:186:69: warning: 'NSClosableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                                                                styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask
                                                                                                                            ^~~~~~~~~~~~~~~~~~~~
                                                                                                                            NSWindowStyleMaskClosable
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:886:32: note: 'NSClosableWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSClosableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskClosable", macos(10.0,10.12)) = NSWindowStyleMaskClosable;
                               ^
libvo/osx_objc_common.m:186:90: warning: 'NSMiniaturizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                                                                styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask
                                                                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                                                                                 NSWindowStyleMaskMiniaturizable
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:887:32: note: 'NSMiniaturizableWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSMiniaturizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskMiniaturizable", macos(10.0,10.12)) = NSWindowStyleMaskMiniaturizable;
                               ^
libvo/osx_objc_common.m:186:117: warning: 'NSResizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                                                                styleMask:NSTitledWindowMask|NSTexturedBackgroundWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask|NSResizableWindowMask
                                                                                                                                                                            ^~~~~~~~~~~~~~~~~~~~~
                                                                                                                                                                            NSWindowStyleMaskResizable
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:888:32: note: 'NSResizableWindowMask' has been explicitly marked deprecated here
static const NSWindowStyleMask NSResizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskResizable", macos(10.0,10.12)) = NSWindowStyleMaskResizable;
                               ^
libvo/osx_objc_common.m:202:50: warning: 'NSOpenGLCPSwapInterval' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
        [glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];
                                                        ^~~~~~~~~~~~~~~~~~~~~~
                                                        NSOpenGLContextParameterSwapInterval
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:258:39: note: 'NSOpenGLCPSwapInterval' has been explicitly marked deprecated here
static const NSOpenGLContextParameter NSOpenGLCPSwapInterval API_DEPRECATED_WITH_REPLACEMENT("NSOpenGLContextParameterSwapInterval", macos(10.5,10.14)) = NSOpenGLContextParameterSwapInterval;
                                      ^
libvo/osx_objc_common.m:203:13: warning: 'setView:' is deprecated: first deprecated in macOS 10.14 - Use NSOpenGLView to provide OpenGL content in a Cocoa app. [-Wdeprecated-declarations]
        [glContext setView:self];
                   ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:193:36: note: property 'view' is declared deprecated here
@property (nullable, weak) NSView *view NS_SWIFT_UI_ACTOR API_DEPRECATED("", macos(10.0,10.14));
                                   ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:194:1: note: 'setView:' has been explicitly marked deprecated here
- (void)setView:(nullable NSView *)view NS_SWIFT_UI_ACTOR API_DEPRECATED("Use NSOpenGLView to provide OpenGL content in a Cocoa app.", macos(10.0,10.14));
^
libvo/osx_objc_common.m:302:45: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
        if(vo_keepaspect) [kKeepAspectCmd setState:NSOnState];
                                                   ^~~~~~~~~
                                                   NSControlStateValueOn
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
static const NSControlStateValue NSOnState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOn", macos(10.0,10.14)) = NSControlStateValueOn;
                                 ^
libvo/osx_objc_common.m:304:39: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
        if(vo_panscan) [kPanScanCmd setState:NSOnState];
                                             ^~~~~~~~~
                                             NSControlStateValueOn
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
static const NSControlStateValue NSOnState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOn", macos(10.0,10.14)) = NSControlStateValueOn;
                                 ^
libvo/osx_objc_common.m:368:29: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
                        [kKeepAspectCmd setState:NSOnState];
                                                 ^~~~~~~~~
                                                 NSControlStateValueOn
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
static const NSControlStateValue NSOnState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOn", macos(10.0,10.14)) = NSControlStateValueOn;
                                 ^
libvo/osx_objc_common.m:370:29: warning: 'NSOffState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
                        [kKeepAspectCmd setState:NSOffState];
                                                 ^~~~~~~~~~
                                                 NSControlStateValueOff
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here
static const NSControlStateValue NSOffState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOff", macos(10.0,10.14)) = NSControlStateValueOff;
                                 ^
libvo/osx_objc_common.m:379:26: warning: 'NSOnState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
                        [kPanScanCmd setState:NSOnState];
                                              ^~~~~~~~~
                                              NSControlStateValueOn
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:353:34: note: 'NSOnState' has been explicitly marked deprecated here
static const NSControlStateValue NSOnState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOn", macos(10.0,10.14)) = NSControlStateValueOn;
                                 ^
libvo/osx_objc_common.m:381:26: warning: 'NSOffState' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations]
                        [kPanScanCmd setState:NSOffState];
                                              ^~~~~~~~~~
                                              NSControlStateValueOff
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:352:34: note: 'NSOffState' has been explicitly marked deprecated here
static const NSControlStateValue NSOffState API_DEPRECATED_WITH_REPLACEMENT("NSControlStateValueOff", macos(10.0,10.14)) = NSControlStateValueOff;
                                 ^
libvo/osx_objc_common.m:410:11: warning: instance method '-enterFullScreenMode:' not found (return type defaults to 'id') [-Wobjc-method-access]
                [window enterFullScreenMode:[self fullscreen_screen]];
                        ^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:204:12: note: receiver is instance of class declared here
@interface NSWindow : NSResponder <NSAnimatablePropertyContainer, NSMenuItemValidation, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
           ^
libvo/osx_objc_common.m:437:11: warning: instance method '-exitFullScreenMode:' not found (return type defaults to 'id') [-Wobjc-method-access]
                [window exitFullScreenMode:[self fullscreen_screen]];
                        ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:204:12: note: receiver is instance of class declared here
@interface NSWindow : NSResponder <NSAnimatablePropertyContainer, NSMenuItemValidation, NSUserInterfaceValidations, NSUserInterfaceItemIdentification, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
           ^
libvo/osx_objc_common.m:489:16: warning: 'TickCount' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
        int curTime = TickCount()/60;
                      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/OSUtils.h:393:1: note: 'TickCount' has been explicitly marked deprecated here
TickCount(void)                                               __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
^
libvo/osx_objc_common.m:506:3: warning: 'UpdateSystemActivity' is deprecated: first deprecated in macOS 10.8 - No longer supported [-Wdeprecated-declarations]
                UpdateSystemActivity(UsrActivity);
                ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h:367:1: note: 'UpdateSystemActivity' has been explicitly marked deprecated here
UpdateSystemActivity(UInt8 activity)                          API_DEPRECATED("No longer supported", macos(10.0,10.8) ) API_UNAVAILABLE( ios, tvos, watchos );
^
libvo/osx_objc_common.m:511:39: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
        event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSEventTrackingRunLoopMode dequeue:YES];
                                             ^~~~~~~~~~~~~~
                                             NSEventMaskAny
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here
static const NSEventMask NSAnyEventMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macos(10.0,10.12)) = NSUIntegerMax;
                         ^
libvo/osx_objc_common.m:525:40: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSEventTrackingRunLoopMode dequeue:YES];
                                                     ^~~~~~~~~~~~~~
                                                     NSEventMaskAny
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here
static const NSEventMask NSAnyEventMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macos(10.0,10.12)) = NSUIntegerMax;
                         ^
libvo/osx_objc_common.m:621:9: warning: 'NSLeftMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSLeftMouseDown:
                             ^~~~~~~~~~~~~~~
                             NSEventTypeLeftMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:26: note: 'NSLeftMouseDown' has been explicitly marked deprecated here
static const NSEventType NSLeftMouseDown        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDown", macos(10.0,10.12)) = NSEventTypeLeftMouseDown;
                         ^
libvo/osx_objc_common.m:622:9: warning: 'NSRightMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSRightMouseDown:
                             ^~~~~~~~~~~~~~~~
                             NSEventTypeRightMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:26: note: 'NSRightMouseDown' has been explicitly marked deprecated here
static const NSEventType NSRightMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDown", macos(10.0,10.12)) = NSEventTypeRightMouseDown;
                         ^
libvo/osx_objc_common.m:623:9: warning: 'NSOtherMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSOtherMouseDown:
                             ^~~~~~~~~~~~~~~~
                             NSEventTypeOtherMouseDown
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:85:26: note: 'NSOtherMouseDown' has been explicitly marked deprecated here
static const NSEventType NSOtherMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDown", macos(10.0,10.12)) = NSEventTypeOtherMouseDown;
                         ^
libvo/osx_objc_common.m:626:9: warning: 'NSLeftMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSLeftMouseUp:
                             ^~~~~~~~~~~~~
                             NSEventTypeLeftMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:26: note: 'NSLeftMouseUp' has been explicitly marked deprecated here
static const NSEventType NSLeftMouseUp          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseUp", macos(10.0,10.12)) = NSEventTypeLeftMouseUp;
                         ^
libvo/osx_objc_common.m:627:9: warning: 'NSRightMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSRightMouseUp:
                             ^~~~~~~~~~~~~~
                             NSEventTypeRightMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:26: note: 'NSRightMouseUp' has been explicitly marked deprecated here
static const NSEventType NSRightMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseUp", macos(10.0,10.12)) = NSEventTypeRightMouseUp;
                         ^
libvo/osx_objc_common.m:628:9: warning: 'NSOtherMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
                        case NSOtherMouseUp:
                             ^~~~~~~~~~~~~~
                             NSEventTypeOtherMouseUp
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:86:26: note: 'NSOtherMouseUp' has been explicitly marked deprecated here
static const NSEventType NSOtherMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseUp", macos(10.0,10.12)) = NSEventTypeOtherMouseUp;
                         ^
libvo/osx_objc_common.m:619:10: warning: 28 enumeration values not handled in switch: 'NSEventTypeMouseMoved', 'NSEventTypeLeftMouseDragged', 'NSEventTypeRightMouseDragged'... [-Wswitch]
                switch([theEvent type])
                       ^
libvo/osx_objc_common.m:619:10: note: add missing switch cases
                switch([theEvent type])
                       ^
27 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_dga.o libvo/vo_dga.c
In file included from libvo/vo_dga.c:39:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/xf86dga.h:9:2: warning: "xf86dga.h is obsolete and may be removed in the future." [-W#warnings]
#warning "xf86dga.h is obsolete and may be removed in the future."
 ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/xf86dga.h:10:2: warning: "include <X11/extensions/Xxf86dga.h> instead." [-W#warnings]
#warning "include <X11/extensions/Xxf86dga.h> instead."
 ^
libvo/vo_dga.c:254:7: warning: assigning to 'char *' from '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]
    d = CURRENT_VIDEO_BUFFER.data + vo_dga_vp_offset;
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_dga.c:257:45: 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]
    if (draw) draw(w, h, src, srca, stride, d, buffer_stride);
                                            ^
libvo/vo_dga.c:289:7: warning: assigning to 'char *' from '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]
    s = *src;
      ^ ~~~~
libvo/vo_dga.c:290:7: warning: assigning to 'char *' from '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]
    d = CURRENT_VIDEO_BUFFER.data + vo_dga_vp_offset;
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_dga.c:627:20: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
            aspect(&scale_dstW, &scale_dstH, A_ZOOM);
                   ^~~~~~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/vo_dga.c:627:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
            aspect(&scale_dstW, &scale_dstH, A_ZOOM);
                                ^~~~~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
libvo/vo_dga.c:629:20: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
            aspect(&scale_dstW, &scale_dstH, A_NOZOOM);
                   ^~~~~~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/vo_dga.c:629:33: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
            aspect(&scale_dstW, &scale_dstH, A_NOZOOM);
                                ^~~~~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
10 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_png.o libvo/vo_png.c
In file included from libvo/vo_png.c:35:
In file included from ./mp_core.h:27:
./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
                        ~~~~^
libvo/vo_png.c:176:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_gif89a.o libvo/vo_gif89a.c
libvo/vo_gif89a.c:287:6: warning: implicit declaration of function 'GifQuantizeBuffer' is invalid in C99 [-Wimplicit-function-declaration]
        i = QuantizeBuffer(width, height, &size, R, G, B, dst, colors);
            ^
libvo/vo_gif89a.c:77:24: note: expanded from macro 'QuantizeBuffer'
#define QuantizeBuffer GifQuantizeBuffer
                       ^
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/gl_common.o libvo/gl_common.c
libvo/gl_common.c:582:34: warning: passing 'char [12]' to parameter of type 'const GLubyte *' (aka '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]
  mpglGetString = getProcAddress("glGetString");
                                 ^~~~~~~~~~~~~
libvo/gl_common.c:1774:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka '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]
  const char *extensions = mpglGetString(GL_EXTENSIONS);
              ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/gl_common.c:1775:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka '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]
  const char *vendor     = mpglGetString(GL_VENDOR);
              ^            ~~~~~~~~~~~~~~~~~~~~~~~~
libvo/gl_common.c:2343:16: warning: passing 'const GLubyte *' (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]
        strstr(mpglGetString(GL_EXTENSIONS), "GL_ARB_vertex_program")) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:89:26: note: passing argument to parameter '__big' here
char    *strstr(const char *__big, const char *__little);
                            ^
In file included from libvo/gl_common.c:2389:
In file included from libvo/sdl_common.h:29:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined]
#define HAVE_MPROTECT 1
        ^
./config.h:592:9: note: previous definition is here
#define HAVE_MPROTECT 0
        ^
libvo/gl_common.c:2400:32: warning: passing 'const GLubyte *' (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]
  return SDL_GL_GetProcAddress(name);
                               ^~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_video.h:842:66: note: passing argument to parameter 'proc' here
extern DECLSPEC void * SDLCALL SDL_GL_GetProcAddress(const char* proc);
                                                                 ^
libvo/gl_common.c:2757:24: warning: incompatible function pointer types assigning to 'void (*)(struct MPGLContext *)' from 'void (void)' [-Wincompatible-function-pointer-types]
    ctx->swapGlBuffers = vo_osx_swap_buffers;
                       ^ ~~~~~~~~~~~~~~~~~~~
libvo/gl_common.c:2812:50: warning: passing 'const int [10]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      vinfo = glXChooseVisual(mDisplay, mScreen, stereo_glx_attribs);
                                                 ^~~~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/GL/glx.h:183:15: note: passing argument to parameter 'attribList' here
                                     int *attribList );
                                          ^
libvo/gl_common.c:2842:11: warning: 5 enumeration values not handled in switch: 'GLTYPE_AUTO', 'GLTYPE_W32', 'GLTYPE_EGL_X11'... [-Wswitch]
  switch (ctx->type) {
          ^
libvo/gl_common.c:2842:11: note: add missing switch cases
  switch (ctx->type) {
          ^
9 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_gl.o libvo/vo_gl.c
In file included from libvo/vo_gl.c:46:
In file included from libvo/sdl_common.h:29:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined]
#define HAVE_MPROTECT 1
        ^
./config.h:592:9: note: previous definition is here
#define HAVE_MPROTECT 0
        ^
libvo/vo_gl.c:520:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka '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]
  const char *renderer = mpglGetString(GL_RENDERER);
              ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_gl.c:527:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka '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]
  const char *extensions = mpglGetString(GL_EXTENSIONS);
              ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_gl.c:528:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka '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]
  const char *vendor     = mpglGetString(GL_VENDOR);
              ^            ~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_gl.c:529:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka '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]
  const char *version    = mpglGetString(GL_VERSION);
              ^            ~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_gl.c:530:15: warning: initializing 'const char *' with an expression of type 'const GLubyte *' (aka '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]
  const char *renderer   = mpglGetString(GL_RENDERER);
              ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/csputils.o libvo/csputils.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_gl_tiled.o libvo/vo_gl_tiled.c
libvo/vo_gl_tiled.c:106:11: warning: 7 enumeration values not handled in switch: 'GLTYPE_AUTO', 'GLTYPE_W32', 'GLTYPE_SDL'... [-Wswitch]
  switch (glctx.type) {
          ^
libvo/vo_gl_tiled.c:106:11: note: add missing switch cases
  switch (glctx.type) {
          ^
libvo/vo_gl_tiled.c:647:24: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  glFindFormat(format, &image_bpp, &gl_internal_format, &gl_bitmap_format, &gl_bitmap_type);
                       ^~~~~~~~~~
libvo/gl_common.h:64:40: note: passing argument to parameter 'bpp' here
int glFindFormat(uint32_t format, int *bpp, GLint *gl_texfmt,
                                       ^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/sdl_common.o libvo/sdl_common.c
In file included from libvo/sdl_common.c:21:
In file included from libvo/sdl_common.h:29:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined]
#define HAVE_MPROTECT 1
        ^
./config.h:592:9: note: previous definition is here
#define HAVE_MPROTECT 0
        ^
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/x11_common.o libvo/x11_common.c
libvo/x11_common.c:744:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    wmClass.res_name = vo_winname ? vo_winname : name;
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/x11_common.c:874:49: warning: passing 'uint8_t [16]' 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]
                    XLookupString(&event->xkey, buf, sizeof(buf), &keySym,
                                                ^~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/Xutil.h:536:31: note: passing argument to parameter here
    char*               /* buffer_return */,
                                           ^
libvo/x11_common.c:1174:39: warning: passing 'const 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]
                  8, PropModeReplace, title, strlen(title));
                                      ^~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2085:38: note: passing argument to parameter here
    _Xconst unsigned char*      /* data */,
                                          ^
libvo/x11_common.c:1404:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 &w, &h, &dummy_int, &depth);
                         ^~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2638:44: note: passing argument to parameter here
    unsigned int*       /* border_width_return */,
                                                 ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_jpeg.o libvo/vo_jpeg.c
In file included from libvo/vo_jpeg.c:48:
In file included from ./mp_core.h:27:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu.o libmenu/menu.c
libmenu/menu.c:754:20: 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]
    draw_alpha(w,h,pic,pic_alpha,0,
                   ^~~
libmenu/menu.c:754:24: 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]
    draw_alpha(w,h,pic,pic_alpha,0,
                       ^~~~~~~~~
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_chapsel.o libmenu/menu_chapsel.c
In file included from libmenu/menu_chapsel.c:37:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_cmdlist.o libmenu/menu_cmdlist.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_console.o libmenu/menu_console.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_filesel.o libmenu/menu_filesel.c
In file included from libmenu/menu_filesel.c:40:
In file included from ./mp_core.h:27:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_list.o libmenu/menu_list.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_param.o libmenu/menu_param.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_pt.o libmenu/menu_pt.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/menu_txt.o libmenu/menu_txt.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libmenu/vf_menu.o libmenu/vf_menu.c
In file included from libmenu/vf_menu.c:27:
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
                        ~~~~^
libmenu/vf_menu.c:62:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    put_image(vf,pause_mpi, 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
                        ~~~~^
libmenu/vf_menu.c:62:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    put_image(vf,pause_mpi, 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
                        ~~~~^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_matrixview.o libvo/vo_matrixview.c
libvo/vo_matrixview.c:173:20: warning: passing 'uint8_t **' (aka 'unsigned char **') to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
    sws_scale(sws, src, stride, y, h, map_image, map_stride);
                   ^~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/matrixview.o libvo/matrixview.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_md5sum.o libvo/vo_md5sum.c
In file included from libvo/vo_md5sum.c:45:
In file included from ./mp_core.h:27:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 udp_sync.o udp_sync.c
In file included from udp_sync.c:44:
In file included from ./mp_core.h:27:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_pnm.o libvo/vo_pnm.c
In file included from libvo/vo_pnm.c:45:
In file included from ./mp_core.h:27:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libao2/ao_sdl.o libao2/ao_sdl.c
In file included from libao2/ao_sdl.c:37:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined]
#define HAVE_MPROTECT 1
        ^
./config.h:592:9: note: previous definition is here
#define HAVE_MPROTECT 0
        ^
libao2/ao_sdl.c:75:14: warning: 'av_fifo_space' is deprecated [-Wdeprecated-declarations]
  int free = av_fifo_space(buffer);
             ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:292:1: note: 'av_fifo_space' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:77:10: warning: 'av_fifo_generic_write' is deprecated [-Wdeprecated-declarations]
  return av_fifo_generic_write(buffer, data, len, NULL);
         ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:359:1: note: 'av_fifo_generic_write' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:87:18: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
  int buffered = av_fifo_size(buffer);
                 ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:92:3: warning: 'av_fifo_generic_read' is deprecated [-Wdeprecated-declarations]
  av_fifo_generic_read(buffer, data, len, NULL);
  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:340:1: note: 'av_fifo_generic_read' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:141:11: warning: 'av_fifo_alloc' is deprecated [-Wdeprecated-declarations]
        buffer = av_fifo_alloc(BUFFSIZE);
                 ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:238:1: note: 'av_fifo_alloc' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:257:2: warning: 'av_fifo_free' is deprecated [-Wdeprecated-declarations]
        av_fifo_free(buffer);
        ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:256:1: note: 'av_fifo_free' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:267:2: warning: 'av_fifo_reset' is deprecated [-Wdeprecated-declarations]
        av_fifo_reset(buffer);
        ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:272:1: note: 'av_fifo_reset' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:290:12: warning: 'av_fifo_space' is deprecated [-Wdeprecated-declarations]
    return av_fifo_space(buffer);
           ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:292:1: note: 'av_fifo_space' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libao2/ao_sdl.c:317:20: warning: 'av_fifo_size' is deprecated [-Wdeprecated-declarations]
    int buffered = av_fifo_size(buffer); // could be less
                   ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/fifo.h:282:1: note: 'av_fifo_size' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_sdl.o libvo/vo_sdl.c
In file included from libvo/vo_sdl.c:90:
In file included from libvo/sdl_common.h:29:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL.h:30:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_main.h:26:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_stdinc.h:30:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/SDL/SDL_config.h:140:9: warning: 'HAVE_MPROTECT' macro redefined [-Wmacro-redefined]
#define HAVE_MPROTECT 1
        ^
./config.h:592:9: note: previous definition is here
#define HAVE_MPROTECT 0
        ^
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_tga.o libvo/vo_tga.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_x11.o libvo/vo_x11.c
libvo/vo_x11.c:208:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        myximage->data = ImageDataOrig + 16 - ((long)ImageDataOrig & 15);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_x11.c:210:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        ImageData = myximage->data;
                  ^ ~~~~~~~~~~~~~~
libvo/vo_x11.c:227:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        myximage->data = ImageDataOrig;
                       ^ ~~~~~~~~~~~~~
libvo/vo_x11.c:495:27: warning: passing 'uint8_t **' (aka 'unsigned char **') to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
    sws_scale(swsContext, src, stride, y, h, dst, dstStride);
                          ^~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_xover.o libvo/vo_xover.c
libvo/vo_xover.c:91:49: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth,
                                                ^~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2634:25: note: passing argument to parameter here
    int*                /* x_return */,
                                      ^
libvo/vo_xover.c:91:56: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth,
                                                       ^~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:2635:25: note: passing argument to parameter here
    int*                /* y_return */,
                                      ^
libvo/vo_xover.c:96:8: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            &drwcX, &drwcY, &mRoot);
                            ^~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:3462:30: note: passing argument to parameter here
    int*                /* dest_x_return */,
                                           ^
libvo/vo_xover.c:96:16: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            &drwcX, &drwcY, &mRoot);
                                    ^~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/Xlib.h:3463:30: note: passing argument to parameter here
    int*                /* dest_y_return */,
                                           ^
libvo/vo_xover.c:97:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      aspect(&dwidth,&dheight,A_NOZOOM);
             ^~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/vo_xover.c:97:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      aspect(&dwidth,&dheight,A_NOZOOM);
                     ^~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
libvo/vo_xover.c:106:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      aspect(&dwidth,&dheight,A_NOZOOM);
             ^~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/vo_xover.c:106:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      aspect(&dwidth,&dheight,A_NOZOOM);
                     ^~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
libvo/vo_xover.c:112:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      aspect(&dwidth,&dheight,A_ZOOM);
             ^~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/vo_xover.c:112:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      aspect(&dwidth,&dheight,A_ZOOM);
                     ^~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
libvo/vo_xover.c:262:10: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  aspect(&d_width, &d_height, A_NOZOOM);
         ^~~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/vo_xover.c:262:20: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  aspect(&d_width, &d_height, A_NOZOOM);
                   ^~~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
libvo/vo_xover.c:275:75: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( ( flags&VOFLAG_FULLSCREEN )||(flags & VOFLAG_SWSCALE) ) aspect(&d_width, &d_height, A_ZOOM);
                                                                          ^~~~~~~~
libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here
void aspect(int *srcw, int *srch, int zoom);
                 ^
libvo/vo_xover.c:275:85: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ( ( flags&VOFLAG_FULLSCREEN )||(flags & VOFLAG_SWSCALE) ) aspect(&d_width, &d_height, A_ZOOM);
                                                                                    ^~~~~~~~~
libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here
void aspect(int *srcw, int *srch, int zoom);
                            ^
14 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_xv.o libvo/vo_xv.c
libvo/vo_xv.c:130:24: 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]
                       xvimage[current_buf]->data +
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_xv.c:391:9: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[0] +
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_xv.c:406:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] +
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_xv.c:411:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] +
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_xv.c:423:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] +
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_xv.c:493:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        mpi->planes[0] =
                       ^
libvo/vo_xv.c:502:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            mpi->planes[1] =
                           ^
libvo/vo_xv.c:505:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            mpi->planes[2] =
                           ^
libvo/vo_xv.c:513:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            mpi->planes[1] =
                           ^
9 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_xvmc.o libvo/vo_xvmc.c
In file included from libvo/vo_xvmc.c:48:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/xvmc.h:30:9: warning: XvMC is no longer supported; this header is deprecated and will be removed [-W#pragma-messages]
#pragma message("XvMC is no longer supported; this header is deprecated and will be removed")
        ^
libvo/vo_xvmc.c:96:12: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations]
    struct xvmc_pix_fmt shared;
           ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/xvmc.h:47:8: note: 'xvmc_pix_fmt' has been explicitly marked deprecated here
struct attribute_deprecated xvmc_pix_fmt {
       ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libvo/vo_xvmc.c:349:64: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    rez = XvQueryAdaptors(mDisplay,DefaultRootWindow(mDisplay),&num_adaptors,&ai);
                                                               ^~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:178:50: note: passing argument to parameter here
    unsigned int *              /* p_nAdaptors */,
                                                 ^
libvo/vo_xvmc.c:455:46: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (Success != XvQueryExtension(mDisplay,&xv_version,&xv_release,&xv_request_base,
                                             ^~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:168:48: note: passing argument to parameter here
    unsigned int *              /* p_version */,
                                               ^
libvo/vo_xvmc.c:455:58: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (Success != XvQueryExtension(mDisplay,&xv_version,&xv_release,&xv_request_base,
                                                         ^~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:169:49: note: passing argument to parameter here
    unsigned int *              /* p_revision */,
                                                ^
libvo/vo_xvmc.c:455:70: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (Success != XvQueryExtension(mDisplay,&xv_version,&xv_release,&xv_request_base,
                                                                     ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:170:52: note: passing argument to parameter here
    unsigned int *              /* p_requestBase */,
                                                   ^
libvo/vo_xvmc.c:456:37: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                    &xv_event_base,&xv_error_base) ){
                                    ^~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:171:50: note: passing argument to parameter here
    unsigned int *              /* p_eventBase */,
                                                 ^
libvo/vo_xvmc.c:456:52: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                    &xv_event_base,&xv_error_base) ){
                                                   ^~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/Xvlib.h:173:1: note: passing argument to parameter here
);
^
libvo/vo_xvmc.c:762:63: 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]
        rez = XvMCSetSubpicturePalette(mDisplay, &subpicture, palette);
                                                              ^~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/X11/extensions/XvMClib.h:91:41: note: passing argument to parameter 'palette' here
                         unsigned char *palette);
                                        ^
libvo/vo_xvmc.c:1304:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    mpi->planes[0] = (char*)data_blocks.blocks;
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_xvmc.c:1305:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    mpi->planes[1] = (char*)mv_blocks.macro_blocks;
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libvo/vo_xvmc.c:1307:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    mpi->planes[2] = (char*)rndr;
                   ^ ~~~~~~~~~~~
12 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/mplayer/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/mplayer/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 -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -D_ISOC99_SOURCE -I. -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c
codec-cfg.c:1074:12: warning: taking the absolute value of unsigned type 'const unsigned int' has no effect [-Wabsolute-value]
        if(abs(*a)<256)
           ^
codec-cfg.c:1074:12: note: remove the call to 'abs' since unsigned values cannot be negative
        if(abs(*a)<256)
           ^~~
codec-cfg.c:1162:24: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                       cod[i][j].guid.f1,
                       ^~~~~~~~~~~~~~~~~
codec-cfg.c:1176:26: 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]
        print_char_array(codec_strs, codec_strs_len);
                         ^~~~~~~~~~
codec-cfg.c:1081:51: note: passing argument to parameter 'a' here
static void print_char_array(const unsigned char* a, int size)
                                                  ^
3 warnings generated.
./codec-cfg etc/codecs.conf > codecs.conf.h
Reading optional codecs config file etc/codecs.conf: 226 audio & 469 video codecs
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 codec-cfg.o codec-cfg.c
codec-cfg.c:632:22: warning: assigning to 'codecs_t *' (aka 'struct codecs *') from 'const codecs_t [469]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        video_codecs = builtin_video_codecs;
                     ^ ~~~~~~~~~~~~~~~~~~~~
codec-cfg.c:633:22: warning: assigning to 'codecs_t *' (aka 'struct codecs *') from 'const codecs_t [226]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        audio_codecs = builtin_audio_codecs;
                     ^ ~~~~~~~~~~~~~~~~~~~~
codec-cfg.c:636:20: warning: assigning to 'char *' from 'const char [28324]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        codec_strs = builtin_codec_strs;
                   ^ ~~~~~~~~~~~~~~~~~~
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 cpudetect.o cpudetect.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 edl.o edl.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 fmt-conversion.o fmt-conversion.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 m_config.o m_config.c
m_config.c:325:14: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    co->name = arg->name;
             ^ ~~~~~~~~~
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 m_option.o m_option.c
m_option.c:1333:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    *time = 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
                        ~~~~^
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 m_struct.o m_struct.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 mp_msg.o mp_msg.c
mp_msg.c:73:29: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
    if (iconv(inv_msgiconv, &filename, &filename_len,
                            ^~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/iconv.h:82:43: note: passing argument to parameter 'inbuf' here
extern size_t iconv (iconv_t cd,  char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
                                          ^
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 mp_strings.o mp_strings.c
./version.sh `clang -dumpversion`
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 mpcommon.o mpcommon.c
In file included from mpcommon.c:26:
In file included from ./stream/stream_dvd.h:25:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:117:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:124:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.c:26:
In file included from ./stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 mpcommon.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
                        ~~~~^
mpcommon.c:323:53: 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]
                        ass_process_data(ass_track, packet, len);
                                                    ^~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ass/ass.h:698:53: note: passing argument to parameter 'data' here
void ass_process_data(ASS_Track *track, const char *data, int size);
                                                    ^
mpcommon.c:325:54: 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]
                        ass_process_chunk(ass_track, packet, len,
                                                     ^~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ass/ass.h:723:54: note: passing argument to parameter 'data' here
void ass_process_chunk(ASS_Track *track, const char *data, int size,
                                                     ^
mpcommon.c:332:49: 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]
                        sub_add_text(&tmp_subs, packet, len, endpts, 0);
                                                ^~~~~~
./sub/subreader.h:115:46: note: passing argument to parameter 'txt' here
void sub_add_text(subtitle *sub, const char *txt, int len, double endpts, int strip_markup);
                                             ^
mpcommon.c:360:37: 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]
                sub_add_text(&subs, packet, len, endpts, 1);
                                    ^~~~~~
./sub/subreader.h:115:46: note: passing argument to parameter 'txt' here
void sub_add_text(subtitle *sub, const char *txt, int len, double endpts, int strip_markup);
                                             ^
mpcommon.c:184:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        sub_clear_text(&subs, 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
                        ~~~~^
mpcommon.c:329:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                    if (subpts != 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
                        ~~~~^
mpcommon.c:331:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        if (endpts == MP_NOPTS_VALUE) endpts = subpts + 3;
                                      ^~~~~~~~~~~~~~
./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
                        ~~~~^
mpcommon.c:336:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        sub_clear_text(&tmp_subs, 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
                        ~~~~^
mpcommon.c:342:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (subpts != 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
                        ~~~~^
mpcommon.c:343:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                if (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
                        ~~~~^
mpcommon.c:344:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                    sub_clear_text(&subs, 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
                        ~~~~^
mpcommon.c:359:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                if (endpts == MP_NOPTS_VALUE) endpts = subpts + 4;
                              ^~~~~~~~~~~~~~
./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
                        ~~~~^
mpcommon.c:669:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return 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
                        ~~~~^
mpcommon.c:675:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (sh_audio->pts_bytes && a_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
                        ~~~~^
mpcommon.c:678:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (a_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
                        ~~~~^
70 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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-cfg.o parser-cfg.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 path.o path.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 playtree.o playtree.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 playtreeparser.o playtreeparser.c
In file included from playtreeparser.c:40:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 subopt-helper.o subopt-helper.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af.o libaf/af.c
In file included from libaf/af.c:27:
In file included from ./libmpcodecs/dec_audio.h:23:
In file included from ./libmpdemux/stheader.h:22:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_center.o libaf/af_center.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_channels.o libaf/af_channels.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_comp.o libaf/af_comp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_delay.o libaf/af_delay.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_dummy.o libaf/af_dummy.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_equalizer.o libaf/af_equalizer.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_extrastereo.o libaf/af_extrastereo.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_format.o libaf/af_format.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_gate.o libaf/af_gate.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_hrtf.o libaf/af_hrtf.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_karaoke.o libaf/af_karaoke.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_pan.o libaf/af_pan.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_resample.o libaf/af_resample.c
libaf/af_resample.c:136:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  rd = abs((float)af->data->rate - (float)data->rate)/(float)data->rate;
       ^
libaf/af_resample.c:136:8: note: use function 'fabsf' instead
  rd = abs((float)af->data->rate - (float)data->rate)/(float)data->rate;
       ^~~
       fabsf
1 warning generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_scaletempo.o libaf/af_scaletempo.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_sinesuppress.o libaf/af_sinesuppress.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_stats.o libaf/af_stats.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_sub.o libaf/af_sub.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_surround.o libaf/af_surround.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_sweep.o libaf/af_sweep.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_tools.o libaf/af_tools.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_volnorm.o libaf/af_volnorm.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_volume.o libaf/af_volume.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/filter.o libaf/filter.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/format.o libaf/format.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/reorder_ch.o libaf/reorder_ch.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/window.o libaf/window.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad.o libmpcodecs/ad.c
In file included from libmpcodecs/ad.c: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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_alaw.o libmpcodecs/ad_alaw.c
In file included from libmpcodecs/ad_alaw.c:24:
In file included from libmpcodecs/ad_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c
In file included from libmpcodecs/ad_dvdpcm.c:26:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_dvdpcm.c:114:45: warning: passing 'char [10]' 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]
        len = demux_read_data(sh_audio->ds, tmp, 10);
                                            ^~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_dvdpcm.c:138:45: warning: passing 'char [12]' 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]
        len = demux_read_data(sh_audio->ds, tmp, 12);
                                            ^~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_hwac3.o libmpcodecs/ad_hwac3.c
In file included from libmpcodecs/ad_hwac3.c:34:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_hwac3.c:116:29: 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]
      length = dts_syncinfo(sh_audio->a_in_buffer, &flags, &sample_rate, &bit_rate);
                            ^~~~~~~~~~~~~~~~~~~~~
libmpcodecs/ad_hwac3.c:51:34: note: passing argument to parameter 'indata_ptr' here
static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate);
                                 ^
libmpcodecs/ad_hwac3.c:129:29: 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]
      length = a52_syncinfo(sh_audio->a_in_buffer, &sample_rate, &bit_rate);
                            ^~~~~~~~~~~~~~~~~~~~~
libmpcodecs/ad_hwac3.c:55:35: note: passing argument to parameter 'buf' here
static int a52_syncinfo (uint8_t *buf, int *sample_rate, int *bit_rate)
                                  ^
libmpcodecs/ad_hwac3.c:148:33: 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]
  demux_read_data(sh_audio->ds, sh_audio->a_in_buffer + 12, length - 12);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_hwac3.c:213: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]
    return decode_audio_dts(sh_audio->a_in_buffer, len, buf, maxlen);
                            ^~~~~~~~~~~~~~~~~~~~~
libmpcodecs/ad_hwac3.c:52:44: note: passing argument to parameter 'indata_ptr' here
static int decode_audio_dts(unsigned char *indata_ptr, int len, unsigned char *buf, int outsize);
                                           ^
7 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_hwmpa.o libmpcodecs/ad_hwmpa.c
In file included from libmpcodecs/ad_hwmpa.c:30:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_hwmpa.c:56:26: 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]
                        x = mp_get_mp3_header(&(sh->a_in_buffer[cnt]), chans, srate, spf, mpa_layer, br);
                                              ^~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/mp3_hdr.h:24:38: note: passing argument to parameter 'hbuf' here
int mp_get_mp3_header(unsigned char* hbuf,int* chans, int* freq, int* spf, int* mpa_layer, int* br);
                                     ^
libmpcodecs/ad_hwmpa.c:68:32: 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]
                len = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len],sh->a_in_buffer_size-sh->a_in_buffer_len);
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_hwmpa.c:118:31: 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]
                        l = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len], l);
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_pcm.o libmpcodecs/ad_pcm.c
In file included from libmpcodecs/ad_pcm.c:24:
In file included from libmpcodecs/ad_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/dec_audio.o libmpcodecs/dec_audio.c
In file included from libmpcodecs/dec_audio.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/dec_audio.c:170:8: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                 sh_audio->wf ? (&i) : NULL,
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
./codec-cfg.h:83:63: note: passing argument to parameter 'fourccmap' here
codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap,
                                                              ^
libmpcodecs/dec_audio.c:406:17: warning: initializing 'unsigned char *' with an expression 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]
        unsigned char *buf = sh->a_buffer + sh->a_buffer_len;
                       ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/dec_teletext.o libmpcodecs/dec_teletext.c
libmpcodecs/dec_teletext.c:847:10: warning: assigning to 'unsigned char *' from 'char [12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        p=MSGTR_TV_NoTeletext;
         ^~~~~~~~~~~~~~~~~~~~
libmpcodecs/dec_teletext.c:1227:14: warning: passing 'unsigned char [21]' 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]
    snprintf(priv->networkname,21,"%s",data+20);
             ^~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:29: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                            ^~~
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/dec_video.o libmpcodecs/dec_video.c
In file included from libmpcodecs/dec_video.c:27:
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
                        ~~~~^
libmpcodecs/dec_video.c:109:29: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast]
                            (int *) value) == CONTROL_OK)
                            ^~~~~~~~~~~~~
libmpcodecs/dec_video.c:108:61: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        if (mpvdec->control(sh_video, VDCTRL_SET_EQUALIZER, item,
                                                            ^~~~
libmpcodecs/dec_video.c:134:64: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        return mpvdec->control(sh_video, VDCTRL_GET_EQUALIZER, item, value);
                                                               ^~~~
libmpcodecs/dec_video.c:157:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    sh_video->last_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/dec_video.c:413:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (correct_pts && 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/dec_video.c:466:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            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
                        ~~~~^
libmpcodecs/dec_video.c:467:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            sh_video->endpts = 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
                        ~~~~^
10 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/img_format.o libmpcodecs/img_format.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/mp_image.o libmpcodecs/mp_image.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/pullup.o libmpcodecs/pullup.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd.o libmpcodecs/vd.c
In file included from libmpcodecs/vd.c:32:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_hmblck.o libmpcodecs/vd_hmblck.c
In file included from libmpcodecs/vd_hmblck.c:25:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_lzo.o libmpcodecs/vd_lzo.c
In file included from libmpcodecs/vd_lzo.c:25:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_mpegpes.o libmpcodecs/vd_mpegpes.c
In file included from libmpcodecs/vd_mpegpes.c:26:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_mtga.o libmpcodecs/vd_mtga.c
In file included from libmpcodecs/vd_mtga.c:35:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_null.o libmpcodecs/vd_null.c
In file included from libmpcodecs/vd_null.c:25:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_raw.o libmpcodecs/vd_raw.c
In file included from libmpcodecs/vd_raw.c:25:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_sgi.o libmpcodecs/vd_sgi.c
In file included from libmpcodecs/vd_sgi.c:28:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_black.o libmpcodecs/vd_black.c
In file included from libmpcodecs/vd_black.c:26:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf.o libmpcodecs/vf.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_1bpp.o libmpcodecs/vf_1bpp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_2xsai.o libmpcodecs/vf_2xsai.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_blackframe.o libmpcodecs/vf_blackframe.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_boxblur.o libmpcodecs/vf_boxblur.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_crop.o libmpcodecs/vf_crop.c
In file included from libmpcodecs/vf_crop.c:29:
In file included from libmpcodecs/vd.h:25:
In file included from ./libmpdemux/stheader.h:22:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_cropdetect.o libmpcodecs/vf_cropdetect.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_decimate.o libmpcodecs/vf_decimate.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_delogo.o libmpcodecs/vf_delogo.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_denoise3d.o libmpcodecs/vf_denoise3d.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_detc.o libmpcodecs/vf_detc.c
libmpcodecs/vf_detc.c:313:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, 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/vf_detc.c:313:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, 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
                        ~~~~^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_dint.o libmpcodecs/vf_dint.c
libmpcodecs/vf_dint.c:171:13: warning: assigning to 'unsigned char *' from 'int8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        cur = row2;
            ^ ~~~~
libmpcodecs/vf_dint.c:174:14: warning: assigning to 'int8_t *' (aka 'signed char *') from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        row0 = cur;
             ^ ~~~
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_divtc.o libmpcodecs/vf_divtc.c
libmpcodecs/vf_divtc.c:159:27: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast]
      for(shift=0, e=p+w; (int)p&(sizeof(wsum_t)-1) && p<e;)
                          ^~~~~~
libmpcodecs/vf_divtc.c:376:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            return vf_next_put_image(vf, tmpi, 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/vf_divtc.c:376:64: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            return vf_next_put_image(vf, tmpi, 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/vf_divtc.c:381:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
   return vf_next_put_image(vf, dmpi, 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/vf_divtc.c:381:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
   return vf_next_put_image(vf, dmpi, 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/vf_divtc.c:396:16: warning: passing 'int8_t [256]' 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]
   while(fgets(lbuf, 256, p->file))
               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here
char    *fgets(char * __restrict, int, FILE *);
                                ^
libmpcodecs/vf_divtc.c:413:14: warning: passing 'int8_t [256]' 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]
      sscanf(lbuf, "%x %d", cbuf+n, buf+n);
             ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3);
                                       ^
7 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_down3dright.o libmpcodecs/vf_down3dright.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_dsize.o libmpcodecs/vf_dsize.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_dvbscale.o libmpcodecs/vf_dvbscale.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_eq.o libmpcodecs/vf_eq.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_eq2.o libmpcodecs/vf_eq2.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_expand.o libmpcodecs/vf_expand.c
In file included from libmpcodecs/vf_expand.c:31:
In file included from libmpcodecs/vd.h:25:
In file included from ./libmpdemux/stheader.h:22:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_field.o libmpcodecs/vf_field.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_fil.o libmpcodecs/vf_fil.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_filmdint.o libmpcodecs/vf_filmdint.c
In file included from libmpcodecs/vf_filmdint.c:31:
In file included from libmpcodecs/vd.h:25:
In file included from ./libmpdemux/stheader.h:22:
./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/vf_filmdint.c:48:1: warning: attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]
DECLARE_ALIGNED(8, , struct metrics) {
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/mem.h:116:59: note: expanded from macro 'DECLARE_ALIGNED'
    #define DECLARE_ALIGNED(n,t,v)      t __attribute__ ((aligned (n))) v
                                                          ^
libmpcodecs/vf_filmdint.c:1333:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, 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/vf_filmdint.c:1333:70: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, 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
                        ~~~~^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_fixpts.o libmpcodecs/vf_fixpts.c
libmpcodecs/vf_fixpts.c:46:20: 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/vf_fixpts.c:51:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (pts != MP_NOPTS_VALUE && p->autostart != 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/vf_fixpts.c:55:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    } else if (pts != MP_NOPTS_VALUE && p->autostep > 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/vf_fixpts.c:64:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        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
                        ~~~~^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_flip.o libmpcodecs/vf_flip.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_format.o libmpcodecs/vf_format.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_framestep.o libmpcodecs/vf_framestep.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_gradfun.o libmpcodecs/vf_gradfun.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_halfpack.o libmpcodecs/vf_halfpack.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_harddup.o libmpcodecs/vf_harddup.c
libmpcodecs/vf_harddup.c:64:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (put_image(vf, vf->priv->last_mpi, 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/vf_harddup.c:64:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (put_image(vf, vf->priv->last_mpi, 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
                        ~~~~^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_hue.o libmpcodecs/vf_hue.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_il.o libmpcodecs/vf_il.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_ilpack.o libmpcodecs/vf_ilpack.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_ivtc.o libmpcodecs/vf_ivtc.c
libmpcodecs/vf_ivtc.c:455:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return vf_next_put_image(vf, dmpi, 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/vf_ivtc.c:455:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return vf_next_put_image(vf, dmpi, 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
                        ~~~~^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_kerndeint.o libmpcodecs/vf_kerndeint.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_mirror.o libmpcodecs/vf_mirror.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_noformat.o libmpcodecs/vf_noformat.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_noise.o libmpcodecs/vf_noise.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_ow.o libmpcodecs/vf_ow.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_palette.o libmpcodecs/vf_palette.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_perspective.o libmpcodecs/vf_perspective.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_phase.o libmpcodecs/vf_phase.c
libmpcodecs/vf_phase.c:240:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
   return vf_next_put_image(vf, dmpi, 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/vf_phase.c:240:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
   return vf_next_put_image(vf, dmpi, 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
                        ~~~~^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_pp7.o libmpcodecs/vf_pp7.c
libmpcodecs/vf_pp7.c:392:108: 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]
        filter(vf->priv, dmpi->planes[0], mpi->planes[0], dmpi->stride[0], mpi->stride[0], mpi->w, mpi->h, mpi->qscale, mpi->qstride, 1);
                                                                                                           ^~~~~~~~~~~
libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here
static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){
                                                                                                                                    ^
libmpcodecs/vf_pp7.c:393:150: 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]
        filter(vf->priv, dmpi->planes[1], mpi->planes[1], dmpi->stride[1], mpi->stride[1], mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, mpi->qstride, 0);
                                                                                                                                                     ^~~~~~~~~~~
libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here
static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){
                                                                                                                                    ^
libmpcodecs/vf_pp7.c:394:150: 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]
        filter(vf->priv, dmpi->planes[2], mpi->planes[2], dmpi->stride[2], mpi->stride[2], mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, mpi->qstride, 0);
                                                                                                                                                     ^~~~~~~~~~~
libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here
static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){
                                                                                                                                    ^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_pullup.o libmpcodecs/vf_pullup.c
libmpcodecs/vf_pullup.c:233:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, 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/vf_pullup.c:233:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, 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/vf_pullup.c:252:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    ret = vf_next_put_image(vf, dmpi, 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/vf_pullup.c:252:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    ret = vf_next_put_image(vf, dmpi, 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
                        ~~~~^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_rectangle.o libmpcodecs/vf_rectangle.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_remove_logo.o libmpcodecs/vf_remove_logo.c
libmpcodecs/vf_remove_logo.c:355:10: warning: initializing 'char *' with an expression 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]
  char * current_pixel = mask->pixel; /* This stores the actual pixel data. */
         ^               ~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:369:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    current_pixel = mask->pixel;
                  ^ ~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:564:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  end_position = new_pgm->pixel + image_size;
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:565:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  for (write_position = new_pgm->pixel; write_position < end_position; write_position++)
                      ^ ~~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:630:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  current_pixel = new_pgm->pixel;
                ^ ~~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:794:28: 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]
          convert_yv12(vf, mpi->planes[0],  mpi->stride[0], mpi, mpi->w, mpi->h,
                           ^~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here
static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride,
                                                                            ^
libmpcodecs/vf_remove_logo.c:795:27: 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]
                          dmpi->planes[0], dmpi->stride[0],
                          ^~~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here
                         char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter,
                                      ^
libmpcodecs/vf_remove_logo.c:799:28: 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]
          convert_yv12(vf, mpi->planes[1],  mpi->stride[1], mpi, mpi->w / 2, mpi->h / 2,
                           ^~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here
static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride,
                                                                            ^
libmpcodecs/vf_remove_logo.c:800:27: 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]
                          dmpi->planes[1], dmpi->stride[1],
                          ^~~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here
                         char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter,
                                      ^
libmpcodecs/vf_remove_logo.c:804:28: 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]
          convert_yv12(vf, mpi->planes[2],  mpi->stride[2], mpi, mpi->w / 2, mpi->h / 2,
                           ^~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here
static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride,
                                                                            ^
libmpcodecs/vf_remove_logo.c:805:27: 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]
                          dmpi->planes[2], dmpi->stride[2],
                          ^~~~~~~~~~~~~~~
libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here
                         char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter,
                                      ^
11 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_rgbtest.o libmpcodecs/vf_rgbtest.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_rotate.o libmpcodecs/vf_rotate.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_sab.o libmpcodecs/vf_sab.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_scale.o libmpcodecs/vf_scale.c
In file included from libmpcodecs/vf_scale.c:30:
In file included from libmpcodecs/vd.h:25:
In file included from ./libmpdemux/stheader.h:22:
./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/vf_scale.c:442:25: warning: passing 'uint8_t *[4]' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
        sws_scale(sws1, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2);
                        ^~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
libmpcodecs/vf_scale.c:447:25: warning: passing 'uint8_t *[4]' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
        sws_scale(sws2, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2);
                        ^~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
libmpcodecs/vf_scale.c:449:25: warning: passing 'uint8_t *[4]' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
        sws_scale(sws1, src2, src_stride, y, h, dst, dst_stride);
                        ^~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
libmpcodecs/vf_scale.c:733:50: warning: initializing 'void *' with an expression of type 'const m_obj_presets_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  {"presize", 0, CONF_TYPE_OBJ_PRESETS, 0, 0, 0, &size_preset},
                                                 ^~~~~~~~~~~~
7 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_smartblur.o libmpcodecs/vf_smartblur.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_softpulldown.o libmpcodecs/vf_softpulldown.c
libmpcodecs/vf_softpulldown.c:64:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, mpi, 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/vf_softpulldown.c:64:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, mpi, 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/vf_softpulldown.c:100:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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/vf_softpulldown.c:100:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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/vf_softpulldown.c:103:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret |= vf_next_put_image(vf, mpi, 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/vf_softpulldown.c:103:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret |= vf_next_put_image(vf, mpi, 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
                        ~~~~^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_stereo3d.o libmpcodecs/vf_stereo3d.c
In file included from libmpcodecs/vf_stereo3d.c:32:
In file included from libmpcodecs/vd.h:25:
In file included from ./libmpdemux/stheader.h:22:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_softskip.o libmpcodecs/vf_softskip.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_swapuv.o libmpcodecs/vf_swapuv.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_telecine.o libmpcodecs/vf_telecine.c
libmpcodecs/vf_telecine.c:66:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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/vf_telecine.c:66:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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/vf_telecine.c:80:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret;
                                           ^~~~~~~~~~~~~~
./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/vf_telecine.c:80:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret;
                                                           ^~~~~~~~~~~~~~
./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/vf_telecine.c:95:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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/vf_telecine.c:95:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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
                        ~~~~^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_test.o libmpcodecs/vf_test.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_tfields.o libmpcodecs/vf_tfields.c
In file included from libmpcodecs/vf_tfields.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/vf_tfields.c:395:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), 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/vf_tfields.c:425:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), 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/vf_tfields.c:451:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), 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
                        ~~~~^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_tile.o libmpcodecs/vf_tile.c
libmpcodecs/vf_tile.c:187:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, 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/vf_tile.c:187:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return vf_next_put_image(vf, dmpi, 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
                        ~~~~^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_tinterlace.o libmpcodecs/vf_tinterlace.c
libmpcodecs/vf_tinterlace.c:79:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, dmpi, 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/vf_tinterlace.c:79:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, dmpi, 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/vf_tinterlace.c:84:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, mpi, 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/vf_tinterlace.c:84:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, mpi, 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/vf_tinterlace.c:88:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, mpi, 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/vf_tinterlace.c:88:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, mpi, 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/vf_tinterlace.c:119:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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/vf_tinterlace.c:119:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret = vf_next_put_image(vf, dmpi, 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/vf_tinterlace.c:169:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, dmpi, 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/vf_tinterlace.c:169:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ret = vf_next_put_image(vf, dmpi, 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
                        ~~~~^
10 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_unsharp.o libmpcodecs/vf_unsharp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_vo.o libmpcodecs/vf_vo.c
In file included from libmpcodecs/vf_vo.c:25:
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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_yadif.o libmpcodecs/vf_yadif.c
In file included from libmpcodecs/vf_yadif.c:34:
./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/vf_yadif.c:447:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/, 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
                        ~~~~^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_yvu9.o libmpcodecs/vf_yvu9.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/aac_hdr.o libmpdemux/aac_hdr.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/asfheader.o libmpdemux/asfheader.c
In file included from libmpdemux/asfheader.c:32:
In file included from libmpdemux/aviprint.h:23:
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/asfheader.c:142:12: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression 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]
  uint8_t *buffer = &buf[0];
           ^        ~~~~~~~
libmpdemux/asfheader.c:150:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    buffer = &buf[pos];
           ^ ~~~~~~~~~
libmpdemux/asfheader.c:354:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    buffer = &hdr[pos];
           ^ ~~~~~~~~~
libmpdemux/asfheader.c:443:14: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      buffer = &hdr[audio_pos];
             ^ ~~~~~~~~~~~~~~~
libmpdemux/asfheader.c:478:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    buffer = &hdr[pos];
           ^ ~~~~~~~~~
8 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/aviheader.o libmpdemux/aviheader.c
In file included from libmpdemux/aviheader.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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/aviprint.o libmpdemux/aviprint.c
In file included from libmpdemux/aviprint.c:27:
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demuxer.o libmpdemux/demuxer.c
In file included from libmpdemux/demuxer.c:33:
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/demuxer.c:240:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    d->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/demuxer.c:241:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    d->reference_clock = 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.c:347:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        sh->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.c:632:31: 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]
    len = stream_read(stream, dp->buffer, len);
                              ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demuxer.c:701:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (p->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.c:706:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (p->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/demuxer.c:895:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    *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.c:896:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    *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.c:919:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    double max_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.c:925:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        *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.c:928:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        *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.c:942:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (*pts != MP_NOPTS_VALUE && max_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.c:942:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (*pts != MP_NOPTS_VALUE && max_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.c:964:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            return 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.c:971:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            return 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.c:974:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            return 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.c:1217:62: 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]
                    ass_process_codec_private(sh->ass_track, sh->extradata,
                                                             ^~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ass/ass.h:707:62: note: passing argument to parameter 'data' here
void ass_process_codec_private(ASS_Track *track, const char *data, int size);
                                                             ^
libmpdemux/demuxer.c:1404:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (demuxer->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/demuxer.c:1543:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (demuxer->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/demuxer.c:1545:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    else if (sh_video && sh_video->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.c:1547:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    else if (sh_audio && sh_audio->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
                        ~~~~^
24 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_aac.o libmpdemux/demux_aac.c
In file included from libmpdemux/demux_aac.c: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/demux_aac.c:101:35: warning: passing 'uint8_t *' (aka '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]
                if(stream_read(demuxer->stream, &(priv->buf[1]), 7) < 7)
                                                ^~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_aac.c:166:35: warning: passing 'uint8_t *' (aka '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]
                if(stream_read(demuxer->stream, &(priv->buf[2]), 6) < 6)
                                                ^~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_aac.c:181:33: 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]
                        stream_read(demuxer->stream, &(dp->buffer[8]), len-8);
                                                     ^~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_aac.c:230:35: warning: passing 'uint8_t *' (aka '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]
                        if(stream_read(demuxer->stream,priv->buf, 8) < 8)
                                                       ^~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
7 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_asf.o libmpdemux/demux_asf.c
In file included from libmpdemux/demux_asf.c:33:
In file included from libmpdemux/asfheader.h:23:
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/demux_asf.c:353:31: 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]
    stream_read(demux->stream,asf->packet,asf->packetsize);
                              ^~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_audio.o libmpdemux/demux_audio.c
In file included from libmpdemux/demux_audio.c:26:
In file included from libmpdemux/aviprint.h:23:
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/demux_audio.c:398:18: warning: passing 'uint8_t [4]' 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]
  stream_read(s, hdr, HDR_SIZE);
                 ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:408:21: warning: passing 'uint8_t [4]' 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]
      stream_read(s,hdr,4);
                    ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:442:20: warning: passing 'uint8_t *' (aka '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]
    stream_read(s, &hdr[HDR_SIZE - step], step);
                   ^~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:479:21: warning: passing 'uint8_t [4]' 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]
      stream_read(s,hdr,3);
                    ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:510:21: warning: passing 'uint8_t [4]' 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]
      stream_read(s,hdr,4);
                    ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:519:27: warning: passing 'uint8_t [4]' 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]
            stream_read(s,hdr,4);
                          ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:709:21: warning: passing 'uint8_t [4]' 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]
      stream_read(s,hdr,4);
                    ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:720:20: 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]
        if (stream_read(s,dp->buffer + 4,l-4) != l-4)
                          ^~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:741:23: 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]
    l = stream_read(s,dp->buffer,l);
                      ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:748:23: 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]
    l = stream_read(s,dp->buffer,l);
                      ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:749:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    priv->next_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/demux_audio.c:771:33: warning: passing 'uint8_t [4]' 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]
    stream_read(demuxer->stream,hdr,4);
                                ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:850:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (audio_length<=0 || priv->next_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
                        ~~~~^
16 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_avi.o libmpdemux/demux_avi.c
In file included from libmpdemux/demux_avi.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
                        ~~~~^
libmpdemux/demux_avi.c:519:24: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
        if(force_ni || abs(a_pos-v_pos)>0x100000){  // distance > 1MB
                       ^
libmpdemux/demux_avi.c:519:24: note: use function 'llabs' instead
        if(force_ni || abs(a_pos-v_pos)>0x100000){  // distance > 1MB
                       ^~~
                       llabs
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_demuxers.o libmpdemux/demux_demuxers.c
In file included from libmpdemux/demux_demuxers.c:26:
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_film.o libmpdemux/demux_film.c
In file included from libmpdemux/demux_film.c:37:
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/demux_film.c:126:38: 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]
    if (stream_read(demuxer->stream, dp->buffer, film_chunk.chunk_size) !=
                                     ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_film.c:160:25: warning: incompatible pointer types initializing 'unsigned short *' with an expression of type 'unsigned char *' [-Wincompatible-pointer-types]
        unsigned short* tmp = dp->buffer;
                        ^     ~~~~~~~~~~
libmpdemux/demux_film.c:186:40: 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]
      if (stream_read(demuxer->stream, dp->buffer, 10) != 10)
                                       ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_film.c:190:40: 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]
      if (stream_read(demuxer->stream, dp->buffer + 10,
                                       ^~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
7 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_fli.o libmpdemux/demux_fli.c
In file included from libmpdemux/demux_fli.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
                        ~~~~^
libmpdemux/demux_fli.c:100:32: 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]
  stream_read(demuxer->stream, header + sizeof(BITMAPINFOHEADER), 128);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_lmlm4.o libmpdemux/demux_lmlm4.c
In file included from libmpdemux/demux_lmlm4.c:33:
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_mf.o libmpdemux/demux_mf.c
In file included from libmpdemux/demux_mf.c:33:
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_mkv.o libmpdemux/demux_mkv.c
In file included from libmpdemux/demux_mkv.c:32:
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/demux_mkv.c:532:44: warning: passing 'uint8_t *' (aka '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]
                            stream_read(s, e.comp_settings, l);
                                           ^~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mkv.c:1583: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]
            stream_read(demuxer->stream, dst + 8, cnt);
                                         ^~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mkv.c:2649:50: warning: passing 'uint8_t *' (aka '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]
                handle_subtitles(demuxer, track, block, length, block_duration,
                                                 ^~~~~
libmpdemux/demux_mkv.c:2321:36: note: passing argument to parameter 'block' here
                             char *block, int64_t size,
                                   ^
libmpdemux/demux_mkv.c:2740:40: warning: passing 'uint8_t *' (aka '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]
                    if (stream_read(s, block, block_length) !=
                                       ^~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mkv.c:2813:40: warning: passing 'uint8_t *' (aka '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]
                    if (stream_read(s, block, block_length) !=
                                       ^~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
8 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_mov.o libmpdemux/demux_mov.c
In file included from libmpdemux/demux_mov.c:54:
./loader/qtx/qtxsdk/components.h:705:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    x=((char*)(&id->clutID))+2;
     ^~~~~~~~~~~~~~~~~~~~~~~~~
./loader/qtx/qtxsdk/components.h:783:16: warning: incompatible pointer types initializing 'unsigned int *' with an expression of type 'OSType **' (aka 'int **') [-Wincompatible-pointer-types]
        unsigned int* p=cd->wantedDestinationPixelTypes;
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libmpdemux/demux_mov.c:61:
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/demux_mov.c:1452:34: 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]
            stream_read(demuxer->stream,cmov_buf,cmov_sz);
                                        ^~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mov.c:1640:36: 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]
      stream_read(demuxer->stream, trak->tkdata, trak->tkdata_len);
                                   ^~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mov.c:1758:40: 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]
          stream_read(demuxer->stream, trak->stdata, trak->stdata_len);
                                       ^~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mov.c:2194:33: 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]
    stream_read(demuxer->stream,dp->buffer+trak->stream_header_len,x);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
9 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_mpg.o libmpdemux/demux_mpg.c
In file included from libmpdemux/demux_mpg.c:29:
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/demux_mpg.c:603:35: 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]
    l = stream_read(demux->stream,dp->buffer,len);
                                  ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mpg.c:306:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  double 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/demux_mpg.c:790:25: 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]
  read = stream_read(s, &buf[unused], -unused);
                        ^~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mpg.c:808:36: 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]
  len = stream_read(demux->stream, pack->buffer, STREAM_BUFFER_SIZE);
                                   ^~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mpg.c:1020:27: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
        if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break;
                          ^
libmpdemux/demux_mpg.c:1020:27: note: use function 'fabsf' instead
        if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break;
                          ^~~
                          fabsf
8 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_nsv.o libmpdemux/demux_nsv.c
In file included from libmpdemux/demux_nsv.c:35:
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/demux_nsv.c:74:33: warning: passing 'unsigned char [17]' 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]
    stream_read(demuxer->stream,hdr,7);
                                ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:87: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]
                stream_read(demuxer->stream,hdr+7,17-7);
                                            ^~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:88:45: warning: passing 'unsigned char [17]' 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]
                stream_read(demuxer->stream,hdr,7);
                                            ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:116:39: warning: passing 'unsigned char [6]' 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]
        stream_read( demuxer->stream, aux, 6);
                                      ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:171:33: warning: passing 'unsigned char [17]' 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]
    stream_read(demuxer->stream,hdr,4);
                                ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:178:41: 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]
            stream_read(demuxer->stream,hdr+4,17-4);
                                        ^~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:188:41: warning: passing 'unsigned char [17]' 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]
            stream_read(demuxer->stream,hdr,17);
                                        ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:189:56: warning: passing 'unsigned char [17]' 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 (stream_eof(demuxer->stream) || strncmp(hdr, "NSVs", 4))
                                                       ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_nsv.c:198:50: 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((demuxer->audio->id != -2) && strncmp(hdr+8,"NONE", 4)){//&&strncmp(hdr+8,"VLB ", 4)){
                                                 ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_nsv.c:209:51: 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 ((demuxer->video->id != -2) && strncmp(hdr+4,"NONE", 4)) {
                                                  ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_nsv.c:240:45: warning: passing 'unsigned char [10]' 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]
                stream_read(demuxer->stream,buf,10);
                                            ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:250:53: warning: passing 'unsigned char [10]' 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]
                        stream_read(demuxer->stream,buf,10);
                                                    ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_nsv.c:255:57: warning: passing 'unsigned char [10]' 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]
                            stream_read(demuxer->stream,buf,10);
                                                        ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
16 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_pva.o libmpdemux/demux_pva.c
In file included from libmpdemux/demux_pva.c:40:
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/demux_pva.c:117:30: warning: passing 'uint8_t [5]' 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]
        stream_read(demuxer->stream,buffer,5);
                                    ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:282:25: warning: passing 'unsigned char [256]' 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]
                stream_read(d->stream,buffer,3);
                                      ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:333:27: warning: passing 'unsigned char [256]' 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]
                                stream_read(d->stream,buffer,pes_head_len);
                                                      ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:415:32: 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]
                                        stream_read(demux->stream,dp->buffer,current_payload.size);
                                                                  ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:446:32: 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]
                                        stream_read(demux->stream,dp->buffer,current_payload.size);
                                                                  ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
8 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_rawaudio.o libmpdemux/demux_rawaudio.c
In file included from libmpdemux/demux_rawaudio.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
                        ~~~~^
libmpdemux/demux_rawaudio.c:92:35: 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]
  l = stream_read(demuxer->stream,dp->buffer,l);
                                  ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_rawvideo.o libmpdemux/demux_rawvideo.c
In file included from libmpdemux/demux_rawvideo.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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_realaud.o libmpdemux/demux_realaud.c
In file included from libmpdemux/demux_realaud.c:31:
In file included from libmpdemux/aviprint.h:23:
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/demux_realaud.c:110:38: 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]
        stream_read(demuxer->stream, ra_priv->audio_buf, ra_priv->sub_packet_h * ra_priv->frame_size);
                                     ^~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_realaud.c:134:46: 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]
                stream_read(demuxer->stream, ra_priv->audio_buf + x * 2 *ra_priv->frame_size +
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_realaud.c:148:31: 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]
        stream_read(demuxer->stream, dp->buffer, len);
                                     ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_real.o libmpdemux/demux_real.c
In file included from libmpdemux/demux_real.c:49:
In file included from libmpdemux/aviprint.h:23:
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/demux_real.c:570:54: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                     &priv->kf_base, &priv->kf_pts,
                                                     ^~~~~~~~~~~~~
libmpdemux/demux_real.c:497:115: note: passing argument to parameter 'kf_pts' here
double real_fix_timestamp(unsigned char *buf, unsigned int timestamp, unsigned int format, int64_t *kf_base, int *kf_pts, double *pts){
                                                                                                                  ^
libmpdemux/demux_real.c:735:36: 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]
                    stream_read(demuxer->stream, dp->buffer, sub_packet_lengths[i]);
                                                 ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:761: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]
                        stream_read(demuxer->stream, priv->audio_buf + x * 2 * w + spc * cfs, cfs);
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:767: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]
                        stream_read(demuxer->stream, priv->audio_buf + sps * (sph * x + ((sph + 1) / 2) * (spc & 1) +
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:773:50: 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]
                    stream_read(demuxer->stream, priv->audio_buf + spc * w, w);
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:825: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]
            stream_read(demuxer->stream, dp->buffer, len);
                                         ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:1002: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]
                            stream_read(demuxer->stream, dp_data+dp_hdr->len, vpkg_offset);
                                                         ^~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:1017:44: 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]
                        stream_read(demuxer->stream, dp_data+dp_hdr->len, len);
                                                     ^~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:1041:36: 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]
                    stream_read(demuxer->stream, dp_data, len);
                                                 ^~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:1057:32: 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]
                stream_read(demuxer->stream, dp_data, vpkg_length);
                                             ^~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:801:86: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            priv->audio_timestamp[priv->sub_packet_cnt] = (priv->a_pts==timestamp) ? MP_NOPTS_VALUE : (timestamp/1000.0);
                                                                                     ^~~~~~~~~~~~~~
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/demux_real.c:1484:34: 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]
                                stream_read(demuxer->stream, sh->codecdata, sh->codecdata_len);
                                                             ^~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_real.c:1661:34: 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]
                                stream_read(demuxer->stream, ((unsigned char*)(sh->bih+1)), cnt);
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
16 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_roq.o libmpdemux/demux_roq.c
In file included from libmpdemux/demux_roq.c:33:
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_smjpeg.o libmpdemux/demux_smjpeg.c
In file included from libmpdemux/demux_smjpeg.c:34:
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_ts.o libmpdemux/demux_ts.c
In file included from libmpdemux/demux_ts.c:31:
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/demux_ts.c:259:10: warning: 17 enumeration values not handled in switch: 'UNKNOWN', 'SPU_DVD', 'SPU_DVB'... [-Wswitch]
        switch (type) {
                ^
libmpdemux/demux_ts.c:259:10: note: add missing switch cases
        switch (type) {
                ^
libmpdemux/demux_ts.c:276:10: warning: 18 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch]
        switch (type) {
                ^
libmpdemux/demux_ts.c:276:10: note: add missing switch cases
        switch (type) {
                ^
libmpdemux/demux_ts.c:292:10: warning: 22 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch]
        switch (type) {
                ^
libmpdemux/demux_ts.c:292:10: note: add missing switch cases
        switch (type) {
                ^
libmpdemux/demux_ts.c:353:71: warning: passing 'uint8_t *' (aka '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]
                sh_audio_t *sh = new_sh_audio_aid(demuxer, priv->last_aid, es->pid, pid_lang_from_pmt(priv, es->pid));
                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpdemux/stheader.h:144:77: note: passing argument to parameter 'lang' here
sh_audio_t* new_sh_audio_aid(demuxer_t *demuxer,int id,int aid, const char *lang);
                                                                            ^
libmpdemux/demux_ts.c:410:67: warning: passing 'uint8_t *' (aka '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]
                sh_sub_t *sh = new_sh_sub_sid(demuxer, priv->last_sid, es->pid, pid_lang_from_pmt(priv, es->pid));
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpdemux/stheader.h:148:75: note: passing argument to parameter 'lang' here
sh_sub_t *new_sh_sub_sid(demuxer_t *demuxer, int id, int sid, const char *lang);
                                                                          ^
libmpdemux/demux_ts.c:412:12: warning: 22 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch]
                        switch (es->type) {
                                ^
libmpdemux/demux_ts.c:412:12: note: add missing switch cases
                        switch (es->type) {
                                ^
libmpdemux/demux_ts.c:466:40: 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]
                _read = stream_read(demuxer->stream, &buf[1], buf_size-1);
                                                     ^~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_ts.c:616:15: warning: passing 'uint8_t [4]' 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(strncmp(pmt->es[j].lang, lang, 3) == 0)
                                   ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ts.c:648:36: 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]
                        frame_length = mp_a52_framesize(&buf[cnt], &srate);
                                                        ^~~~~~~~~
libmpdemux/parse_es.h:43:31: note: passing argument to parameter 'buf' here
int mp_a52_framesize(uint8_t *buf, int *srate);
                              ^
libmpdemux/demux_ts.c:1077:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        demuxer->reference_clock = 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/demux_ts.c:1566:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        else if ((stream_id == 0xfa))
                  ~~~~~~~~~~^~~~~~~
libmpdemux/demux_ts.c:1566:22: note: remove extraneous parentheses around the comparison to silence this warning
        else if ((stream_id == 0xfa))
                 ~          ^      ~
libmpdemux/demux_ts.c:1566:22: note: use '=' to turn this equality comparison into an assignment
        else if ((stream_id == 0xfa))
                            ^~
                            =
libmpdemux/demux_ts.c:2341:7: warning: assigning to 'char *' from '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]
                                d = &ptr[j+2];
                                  ^ ~~~~~~~~~
libmpdemux/demux_ts.c:2731:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
                        if(abs(diff) > 1) //1 second, there's a discontinuity
                           ^
libmpdemux/demux_ts.c:2731:7: note: use function 'fabsf' instead
                        if(abs(diff) > 1) //1 second, there's a discontinuity
                           ^~~
                           fabsf
libmpdemux/demux_ts.c:2718:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                double 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/demux_ts.c:2787:17: warning: initializing 'unsigned char *' with an expression of type 'char [204]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        unsigned char *packet = priv->packet;
                       ^        ~~~~~~~~~~~~
libmpdemux/demux_ts.c:2834:29: 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]
                len = stream_read(stream, &packet[1], 3);
                                          ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_ts.c:2909:25: warning: passing 'uint8_t [188]' 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]
                                stream_read(stream, pcrbuf, c);
                                                    ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_ts.c:3032:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        p = &packet[base];
                          ^ ~~~~~~~~~~~~~
libmpdemux/demux_ts.c:3041:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        p = &((*dp)->buffer[*dp_offset]);
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpdemux/demux_ts.c:3054: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]
                        parse_pat(priv, is_start, p, buf_size);
                                                  ^
libmpdemux/demux_ts.c:1746:69: note: passing argument to parameter 'buff' here
static int parse_pat(ts_priv_t * priv, int is_start, unsigned char *buff, int size)
                                                                    ^
libmpdemux/demux_ts.c:3101:21: 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]
                        len = pes_parse2(p, buf_size, es, pid_type, pmt, pid);
                                         ^
libmpdemux/demux_ts.c:1374:38: note: passing argument to parameter 'buf' here
static int pes_parse2(unsigned char *buf, uint16_t packet_len, ES_stream_t *es, int32_t type_from_pmt, pmt_t *pmt, int pid)
                                     ^
libmpdemux/demux_ts.c:3252:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        demuxer->reference_clock = 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
                        ~~~~^
25 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_ty.o libmpdemux/demux_ty.c
In file included from libmpdemux/demux_ty.c:42:
In file included from ./libmpcodecs/dec_audio.h:23:
In file included from ./libmpdemux/stheader.h:22:
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/demux_ty.c:202:40: 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]
   count = stream_read( demux->stream, buff, CHUNKSIZE );
                                       ^~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_ty.c:267:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return 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/demux_ty.c:291:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
   if (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/demux_ty.c:379:49: 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]
         readSize = stream_read( demux->stream, chunk, CHUNKSIZE );
                                                ^~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_ty.c:401:61: 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]
                     readSize = stream_read( demux->stream, chunk, CHUNKSIZE );
                                                            ^~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_ty.c:457:46: 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]
      readSize = stream_read( demux->stream, chunk, CHUNKSIZE );
                                             ^~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_ty.c:730:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      tivo->lastAudioPTS = 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/demux_ty.c:731:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      tivo->lastVideoPTS = 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
                        ~~~~^
11 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_ty_osd.o libmpdemux/demux_ty_osd.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_viv.o libmpdemux/demux_viv.c
In file included from libmpdemux/demux_viv.c:34:
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/demux_viv.c:273:33: warning: passing 'unsigned char [2304]' 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]
    stream_read(demuxer->stream,buf,len);
                                ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_viv.c:280:16: 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(strncmp(buf+i,"Version:Vivo/",13)) return 0; // bad version/type!
               ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_viv.c:420:28: 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]
        stream_read(demux->stream,dp->buffer+dp->len,len);
                                  ^~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_viv.c:432:33: 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]
      stream_read(demux->stream,dp->buffer,len);
                                ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
7 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_vqf.o libmpdemux/demux_vqf.c
In file included from libmpdemux/demux_vqf.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
                        ~~~~^
libmpdemux/demux_vqf.c:200:33: 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]
  l=stream_read(demuxer->stream,dp->buffer,l);
                                ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_y4m.o libmpdemux/demux_y4m.c
In file included from libmpdemux/demux_y4m.c:36:
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/demux_y4m.c:124:32: 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]
    stream_read(demux->stream, buf[0], size);
                               ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_y4m.c:125:32: 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]
    stream_read(demux->stream, buf[1], size/4);
                               ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_y4m.c:126:32: 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]
    stream_read(demux->stream, buf[2], size/4);
                               ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ebml.o libmpdemux/ebml.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/extension.o libmpdemux/extension.c
In file included from libmpdemux/extension.c:27:
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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/mf.o libmpdemux/mf.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/mp3_hdr.o libmpdemux/mp3_hdr.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/mp_taglists.o libmpdemux/mp_taglists.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/mpeg_hdr.o libmpdemux/mpeg_hdr.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/parse_es.o libmpdemux/parse_es.c
In file included from libmpdemux/parse_es.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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/parse_mp4.o libmpdemux/parse_mp4.c
libmpdemux/parse_mp4.c:135:20: warning: passing 'uint8_t *' (aka '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]
    stream_read(s, esds->decoderConfig, esds->decoderConfigLen);
                   ^~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/parse_mp4.c:151:20: warning: passing 'uint8_t *' (aka '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]
    stream_read(s, esds->SLConfig, esds->SLConfigLen);
                   ^~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/video.o libmpdemux/video.c
In file included from libmpdemux/video.c:35:
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/video.c:632:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1;
                               ^~~~~~~~~~~~~~
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/video.c:651:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
          double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1;
                                 ^~~~~~~~~~~~~~
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/video.c:660:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
          double d = (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts - pts1;
                                  ^~~~~~~~~~~~~~
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
                        ~~~~^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/yuv4mpeg.o libmpdemux/yuv4mpeg.c
libmpdemux/yuv4mpeg.c:601:19: 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]
  if (y4m_read(s, yuv[0], w*h)) return Y4M_ERR_SYSTEM;
                  ^~~~~~
libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here
ssize_t y4m_read(stream_t *s, char *buf, size_t len)
                                    ^
libmpdemux/yuv4mpeg.c:603:19: 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]
  if (y4m_read(s, yuv[1], w*h/4)) return Y4M_ERR_SYSTEM;
                  ^~~~~~
libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here
ssize_t y4m_read(stream_t *s, char *buf, size_t len)
                                    ^
libmpdemux/yuv4mpeg.c:604:19: 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]
  if (y4m_read(s, yuv[2], w*h/4)) return Y4M_ERR_SYSTEM;
                  ^~~~~~
libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here
ssize_t y4m_read(stream_t *s, char *buf, size_t len)
                                    ^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 osdep/getch2.o osdep/getch2.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 osdep/timer-darwin.o osdep/timer-darwin.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/open.o stream/open.c
In file included from stream/open.c:37:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream.o stream/stream.c
In file included from stream/stream.c:46:
./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
                        ~~~~^
stream/stream.c:165:55: warning: initializing 'void *' with an expression of type 'const void *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        { "stream url", arg , CONF_TYPE_CUSTOM_URL, 0, 0 ,0, sinfo->opts };
                                                             ^~~~~~~~~~~
stream/stream.c:382:27: 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]
  rd = s->write_buffer(s, buf, len);
                          ^~~
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_bd.o stream/stream_bd.c
In file included from stream/stream_bd.c:30:
./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
                        ~~~~^
stream/stream_bd.c:192:35: warning: passing 'char [1024]' 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]
    while (stream_read_line(file, line, sizeof(line), 0)) {
                                  ^~~~
stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
stream/stream_bd.c:260:23: 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]
    stream_read(file, buf, file_size);
                      ^~~
stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
stream/stream_bd.c:320:44: warning: passing 'uint8_t *' (aka '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]
    read_len = stream_read(bd->title_file, buf, len);
                                           ^~~
stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
stream/stream_bd.c:363:28: 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]
    read_len = bd_read(bd, buf, len);
                           ^~~
stream/stream_bd.c:312:53: note: passing argument to parameter 'buf' here
static int64_t bd_read(struct bd_priv *bd, uint8_t *buf, int len)
                                                    ^
7 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_cue.o stream/stream_cue.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_file.o stream/stream_file.c
In file included from stream/stream_file.c:40:
./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
                        ~~~~^
stream/stream_file.c:98:30: warning: passing 'unsigned char [8192]' 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]
    int len=s->fill_buffer(s,s->buffer,STREAM_BUFFER_SIZE);
                             ^~~~~~~~~
stream/stream_file.c:161:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    filename = p->filename;
             ^ ~~~~~~~~~~~
stream/stream_file.c:163:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    filename = p->filename2;
             ^ ~~~~~~~~~~~~
stream/stream_file.c:180:14: 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(!strcmp(filename,"-")){
             ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
stream/stream_file.c:201:14: 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]
      f=open(filename,m, openmode);
             ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/fcntl.h:565:26: note: passing argument to parameter here
int     open(const char *, int, ...) __DARWIN_ALIAS_C(open);
                         ^
8 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_mf.o stream/stream_mf.c
In file included from stream/stream_mf.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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_null.o stream/stream_null.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/url.o stream/url.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/eosd.o sub/eosd.c
In file included from sub/eosd.c:22:
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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/find_sub.o sub/find_sub.c
In file included from sub/find_sub.c:31:
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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/osd.o sub/osd.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/spudec.o sub/spudec.c
sub/spudec.c:902:16: warning: passing 'unsigned char **' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
        sws_scale(ctx,&s2,&ss,0,sh,&d2,&ds);
                      ^~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
sub/spudec.c:1282:18: warning: passing 'uint8_t *' (aka '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 (!strncmp(ptr, "size: ", 6))
                 ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
sub/spudec.c:1283:16: warning: passing 'uint8_t *' (aka '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]
        sscanf(ptr + 6, "%dx%d", &this->orig_frame_width, &this->orig_frame_height);
               ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3);
                                       ^
sub/spudec.c:1284:18: warning: passing 'uint8_t *' (aka '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 (!strncmp(ptr, "palette: ", 9) &&
                 ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
sub/spudec.c:1285:16: warning: passing 'uint8_t *' (aka '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]
        sscanf(ptr + 9, "%x, %x, %x, %x, %x, %x, %x, %x, "
               ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3);
                                       ^
sub/spudec.c:1295:25: warning: passing 'uint8_t *' (aka '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 (!av_strncasecmp(ptr, "forced subs: on", 15))
                        ^~~
/Users/pbulk/build/multimedia/mplayer/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);
                               ^
sub/spudec.c:1297:18: warning: passing 'uint8_t *' (aka '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 (!strncmp(ptr, "custom colors: ON, tridx: ", 26) &&
                 ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
sub/spudec.c:1298:16: warning: passing 'uint8_t *' (aka '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]
        sscanf(ptr + 26, "%x, colors: %x, %x, %x, %x",
               ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3);
                                       ^
sub/spudec.c:1307:24: warning: passing 'uint8_t *' (aka '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]
  } while ((ptr=strchr(ptr,'\n')) && *++ptr);
                       ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here
char    *strchr(const char *__s, int __c);
                            ^
sub/spudec.c:1307:16: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  } while ((ptr=strchr(ptr,'\n')) && *++ptr);
               ^~~~~~~~~~~~~~~~~
sub/spudec.c:1440:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (pts != MP_NOPTS_VALUE)
             ^~~~~~~~~~~~~~
sub/spudec.c:1377: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
                        ~~~~^
sub/spudec.c:1442:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (endpts != MP_NOPTS_VALUE)
                ^~~~~~~~~~~~~~
sub/spudec.c:1377: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
                        ~~~~^
12 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/sub.o sub/sub.c
In file included from sub/sub.c:35:
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
                        ~~~~^
sub/sub.c:202:14: warning: initializing 'const char *' with an expression 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]
        const char *cp=vo_osd_text;
                    ^  ~~~~~~~~~~~
sub/sub.c:223:4: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        cp=vo_osd_text;
          ^~~~~~~~~~~~
sub/sub.c:717:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
          t=vo_sub->text[i++];
           ^~~~~~~~~~~~~~~~~~
sub/sub.c:719:31: 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]
            char_seq = calloc(strlen(t), sizeof(int));
                                     ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/sub.c:730:33: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'const char **' [-Wincompatible-pointer-types]
              c = utf8_get_char(&t);
                                ^~
sub/sub.c:186:37: note: passing argument to parameter 'str' here
unsigned utf8_get_char(const char **str) {
                                    ^
sub/sub.c:734:16: 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]
                 t += strlen(t); // end here
                             ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
9 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/sub_cc.o sub/sub_cc.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/subreader.o sub/subreader.c
In file included from sub/subreader.c:37:
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
                        ~~~~^
sub/subreader.c:143:37: warning: passing 'char [1001]' 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]
            if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0;
                                           ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:143:14: warning: assigning to 'char *' from '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]
            if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0;
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub/subreader.c:250:49: warning: passing 'char [1001]' 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]
        if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) {
                                                       ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:250:25: warning: assigning to 'char *' from '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]
        if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) {
                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub/subreader.c:314:29: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:338:29: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:355:29: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:360:29: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:388:35: warning: passing 'char [1001]' 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]
        if (!stream_read_line(st, line, LINE_LEN, utf16))
                                  ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:403:39: warning: passing 'char [1001]' 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]
            if (!stream_read_line(st, line, LINE_LEN, utf16))
                                      ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:447:29: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:454:33: warning: passing 'char [1001]' 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]
            if (!stream_read_line (st, line, LINE_LEN, utf16)) break;
                                       ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:499:36: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:506:40: warning: passing 'char [1001]' 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]
            if (!stream_read_line (st, line, LINE_LEN, utf16)) break;
                                       ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:532:30: warning: passing 'char [1001]' 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]
                if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                           ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:571:21: warning: passing 'uint8_t [1001]' 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]
    } while (sscanf(part, "<text start=\"%lf\" dur=\"%lf\"", &start, &duration) != 2);
                    ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3);
                                       ^
sub/subreader.c:580:16: warning: passing 'uint8_t [1001]' 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]
    p = strchr(part, '<');
               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here
char    *strchr(const char *__s, int __c);
                            ^
sub/subreader.c:580:7: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    p = strchr(part, '<');
      ^ ~~~~~~~~~~~~~~~~~
sub/subreader.c:584:37: warning: passing 'uint8_t [1001]' 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 (set_multiline_text(current, part, 0) == ERR)
                                    ^~~~
sub/subreader.c:292:68: note: passing argument to parameter 'text' here
static subtitle *set_multiline_text(subtitle *current, const char *text, int start)
                                                                   ^
sub/subreader.c:603:29: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:703:30: warning: passing 'char [1001]' 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]
                if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                           ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:787:32: warning: passing 'char [1001]' 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]
    if (!stream_read_line (st, line, LINE_LEN, utf16))
                               ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:829:29: warning: passing 'char [1001]' 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]
                if (!stream_read_line(st, line, LINE_LEN, utf16)) return NULL;
                                          ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:838:30: warning: passing 'char [1001]' 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]
                if (!stream_read_line (st, line, LINE_LEN, utf16)) {
                                           ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:872:36: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16))
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:888:32: warning: passing 'char [1001]' 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]
    if (!stream_read_line (st, line, LINE_LEN, utf16))
                               ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:895:32: warning: passing 'char [1001]' 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]
    if (!stream_read_line (st, line, LINE_LEN, utf16))
                               ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:924:36: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16))
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:942:32: warning: passing 'char [1001]' 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]
    if (!stream_read_line (st, line, LINE_LEN, utf16))
                               ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:973:28: warning: passing 'char [1000]' 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]
        if (!stream_read_line(st, line1, LINE_LEN, utf16)) {
                                  ^~~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:1131:33: warning: passing 'char [1000]' 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]
                    if (!stream_read_line(st, directive, LINE_LEN, utf16))
                                              ^~~~~~~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:1159:29: warning: passing 'char [1001]' 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]
        if (!stream_read_line (st, line, LINE_LEN, utf16))
                                   ^~~~
./stream/stream.h:303:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:1228:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                    enca_sub_cp = guess_cp(st, enca_lang, enca_fallback);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub/subreader.c:1479:29: 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]
    buflen = stream_read(st,buffer, MAX_GUESS_BUFFER_SIZE);
                            ^~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
sub/subreader.c:2656:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) {
               ^~~~~~~~~~~~~~
sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63)
                        ~~~~^
sub/subreader.c:2656:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) {
                                            ^~~~~~~~~~~~~~
sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63)
                        ~~~~^
39 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/vobsub.o sub/vobsub.c
In file included from sub/vobsub.c:36:
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
                        ~~~~^
sub/vobsub.c:1071:27: 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]
    while (lang && strlen(lang) >= 2) {
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/vobsub.c:1074:54: 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 ((strncmp(vob->spu_streams[i].id, lang, 2) == 0)) {
                                                     ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:44: note: passing argument to parameter '__s2' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                                               ^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/font_load.o sub/font_load.c
sub/font_load.c:125:13: warning: passing 'unsigned char [1024]' 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]
while(fgets(sor,1020,f)){
            ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:149:30: note: passing argument to parameter here
char    *fgets(char * __restrict, int, FILE *);
                                ^
sub/font_load.c:174:22: 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]
      int len=strlen(p[0]);
                     ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:176:24: 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]
        strcpy(section,p[0]);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy'
                __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                              ^~~~~~~~~~~
sub/font_load.c:189:30: 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]
          desc->fpath=strdup(p[0]);
                             ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here
char    *strdup(const char *__s1);
                            ^
sub/font_load.c:203:27: 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(pdb==2 && strcmp(p[0],"alpha")==0){
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
sub/font_load.c:205:47: 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 (!(cp=malloc(strlen(desc->fpath)+strlen(p[1])+2))) goto fail_out;
                                                     ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:207:43: 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]
          snprintf(cp,strlen(desc->fpath)+strlen(p[1])+2,"%s" FONT_PATH_SEP "%s",
                                                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:34: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                 ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:211:46: 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 (!(cp=malloc(strlen(default_dir)+strlen(p[1])+2)))
                                                           ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:213:42: 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]
                snprintf(cp,strlen(default_dir)+strlen(p[1])+2,"%s" FONT_PATH_SEP "%s",
                                                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:34: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                 ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:224:27: 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(pdb==2 && strcmp(p[0],"bitmap")==0){
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
sub/font_load.c:226:47: 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 (!(cp=malloc(strlen(desc->fpath)+strlen(p[1])+2))) goto fail_out;
                                                     ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:228:43: 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]
          snprintf(cp,strlen(desc->fpath)+strlen(p[1])+2,"%s" FONT_PATH_SEP "%s",
                                                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:34: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                 ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:232:46: 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 (!(cp=malloc(strlen(default_dir)+strlen(p[1])+2)))
                                                           ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:234:42: 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]
                snprintf(cp,strlen(default_dir)+strlen(p[1])+2,"%s" FONT_PATH_SEP "%s",
                                                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:34: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                 ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:248:27: 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(pdb==2 && strcmp(p[0],"name")==0){
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
sub/font_load.c:249:29: 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]
          desc->name=strdup(p[1]);
                            ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here
char    *strdup(const char *__s1);
                            ^
sub/font_load.c:252:27: 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(pdb==2 && strcmp(p[0],"descversion")==0){
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
sub/font_load.c:258:27: 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(pdb==2 && strcmp(p[0],"spacewidth")==0){
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
sub/font_load.c:259:33: 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]
          desc->spacewidth=atoi(p[1]);
                                ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
sub/font_load.c:262:27: 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(pdb==2 && strcmp(p[0],"charspace")==0){
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
sub/font_load.c:263:32: 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]
          desc->charspace=atoi(p[1]);
                               ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
sub/font_load.c:266:27: 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(pdb==2 && strcmp(p[0],"height")==0){
                          ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:77:25: note: passing argument to parameter '__s1' here
int      strcmp(const char *__s1, const char *__s2);
                            ^
sub/font_load.c:267:29: 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]
          desc->height=atoi(p[1]);
                            ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
sub/font_load.c:275:26: 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]
          int start=atoi(p[1]);
                         ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
sub/font_load.c:276:24: 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]
          int end=atoi(p[2]);
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here
int      atoi(const char *);
                          ^
sub/font_load.c:278:26: 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]
          else if(strlen(p[0])!=1) chr=strtol(p[0],NULL,0);
                         ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/font_load.c:278:47: 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]
          else if(strlen(p[0])!=1) chr=strtol(p[0],NULL,0);
                                              ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here
long     strtol(const char *__str, char **__endptr, int __base);
                            ^
27 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_dvdnav.o stream/stream_dvdnav.c
In file included from stream/stream_dvdnav.c:30:
./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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_types.h:32:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:117:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:124:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvdnav.c:31:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:36:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED'
#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
                                                ^~~~~~~~~~
stream/stream_dvdnav.c:130:40: warning: passing 'char [2048]' 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]
    dvdnav_get_next_block(priv->dvdnav,buf,&event,&len);
                                       ^~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:227:64: note: passing argument to parameter 'buf' here
dvdnav_status_t dvdnav_get_next_block(dvdnav_t *self, uint8_t *buf,
                                                               ^
stream/stream_dvdnav.c:160:47: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  dvdnav_get_current_highlight (priv->dvdnav, &(hlev->buttonN));
                                              ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:476:71: note: passing argument to parameter 'button' here
dvdnav_status_t dvdnav_get_current_highlight(dvdnav_t *self, int32_t *button);
                                                                      ^
stream/stream_dvdnav.c:461:48: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK)
                                               ^~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:703:64: note: passing argument to parameter 'current_angle' here
dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int32_t *current_angle,
                                                               ^
stream/stream_dvdnav.c:461:55: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK)
                                                      ^~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:704:48: note: passing argument to parameter 'number_of_angles' here
                                      int32_t *number_of_angles);
                                               ^
stream/stream_dvdnav.c:469:48: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK)
                                               ^~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:703:64: note: passing argument to parameter 'current_angle' here
dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int32_t *current_angle,
                                                               ^
stream/stream_dvdnav.c:469:55: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK)
                                                      ^~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:704:48: note: passing argument to parameter 'number_of_angles' here
                                      int32_t *number_of_angles);
                                               ^
stream/stream_dvdnav.c:478:48: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK)
                                               ^~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:703:64: note: passing argument to parameter 'current_angle' here
dvdnav_status_t dvdnav_get_angle_info(dvdnav_t *self, int32_t *current_angle,
                                                               ^
stream/stream_dvdnav.c:478:55: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if(dvdnav_get_angle_info(priv->dvdnav, &curr, &angles) != DVDNAV_STATUS_OK)
                                                      ^~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:704:48: note: passing argument to parameter 'number_of_angles' here
                                      int32_t *number_of_angles);
                                               ^
stream/stream_dvdnav.c:533:47: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    dvdnav_get_number_of_titles(priv->dvdnav, &titles);
                                              ^~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:290:70: note: passing argument to parameter 'titles' here
dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *self, int32_t *titles);
                                                                     ^
stream/stream_dvdnav.c:750:28: warning: passing '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]
  while(language && strlen(language)>=2) {
                           ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/stream_dvdnav.c:797:28: warning: passing '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]
  while(language && strlen(language)>=2) {
                           ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/stream_dvdnav.c:882:46: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int32_t *' (aka 'int *') converts between pointers to integer types with different sign [-Wpointer-sign]
  dvdnav_get_number_of_titles (priv->dvdnav, &titles);
                                             ^~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdnav/dvdnav.h:290:70: note: passing argument to parameter 'titles' here
dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *self, int32_t *titles);
                                                                     ^
67 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_dvd.o stream/stream_dvd.c
In file included from stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:25:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:117:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:124:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:41:
In file included from stream/stream_dvd.h:27:
In file included from /Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/dvdread/nav_read.h:24:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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 stream/stream_dvd.c:43:
./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
                        ~~~~^
stream/stream_dvd.c:133:18: warning: passing '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]
    while(strlen(lang)>=2) {
                 ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/stream_dvd.c:176:24: warning: passing '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]
  while(lang && strlen(lang)>=2) {
                       ^~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/stream_dvd.c:385:34: 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]
  pos = dvd_read_sector(s->priv, buf);
                                 ^~~
stream/stream_dvd.c:216:58: note: passing argument to parameter 'data' here
static int dvd_read_sector(dvd_priv_t *d, unsigned char *data)
                                                         ^
58 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_dvd_common.o stream/stream_dvd_common.c
In file included from stream/stream_dvd_common.c:25:
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:117:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:124:12: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes]
    struct ATTRIBUTE_PACKED {
           ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/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/mplayer/work/.buildlink/include/dvdread/ifo_types.h:36:49: note: expanded from macro 'ATTRIBUTE_PACKED'
#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
                                                ^~~~~~~~~~
38 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_faad.o libmpcodecs/ad_faad.c
In file included from libmpcodecs/ad_faad.c:26:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/faad.h:31:9: warning: please update faad2 include filename and function names! [-W#pragma-messages]
#pragma message("please update faad2 include filename and function names!")
        ^
In file included from libmpcodecs/ad_faad.c:30:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_faad.c:127:51: 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]
    sh->a_in_buffer_len = demux_read_data(sh->ds, sh->a_in_buffer, sh->a_in_buffer_size);
                                                  ^~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_faad.c:134:40: 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]
    faac_init = faacDecInit(faac_hdec, sh->a_in_buffer,
                                       ^~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/neaacdec.h:214:46: note: passing argument to parameter 'buffer' here
                              unsigned char *buffer,
                                             ^
libmpcodecs/ad_faad.c:138:21: 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]
    pos = aac_probe(sh->a_in_buffer, sh->a_in_buffer_len);
                    ^~~~~~~~~~~~~~~
libmpcodecs/ad_faad.c:62:37: note: passing argument to parameter 'buffer' here
static int aac_probe(unsigned char *buffer, int len)
                                    ^
libmpcodecs/ad_faad.c:143:25: 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]
        demux_read_data(sh->ds,&(sh->a_in_buffer[sh->a_in_buffer_len]),
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_faad.c:149:40: 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]
    faac_init = faacDecInit(faac_hdec, sh->a_in_buffer,
                                       ^~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/neaacdec.h:214:46: note: passing argument to parameter 'buffer' here
                              unsigned char *buffer,
                                             ^
libmpcodecs/ad_faad.c:206:25: 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]
        demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len],
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_faad.c:209:21: 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]
    pos = aac_probe(sh->a_in_buffer, sh->a_in_buffer_len);
                    ^~~~~~~~~~~~~~~
libmpcodecs/ad_faad.c:62:37: note: passing argument to parameter 'buffer' here
static int aac_probe(unsigned char *buffer, int len)
                                    ^
libmpcodecs/ad_faad.c:247:25: 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]
        demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len],
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_faad.c:261:64: 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]
    faac_sample_buffer = faacDecDecode(faac_hdec, &faac_finfo, sh->a_in_buffer, sh->a_in_buffer_len);
                                                               ^~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/neaacdec.h:236:49: note: passing argument to parameter 'buffer' here
                                 unsigned char *buffer,
                                                ^
libmpcodecs/ad_faad.c:291:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (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
                        ~~~~^
14 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libvo/aclib.o libvo/aclib.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 av_helpers.o av_helpers.c
av_helpers.c:119:23: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    int planar = ctx->channels > 1 && av_sample_fmt_is_planar(ctx->sample_fmt);
                      ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:125:15: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    if ((ctx->channels == 6 || ctx->channels == 5) &&
              ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:125:37: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    if ((ctx->channels == 6 || ctx->channels == 5) &&
                                    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:129:34: warning: 'channels' is deprecated [-Wdeprecated-declarations]
                            ctx->channels,
                                 ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:132:40: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    frame->nb_samples = src_len / ctx->channels / bps;
                                       ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:137:32: warning: 'channels' is deprecated [-Wdeprecated-declarations]
        for (ch = 0; ch < ctx->channels; ch++) {
                               ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:139:62: warning: 'channels' is deprecated [-Wdeprecated-declarations]
            uint8_t *tmpd = (uint8_t *)src + ch*src_len/ctx->channels;
                                                             ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:143:30: warning: 'channels' is deprecated [-Wdeprecated-declarations]
                tmps += ctx->channels * bps;
                             ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:149:12: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    frame->channels = ctx->channels;
           ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/frame.h:642:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:149:28: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    frame->channels = ctx->channels;
                           ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:150:46: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    n = avcodec_fill_audio_frame(frame, ctx->channels, ctx->sample_fmt, src, src_len, 1);
                                             ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:153:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
12 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 av_opts.o av_opts.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c
libaf/af_lavcac3enc.c:99:27: warning: 'channels' is deprecated [-Wdeprecated-declarations]
        if (s->lavc_actx->channels != af->data->nch ||
                          ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libaf/af_lavcac3enc.c:107:27: warning: 'channels' is deprecated [-Wdeprecated-declarations]
            s->lavc_actx->channels = af->data->nch;
                          ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libaf/af_lavcac3enc.c:277:20: warning: assigning to 'struct AVCodec *' from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    s->lavc_acodec = avcodec_find_encoder_by_name("ac3_fixed");
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_lavcresample.o libaf/af_lavcresample.c
libaf/af_lavcresample.c:147:30: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  av_fast_malloc(&s->tmp[0], &s->tmp_alloc, FFALIGN(out_len,32));
                             ^~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/mem.h:412:46: note: passing argument to parameter 'size' here
void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size);
                                             ^
libaf/af_lavcresample.c:154:29: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
  av_fast_malloc(&s->in[0], &s->in_alloc, FFALIGN(in_len,32));
                            ^~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/mem.h:412:46: note: passing argument to parameter 'size' here
void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size);
                                             ^
libaf/af_lavcresample.c:159:61: warning: passing 'uint8_t **' (aka 'unsigned char **') to parameter of type 'const uint8_t **' (aka 'const unsigned char **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
  ret = swr_convert(s->swrctx, &s->tmp[0], out_len/chans/2, &s->in[0], in_len/chans/2);
                                                            ^~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswresample/swresample.h:344:49: note: passing argument to parameter 'in' here
                                const uint8_t **in , int in_count);
                                                ^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c
In file included from libmpcodecs/ad_ffmpeg.c:28:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_ffmpeg.c:82:23: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    if (lavc_context->channels != sh_audio->channels ||
                      ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:85:42: warning: 'channels' is deprecated [-Wdeprecated-declarations]
        sh_audio->channels=lavc_context->channels;
                                         ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:109:16: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    lavc_codec = avcodec_find_decoder_by_name(codec_idx2str(sh_audio->codec->dll_idx));
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpcodecs/ad_ffmpeg.c:124:16: warning: 'channels' is deprecated [-Wdeprecated-declarations]
        lavc_context->channels = sh_audio->wf->nChannels;
                      ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:130:19: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
    lavc_context->channel_layout = sh_audio->channel_layout;
                  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1059:5: note: 'channel_layout' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:131:19: warning: 'request_channel_layout' is deprecated [-Wdeprecated-declarations]
    lavc_context->request_channel_layout = av_get_default_channel_layout(audio_output_channels);
                  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1068:5: note: 'request_channel_layout' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:131:44: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations]
    lavc_context->request_channel_layout = av_get_default_channel_layout(audio_output_channels);
                                           ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/channel_layout.h:456:1: note: 'av_get_default_channel_layout' has been explicitly marked deprecated here
attribute_deprecated
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:174:32: 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]
       x=decode_audio(sh_audio,sh_audio->a_buffer,1,sh_audio->a_buffer_size);
                               ^~~~~~~~~~~~~~~~~~
libmpcodecs/ad_internal.h:35:55: note: passing argument to parameter 'buffer' here
static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,int maxlen);
                                                      ^
libmpcodecs/ad_ffmpeg.c:277:25: warning: 'channels' is deprecated [-Wdeprecated-declarations]
    int channels = avc->channels;
                        ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:349:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
        av_init_packet(&pkt);
        ^
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:372:47: warning: 'channels' is deprecated [-Wdeprecated-declarations]
          if (((AVCodecContext *)sh_audio->context)->channels >= 5) {
                                                     ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:377:72: warning: 'channels' is deprecated [-Wdeprecated-declarations]
                                ((AVCodecContext *)sh_audio->context)->channels,
                                                                       ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/avcodec.h:1005:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:331:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ds_parse(sh_audio->ds, &start, &x, MP_NOPTS_VALUE, 0);
                                               ^~~~~~~~~~~~~~
./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/ad_ffmpeg.c:352:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (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
                        ~~~~^
17 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_spdif.o libmpcodecs/ad_spdif.c
In file included from libmpcodecs/ad_spdif.c:23:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_spdif.c:180:27: warning: passing 'const AVClass *const *' (aka 'const struct AVClass *const *') to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        opt = av_opt_find(&lavf_ctx->oformat->priv_class,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/opt.h:608:35: note: passing argument to parameter 'obj' here
const AVOption *av_opt_find(void *obj, const char *name, const char *unit,
                                  ^
libmpcodecs/ad_spdif.c:145:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        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/ad_spdif.c:260:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
        av_init_packet(&pkt);
        ^
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_spdif.c:245:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            ds_parse(sh->ds, &start, &x, MP_NOPTS_VALUE, 0);
                                         ^~~~~~~~~~~~~~
./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/ad_spdif.c:266:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if (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
                        ~~~~^
8 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c
In file included from libmpcodecs/vd_ffmpeg.c:38:
In file included from libmpcodecs/vd_internal.h:26:
./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 libmpcodecs/vd_ffmpeg.c:75:
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/xvmc.h:30:9: warning: XvMC is no longer supported; this header is deprecated and will be removed [-W#pragma-messages]
#pragma message("XvMC is no longer supported; this header is deprecated and will be removed")
        ^
libmpcodecs/vd_ffmpeg.c:234:17: warning: 493 enumeration values not handled in switch: 'AV_CODEC_ID_NONE', 'AV_CODEC_ID_H261', 'AV_CODEC_ID_H263'... [-Wswitch]
        switch (cid) {
                ^
libmpcodecs/vd_ffmpeg.c:234:17: note: add missing switch cases
        switch (cid) {
                ^
libmpcodecs/vd_ffmpeg.c:335:16: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    lavc_codec = avcodec_find_decoder_by_name(codec_idx2str(sh->codec->dll_idx));
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpcodecs/vd_ffmpeg.c:747:16: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations]
        struct xvmc_pix_fmt *render = mpi->priv; //same as data[2]
               ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/xvmc.h:47:8: note: 'xvmc_pix_fmt' has been explicitly marked deprecated here
struct attribute_deprecated xvmc_pix_fmt {
       ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:900:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:1033:13: warning: returning 'const mp_image_t *' (aka 'const struct mp_image *') from a function with result type 'mp_image_t *' (aka 'struct mp_image *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
            return &mpi_no_picture; // H.264 first field only
                   ^~~~~~~~~~~~~~~
9 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_geq.o libmpcodecs/vf_geq.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_lavc.o libmpcodecs/vf_lavc.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_lavcdeint.o libmpcodecs/vf_lavcdeint.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_screenshot.o libmpcodecs/vf_screenshot.c
libmpcodecs/vf_screenshot.c:63:34: warning: passing 'unsigned char **' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
        sws_scale(vf->priv->ctx, src, stride, y, h, vf->priv->pic->data, vf->priv->pic->linesize);
                                 ^~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
libmpcodecs/vf_screenshot.c:161:26: warning: passing 'unsigned char *[4]' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
    sws_scale(priv->ctx, mpi->planes, mpi->stride, 0, mpi->height, priv->pic->data, priv->pic->linesize);
                         ^~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libswscale/swscale.h:224:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_lavf.o libmpdemux/demux_lavf.c
In file included from libmpdemux/demux_lavf.c:33:
In file included from libmpdemux/aviprint.h:23:
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/demux_lavf.c:92:29: warning: passing 'uint8_t *' (aka '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]
    ret=stream_read(stream, buf, size);
                            ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_lavf.c:188:50: 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]
        read_size = stream_read(demuxer->stream, avpd.buf + probe_data_size, read_size);
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_lavf.c:312:35: warning: 'channels' is deprecated [-Wdeprecated-declarations]
            wf->nChannels= codec->channels;
                                  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/codec_par.h:171:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpdemux/demux_lavf.c:313:47: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations]
            sh_audio->channel_layout = codec->channel_layout;
                                              ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/codec_par.h:165:5: note: 'channel_layout' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpdemux/demux_lavf.c:335:40: warning: 'channels' is deprecated [-Wdeprecated-declarations]
            sh_audio->channels= codec->channels;
                                       ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavcodec/codec_par.h:171:5: note: 'channels' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpdemux/demux_lavf.c:338:21: warning: 492 enumeration values not handled in switch: 'AV_CODEC_ID_NONE', 'AV_CODEC_ID_MPEG1VIDEO', 'AV_CODEC_ID_MPEG2VIDEO'... [-Wswitch]
            switch (codec->codec_id) {
                    ^
libmpdemux/demux_lavf.c:338:21: note: add missing switch cases
            switch (codec->codec_id) {
                    ^
libmpdemux/demux_lavf.c:680:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    double 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/demux_lavf.c:882:24: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch]
                switch(priv->avfc->streams[program->stream_index[i]]->codecpar->codec_type)
                       ^
libmpdemux/demux_lavf.c:882:24: note: add missing switch cases
                switch(priv->avfc->streams[program->stream_index[i]]->codecpar->codec_type)
                       ^
11 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_ffmpeg.o stream/stream_ffmpeg.c
In file included from stream/stream_ffmpeg.c: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
                        ~~~~^
stream/stream_ffmpeg.c:34:32: 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]
    int r = avio_read(s->priv, buffer, max_len);
                               ^~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavformat/avio.h:567:46: note: passing argument to parameter 'buf' here
int avio_read(AVIOContext *s, unsigned char *buf, int size);
                                             ^
stream/stream_ffmpeg.c:41:25: 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]
    avio_write(s->priv, buffer, len);
                        ^~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavformat/avio.h:428:54: note: passing argument to parameter 'buf' here
void avio_write(AVIOContext *s, const unsigned char *buf, int size);
                                                     ^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/av_sub.o sub/av_sub.c
In file included from sub/av_sub.c:20:
In file included from ./libmpdemux/stheader.h:22:
./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
                        ~~~~^
sub/av_sub.c:103:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
/Users/pbulk/build/multimedia/mplayer/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/mplayer/work/.buildlink/include/ffmpeg5/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
sub/av_sub.c:120:19: warning: assigning to 'AVCodec *' (aka 'struct AVCodec *') from 'const AVCodec *' (aka 'const struct AVCodec *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        sub_codec = avcodec_find_decoder(cid);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
sub/av_sub.c:148:19: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            *data = strdup(sub.rects[0]->text);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
sub/av_sub.c:149:28: warning: passing 'uint8_t *' (aka '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]
            *size = strlen(*data);
                           ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/av_sub.c:153:19: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            *data = strdup(sub.rects[0]->ass);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
sub/av_sub.c:154:28: warning: passing 'uint8_t *' (aka '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]
            *size = strlen(*data);
                           ^~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
sub/av_sub.c:140:17: warning: enumeration value 'SUBTITLE_NONE' not handled in switch [-Wswitch]
        switch (sub.rects[0]->type) {
                ^
sub/av_sub.c:140:17: note: add missing switch cases
        switch (sub.rects[0]->type) {
                ^
sub/av_sub.c:107:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (*pts != MP_NOPTS_VALUE && *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
                        ~~~~^
sub/av_sub.c:107:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (*pts != MP_NOPTS_VALUE && *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
                        ~~~~^
sub/av_sub.c:132:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (*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
                        ~~~~^
13 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/font_load_ft.o sub/font_load_ft.c
In file included from sub/font_load_ft.c:51:
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
                        ~~~~^
sub/font_load_ft.c:374:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                unsigned *m3= m2 + src*mwidth;
                          ^   ~~~~~~~~~~~~~~~
sub/font_load_ft.c:386:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                unsigned *m3= m2 + src*mwidth;
                          ^   ~~~~~~~~~~~~~~~
sub/font_load_ft.c:399:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                unsigned *m3= m2 + src*mwidth;
                          ^   ~~~~~~~~~~~~~~~
sub/font_load_ft.c:418:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                unsigned *m3= m2 + src2*mwidth;
                          ^   ~~~~~~~~~~~~~~~~
sub/font_load_ft.c:434:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                unsigned *m3= m2 + src2*mwidth;
                          ^   ~~~~~~~~~~~~~~~~
sub/font_load_ft.c:451:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                unsigned *m3= m2 + src2*mwidth;
                          ^   ~~~~~~~~~~~~~~~~
sub/font_load_ft.c:604:7: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
             desc->tables.gt2, desc->tables.g_r,
             ^~~~~~~~~~~~~~~~
sub/font_load_ft.c:358:7: note: passing argument to parameter 'm2' here
        int *m2,
             ^
sub/font_load_ft.c:1133:27: warning: passing 'const char *' to parameter of type 'const FcChar8 *' (aka '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]
        fc_pattern = FcNameParse(font_name ? font_name : "sans-serif");
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/fontconfig/fontconfig.h:855:29: note: passing argument to parameter 'name' here
FcNameParse (const FcChar8 *name);
                            ^
sub/font_load_ft.c:1143:42: warning: passing 'char [11]' to parameter of type 'const FcChar8 *' (aka '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]
                fc_pattern = FcNameParse("sans-serif");
                                         ^~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/fontconfig/fontconfig.h:855:29: note: passing argument to parameter 'name' here
FcNameParse (const FcChar8 *name);
                            ^
sub/font_load_ft.c:1153:42: warning: passing 'FcChar8 *' (aka '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]
                *fontp=read_font_desc_ft(s, face_index, width, height, font_scale_factor);
                                         ^
sub/font_load_ft.c:941:51: note: passing argument to parameter 'fname' here
static font_desc_t* read_font_desc_ft(const char *fname, int face_index, int movie_width, int movie_height, float font_scale_factor)
                                                  ^
13 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_ftp.o stream/stream_ftp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_gif.o libmpdemux/demux_gif.c
In file included from libmpdemux/demux_gif.c:32:
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/demux_gif.c:81:37: warning: passing 'uint8_t *' (aka '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]
  return stream_read(gif->UserData, buf, len);
                                    ^~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_gif.c:169:10: warning: initializing 'char *' with an expression 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]
          char *comments = p + 1;
                ^          ~~~~~
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_bmovl.o libmpcodecs/vf_bmovl.c
libmpcodecs/vf_bmovl.c:267:77: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:267:93: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                        else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:270:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                            return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:270:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                            return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:289:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                                        return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:289:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                                        return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:350:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                                return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:350:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                                return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:408:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:408:74: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:463:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return vf_next_put_image(vf, dmpi, 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/vf_bmovl.c:463:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    return vf_next_put_image(vf, dmpi, 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
                        ~~~~^
12 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_export.o libaf/af_export.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 osdep/mmap_anon.o osdep/mmap_anon.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_ijpg.o libmpcodecs/vd_ijpg.c
In file included from libmpcodecs/vd_ijpg.c:34:
In file included from libmpcodecs/vd_internal.h:26:
./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/vd_ijpg.c:123:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
 src->inbuf = inbuf;
            ^ ~~~~~
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 libaf/af_ladspa.o libaf/af_ladspa.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_ass.o libmpcodecs/vf_ass.c
In file included from libmpcodecs/vf_ass.c:33:
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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/ass_mp.o sub/ass_mp.c
In file included from sub/ass_mp.c:26:
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
                        ~~~~^
sub/ass_mp.c:342:3: warning: 'ass_set_aspect_ratio' is deprecated: use 'ass_set_pixel_aspect' instead [-Wdeprecated-declarations]
                ass_set_aspect_ratio(ass_renderer, dar, (double)res->srcw / res->srch);
                ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ass/ass.h:488:1: note: 'ass_set_aspect_ratio' has been explicitly marked deprecated here
ASS_DEPRECATED("use 'ass_set_pixel_aspect' instead")
^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ass/ass.h:35:52: note: expanded from macro 'ASS_DEPRECATED'
        #define ASS_DEPRECATED(msg) __attribute__((deprecated(msg)))
                                                   ^
sub/ass_mp.c:347:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        aimg = sub_visibility && ass_track && ts != 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
                        ~~~~^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/subassconvert.o sub/subassconvert.c
sub/subassconvert.c:251:37: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    tag->face.start = line;
                                    ^ ~~~~
sub/subassconvert.c:363:35: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            tag.data_string.start = s;
                                  ^ ~
sub/subassconvert.c:387:35: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            tag.data_string.start = s;
                                  ^ ~
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_libdv.o libmpcodecs/ad_libdv.c
In file included from libmpcodecs/ad_libdv.c:36:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_libdv.o libmpcodecs/vd_libdv.c
In file included from libmpcodecs/vd_libdv.c:34:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_rawdv.o libmpdemux/demux_rawdv.c
In file included from libmpdemux/demux_rawdv.c:33:
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/demux_rawdv.c:83:43: warning: passing 'unsigned char [144000]' 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]
   bytes_read=stream_read(demuxer->stream,tmp_buffer,DV_PAL_FRAME_SIZE);
                                          ^~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_rawdv.c:120:43: 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]
   bytes_read=stream_read(demuxer->stream,dp_video->buffer,frames->frame_size);
                                          ^~~~~~~~~~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_rawdv.c:156:33: warning: passing 'unsigned char [144000]' 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]
   stream_read(demuxer->stream, dv_frame, DV_PAL_FRAME_SIZE);
                                ^~~~~~~~
./stream/stream.h:284:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_libmad.o libmpcodecs/ad_libmad.c
In file included from libmpcodecs/ad_libmad.c:25:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_libmad.c:73:39: 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]
    mad_stream_buffer (&this->stream, sh->a_in_buffer, sh->a_in_buffer_len);
                                      ^~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/mad.h:737:31: note: passing argument to parameter here
                       unsigned char const *, unsigned long);
                                            ^
libmpcodecs/ad_libmad.c:84:40: 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]
        int len=demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len],
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_theora.o libmpcodecs/vd_theora.c
In file included from libmpcodecs/vd_theora.c:28:
In file included from libmpcodecs/vd_internal.h:26:
./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/vd_theora.c:57:13: warning: enumeration values 'TH_PF_RSVD' and 'TH_PF_NFORMATS' not handled in switch [-Wswitch]
    switch (fmt) {
            ^
libmpcodecs/vd_theora.c:57:13: note: add missing switch cases
    switch (fmt) {
            ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_rtsp.o stream/stream_rtsp.c
In file included from stream/stream_rtsp.c:41:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/freesdp/common.o stream/freesdp/common.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/freesdp/errorlist.o stream/freesdp/errorlist.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/freesdp/parser.o stream/freesdp/parser.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/librtsp/rtsp.o stream/librtsp/rtsp.c
stream/librtsp/rtsp.c:593:11: warning: address of array 's->answers' will always evaluate to 'true' [-Wpointer-bool-conversion]
  if (!s->answers) return NULL;
      ~~~~^~~~~~~
stream/librtsp/rtsp.c:705:11: warning: address of array 's->scheduled' will always evaluate to 'true' [-Wpointer-bool-conversion]
  if (!s->scheduled) return;
      ~~~~^~~~~~~~~
stream/librtsp/rtsp.c:722:11: warning: address of array 's->answers' will always evaluate to 'true' [-Wpointer-bool-conversion]
  if (!s->answers) return;
      ~~~~^~~~~~~
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_rtp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/librtsp/rtsp_session.o stream/librtsp/rtsp_session.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_netstream.o stream/stream_netstream.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/asf_mmst_streaming.o stream/asf_mmst_streaming.c
In file included from stream/asf_mmst_streaming.c:43:
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
                        ~~~~^
stream/asf_mmst_streaming.c:185:23: warning: passing 'char [102400]' 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]
    command = get_32 (data, 36) & 0xFFFF;
                      ^~~~
stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here
static uint32_t get_32 (unsigned char *cmd, int offset)
                                       ^
stream/asf_mmst_streaming.c:227:23: warning: passing 'unsigned char [8]' 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 (!get_data (s, pre_header, 8)) {
                      ^~~~~~~~~~
stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here
static int get_data (int s, char *buf, size_t count)
                                  ^
stream/asf_mmst_streaming.c:244:25: warning: passing 'uint8_t *' (aka '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]
      if (!get_data (s, &header[header_len], packet_len)) {
                        ^~~~~~~~~~~~~~~~~~~
stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here
static int get_data (int s, char *buf, size_t count)
                                  ^
stream/asf_mmst_streaming.c:254:47: warning: passing 'uint8_t *' (aka '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]
     if( streaming_bufferize( streaming_ctrl, header, header_len )<0 ) {
                                              ^~~~~~
stream/network.h:76:66: note: passing argument to parameter 'buffer' here
int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size);
                                                                 ^
stream/asf_mmst_streaming.c:290:25: warning: passing 'char [102400]' 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]
      command = get_32 (data, 24) & 0xFFFF;
                        ^~~~
stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here
static uint32_t get_32 (unsigned char *cmd, int offset)
                                       ^
stream/asf_mmst_streaming.c:395:21: warning: passing 'unsigned char [8]' 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 (!get_data (s, pre_header, 8)) {
                    ^~~~~~~~~~
stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here
static int get_data (int s, char *buf, size_t count)
                                  ^
stream/asf_mmst_streaming.c:454:23: warning: passing 'char [102400]' 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]
    command = get_32 (data, 24) & 0xFFFF;
                      ^~~~
stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here
static uint32_t get_32 (unsigned char *cmd, int offset)
                                       ^
10 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/asf_streaming.o stream/asf_streaming.c
In file included from stream/asf_streaming.c:29:
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
                        ~~~~^
stream/asf_streaming.c:56:42: warning: passing 'uint8_t *' (aka '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]
        int got = nop_streaming_read(fd, buf, len, stream_ctrl);
                                         ^~~
stream/network.h:78:39: note: passing argument to parameter 'buffer' here
int nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl );
                                      ^
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/cookies.o stream/cookies.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/http.o stream/http.c
In file included from stream/http.c:41:
./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
                        ~~~~^
stream/http.c:93:29: warning: passing 'unsigned char [6]' 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]
    info_read = my_read(fd, info, 1, sc);
                            ^~~~
stream/http.c:62:39: note: passing argument to parameter 'buffer' here
static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) {
                                      ^
stream/http.c:95:31: warning: passing 'unsigned char [6]' 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]
      info_read = my_read(fd, info, 6, sc);
                              ^~~~
stream/http.c:62:39: note: passing argument to parameter 'buffer' here
static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) {
                                      ^
stream/http.c:97:32: 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]
      info_read += my_read(fd, &info[1], 5, sc);
                               ^~~~~~~~
stream/http.c:62:39: note: passing argument to parameter 'buffer' here
static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) {
                                      ^
stream/http.c:125:15: 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]
  my_read(fd, &tmp, 1, sc);
              ^~~~
stream/http.c:62:39: note: passing argument to parameter 'buffer' here
static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) {
                                      ^
stream/http.c:130:33: warning: passing 'uint8_t *' (aka '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]
    unsigned nlen = my_read(fd, info, metalen, sc);
                                ^~~~
stream/http.c:62:39: note: passing argument to parameter 'buffer' here
static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) {
                                      ^
stream/http.c:638:46: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka '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]
        av_base64_encode(b64_usr_pass, encoded_len, usr_pass, usr_pass_len);
                                                    ^~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/base64.h:60:64: note: passing argument to parameter 'in' here
char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size);
                                                               ^
9 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/network.o stream/network.c
In file included from stream/network.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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/pnm.o stream/pnm.c
In file included from stream/pnm.c:49:
./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
                        ~~~~^
stream/pnm.c:423:50: warning: passing 'const unsigned char [33]' 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]
  c+=pnm_write_chunk(PNA_CLIENT_CHALLANGE,strlen(pnm_challenge),
                                                 ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/pnm.c:424:11: warning: passing 'const unsigned char [33]' 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]
          pnm_challenge,&p->buffer[c]);
          ^~~~~~~~~~~~~
stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here
    const char *chunk, char *data) {
                ^
stream/pnm.c:426:11: warning: passing 'const unsigned char [126]' 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]
          pnm_client_caps,&p->buffer[c]);
          ^~~~~~~~~~~~~~~
stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here
    const char *chunk, char *data) {
                ^
stream/pnm.c:431:43: warning: passing 'const unsigned char [28]' 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]
  c+=pnm_write_chunk(PNA_TIMESTAMP,strlen(pnm_timestamp),
                                          ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/pnm.c:432:11: warning: passing 'const unsigned char [28]' 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]
          pnm_timestamp,&p->buffer[c]);
          ^~~~~~~~~~~~~
stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here
    const char *chunk, char *data) {
                ^
stream/pnm.c:442:38: warning: passing 'const unsigned char [37]' 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]
  c+=pnm_write_chunk(PNA_GUID,strlen(pnm_guid),
                                     ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/pnm.c:443:11: warning: passing 'const unsigned char [37]' 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]
          pnm_guid,&p->buffer[c]);
          ^~~~~~~~
stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here
    const char *chunk, char *data) {
                ^
stream/pnm.c:445:11: warning: passing 'const unsigned char [16]' 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]
          pnm_twentyfour,&p->buffer[c]);
          ^~~~~~~~~~~~~~
stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here
    const char *chunk, char *data) {
                ^
stream/pnm.c:453:35: warning: passing 'const unsigned char [42]' 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]
  AV_WB16(&p->buffer[c+1], strlen(client_string)-1); /* don't know why do we have -1 here */
                                  ^~~~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/intreadwrite.h:405:39: note: expanded from macro 'AV_WB16'
#   define AV_WB16(p, v) AV_WB(16, p, v)
                                      ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/intreadwrite.h:390:51: note: expanded from macro 'AV_WB'
#   define AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v))
                                                  ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/intreadwrite.h:372:39: note: expanded from macro 'AV_WN16'
#   define AV_WN16(p, v) AV_WN(16, p, v)
                                      ^
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/intreadwrite.h:225:66: note: expanded from macro 'AV_WN'
#   define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
                                                                 ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/pnm.c:454:47: warning: passing 'const unsigned char [42]' 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]
  memcpy(&p->buffer[c+3],client_string,strlen(client_string)+1);
                                              ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:63:33: note: expanded from macro 'memcpy'
                __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
                                              ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/pnm.c:455:16: warning: passing 'const unsigned char [42]' 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]
  c=c+3+strlen(client_string)+1;
               ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
stream/pnm.c:514:61: warning: passing 'uint8_t *' (aka '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]
    chunk_size=pnm_get_chunk(p,HEADER_SIZE-size,&chunk_type,ptr,&nr);
                                                            ^~~
stream/pnm.c:295:32: note: passing argument to parameter 'data' here
                         char *data, int *need_response) {
                               ^
stream/pnm.c:768:26: warning: passing 'const unsigned char [33]' 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]
    pnm_send_response(p, pnm_response);
                         ^~~~~~~~~~~~
stream/pnm.c:475:53: note: passing argument to parameter 'response' here
static void pnm_send_response(pnm_t *p, const char *response) {
                                                    ^
stream/pnm.c:785:9: warning: initializing 'char *' with an expression 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]
  char *source=this->recv + this->recv_read;
        ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream/pnm.c:806:12: warning: assigning to 'char *' from 'uint8_t [4096]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    source = this->recv;
           ^ ~~~~~~~~~~
18 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/rtp.o stream/rtp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/udp.o stream/udp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/tcp.o stream/tcp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_rtp.o stream/stream_rtp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_udp.o stream/stream_udp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/realrtsp/asmrp.o stream/realrtsp/asmrp.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/realrtsp/real.o stream/realrtsp/real.c
stream/realrtsp/real.c:330:34: warning: passing 'uint8_t [8]' 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]
  n=rtsp_read_data(rtsp_session, header, 8);
                                 ^~~~~~
./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here
int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size);
                                    ^
stream/realrtsp/real.c:347:36: warning: passing 'uint8_t [8]' 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]
      rtsp_read_data(rtsp_session, header, 7); // Skip the rest of the eof packet
                                   ^~~~~~
./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here
int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size);
                                    ^
stream/realrtsp/real.c:361:36: warning: passing 'uint8_t *' (aka '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]
    n=rtsp_read_data(rtsp_session, header+3, 5);
                                   ^~~~~~~~
./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here
int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size);
                                    ^
stream/realrtsp/real.c:367:36: warning: passing 'uint8_t *' (aka '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]
    n=rtsp_read_data(rtsp_session, header+4, 4);
                                   ^~~~~~~~
./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here
int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size);
                                    ^
stream/realrtsp/real.c:375:34: warning: passing 'uint8_t [8]' 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]
  n=rtsp_read_data(rtsp_session, header, 6);
                                 ^~~~~~
./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here
int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size);
                                    ^
stream/realrtsp/real.c:513:51: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka '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]
    av_base64_encode(authfield + 21, b64_authlen, authstr, authlen);
                                                  ^~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libavutil/base64.h:60:64: note: passing argument to parameter 'in' here
char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size);
                                                               ^
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/realrtsp/rmff.o stream/realrtsp/rmff.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/realrtsp/sdpplin.o stream/realrtsp/sdpplin.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/realrtsp/xbuffer.o stream/realrtsp/xbuffer.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_mpng.o libmpcodecs/vd_mpng.c
In file included from libmpcodecs/vd_mpng.c:31:
In file included from libmpcodecs/vd_internal.h:26:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vf_pp.o libmpcodecs/vf_pp.c
In file included from libmpcodecs/vf_pp.c:33:
In file included from libmpcodecs/dec_video.h:22:
In file included from ./libmpdemux/stheader.h:22:
./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/vf_pp.c:145:17: warning: passing 'unsigned char *[4]' to parameter of type 'const uint8_t **' (aka 'const unsigned char **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
        pp_postprocess(mpi->planes           ,mpi->stride,
                       ^~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libpostproc/postprocess.h:69:38: note: passing argument to parameter 'src' here
void  pp_postprocess(const uint8_t * src[3], const int srcStride[3],
                                     ^
libmpcodecs/vf_pp.c:148:7: warning: passing 'char *' to parameter of type 'const int8_t *' (aka 'const signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                    mpi->qscale, mpi->qstride,
                    ^~~~~~~~~~~
/Users/pbulk/build/multimedia/mplayer/work/.buildlink/include/ffmpeg5/libpostproc/postprocess.h:72:36: note: passing argument to parameter 'QP_store' here
                     const int8_t *QP_store,  int QP_stride,
                                   ^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_realaud.o libmpcodecs/ad_realaud.c
In file included from libmpcodecs/ad_realaud.c:34:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_realaud.c:460:31: 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]
      demux_read_data(sh->ds, sh->a_in_buffer, sh->wf->nBlockAlign);
                              ^~~~~~~~~~~~~~~
./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here
int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len);
                                                      ^
libmpcodecs/ad_realaud.c:472:8: 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]
       buf, &len, -1);
       ^~~
libmpcodecs/ad_realaud.c:472:13: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
       buf, &len, -1);
            ^~~~
6 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_realvid.o libmpcodecs/vd_realvid.c
In file included from libmpcodecs/vd_realvid.c:33:
In file included from libmpcodecs/vd_internal.h:26:
./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/vd_realvid.c:405:28: 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]
        result=(*rvyuv_transform)(dp_data, buffer, &transform_in,
                                  ^~~~~~~
libmpcodecs/vd_realvid.c:405:37: warning: passing 'uint8_t *' (aka '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]
        result=(*rvyuv_transform)(dp_data, buffer, &transform_in,
                                           ^~~~~~
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/cache2.o stream/cache2.c
stream/cache2.c:280:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    s->stream_time_pos = 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
                        ~~~~^
stream/cache2.c:294:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      s->stream_time_pos = 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
                        ~~~~^
stream/cache2.c:650:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      return s->stream_time_pos != MP_NOPTS_VALUE ? STREAM_OK : STREAM_UNSUPPORTED;
                                   ^~~~~~~~~~~~~~
./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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/frequencies.o stream/frequencies.c
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_tv.o stream/stream_tv.c
In file included from stream/stream_tv.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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/tv.o stream/tv.c
In file included from stream/tv.c:41:
./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
                        ~~~~^
stream/tv.c:242:61: 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]
        dp->pts=tvh->functions->grab_audio_frame(tvh->priv, dp->buffer,len);
                                                            ^~~~~~~~~~
stream/tv.c:254:57: 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]
                dp->pts=tvh->functions->grab_video_frame(tvh->priv, dp->buffer, len);
                                                                    ^~~~~~~~~~
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/tvi_dummy.o stream/tvi_dummy.c
In file included from stream/tvi_dummy.c:25:
In file included from stream/tv.h: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
                        ~~~~^
3 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 sub/unrar_exec.o sub/unrar_exec.c
sub/unrar_exec.c:125:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            *output = p;
                    ^ ~
sub/unrar_exec.c:140:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            *output = p;
                    ^ ~
2 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 stream/stream_vcd.o stream/stream_vcd.c
In file included from stream/stream_vcd.c:55:
./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/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/ad_libvorbis.o libmpcodecs/ad_libvorbis.c
In file included from libmpcodecs/ad_libvorbis.c:28:
In file included from libmpcodecs/ad_internal.h:26:
./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/ad_libvorbis.c:114:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  extradata = (char*) (sh->wf+1);
            ^ ~~~~~~~~~~~~~~~~~~
libmpcodecs/ad_libvorbis.c:254:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            if (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
                        ~~~~^
5 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/demux_ogg.o libmpdemux/demux_ogg.c
In file included from libmpdemux/demux_ogg.c:30:
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/demux_ogg.c:185:11: warning: initializing 'char *' with an expression 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]
    char *packet = pack->packet;
          ^        ~~~~~~~~~~~~
libmpdemux/demux_ogg.c:197:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        double 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/demux_ogg.c:217:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        sub_clear_text(&ogg_sub, 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/demux_ogg.c:270:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    *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/demux_ogg.c:623:50: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                if (ogg_d->initial_granulepos == MP_NOPTS_VALUE && (flags & 1)) {
                                                 ^~~~~~~~~~~~~~
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/demux_ogg.c:864:41: 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 (pack.bytes >= 7 && !strncmp(&pack.packet[1], "vorbis", 6)) {
                                        ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ogg.c:873:48: 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]
        } else if (pack.bytes >= 8 && !strncmp(pack.packet, "OpusHead", 8)) {
                                               ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ogg.c:882:49: 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]
        } else if (pack.bytes >= 80 && !strncmp(pack.packet, "Speex", 5)) {
                                                ^~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ogg.c:906:49: 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]
        } else if (pack.bytes >= 7 && !strncmp (&pack.packet[1], "theora", 6)) {
                                                ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ogg.c:952:49: 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]
        } else if (pack.bytes >= 4 && !strncmp (&pack.packet[0], "fLaC", 4)) {
                                                ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ogg.c:962:49: 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]
        } else if (pack.bytes >= 51 && !strncmp(&pack.packet[1], "FLAC", 4)) {
                                                ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ogg.c:978:29: 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]
                   !strncmp(&pack.packet[1], "Direct Show Samples embedded in Ogg", 35)) {
                            ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
libmpdemux/demux_ogg.c:1184:33: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    ogg_d->initial_granulepos = 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/demux_ogg.c:1193:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (ogg_d->initial_granulepos == 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/demux_ogg.c:1362:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        buf  = ogg_sync_buffer(&ogg_d->sync, plen);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libmpdemux/demux_ogg.c:1548:21: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
                if (abs(gp - op.granulepos) > rate && (op.granulepos != old_gp)) {
                    ^
libmpdemux/demux_ogg.c:1548:21: note: use function 'llabs' instead
                if (abs(gp - op.granulepos) > rate && (op.granulepos != old_gp)) {
                    ^~~
                    llabs
libmpdemux/demux_ogg.c:1572:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                if (sub_clear_text(&ogg_sub, 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
                        ~~~~^
20 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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/vd_xanim.o libmpcodecs/vd_xanim.c
In file included from libmpcodecs/vd_xanim.c:35:
In file included from libmpcodecs/vd_internal.h:26:
./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/vd_xanim.c:707:27: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    codec_hdr.description = codec_idx2str(sh->codec->info_idx);
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
clang -MMD -MP -D_ISOC99_SOURCE -I. -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/SDL -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 -DPIC -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -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 osdep/shmem.o osdep/shmem.c
clang -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o input/ar.o libao2/ao_coreaudio.o libvo/vo_corevideo.o libvo/osx_common.o libvo/osx_objc_common.o libvo/vo_dga.o libvo/vo_png.o libvo/vo_gif89a.o libvo/gl_common.o libvo/vo_gl.o libvo/csputils.o libvo/vo_gl_tiled.o libvo/sdl_common.o libvo/x11_common.o libvo/vo_jpeg.o libmenu/menu.o libmenu/menu_chapsel.o libmenu/menu_cmdlist.o libmenu/menu_console.o libmenu/menu_filesel.o libmenu/menu_list.o libmenu/menu_param.o libmenu/menu_pt.o libmenu/menu_txt.o libmenu/vf_menu.o libvo/vo_matrixview.o libvo/matrixview.o libvo/vo_md5sum.o udp_sync.o libvo/vo_pnm.o libao2/ao_sdl.o libvo/vo_sdl.o libvo/vo_tga.o libvo/vo_x11.o libvo/vo_xover.o libvo/vo_xv.o libvo/vo_xvmc.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-darwin.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o sub/font_load.o stream/stream_dvdnav.o stream/stream_dvd.o stream/stream_dvd_common.o libmpcodecs/ad_faad.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpdemux/demux_gif.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg.o libaf/af_ladspa.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libmpcodecs/ad_libdv.o libmpcodecs/vd_libdv.o libmpdemux/demux_rawdv.o libmpcodecs/ad_libmad.o libmpcodecs/vd_theora.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/ad_libvorbis.o libmpdemux/demux_ogg.o libmpcodecs/vd_xanim.o osdep/shmem.o -L/opt/pkg/lib -L/opt/pkg/lib/ffmpeg5 -liconv -lncurses -L/opt/pkg/lib -lgnutls -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore -lpng -lz -ljpeg -lgif -L/opt/pkg/lib -ldvdread -L/opt/pkg/lib -lfreetype -lfontconfig -lfribidi -lass -lenca -lz -lbz2 -lmad -lvorbisenc -lvorbis -logg -ltheoradec -logg -lfaad -L/opt/pkg/lib -lopus -L/opt/pkg/lib/ffmpeg5 -lswscale -lswresample -lavformat -lavcodec -lavutil -L/opt/pkg/lib/ffmpeg5 -lpostproc -ldv -L/opt/pkg/lib -L/opt/pkg/lib -ldvdnav -lpthread -lm -lx264 -framework IOKit -framework Cocoa -lXss -lXv -lXvMC -lXvMCW -lXinerama -lXxf86vm -lXxf86dga -framework Carbon -framework Cocoa -framework QuartzCore -framework OpenGL -lSDLmain -lSDL -Wl,-framework,Cocoa -lGL -framework CoreAudio -framework AudioUnit -framework AudioToolbox
Undefined symbols for architecture arm64:
  "_DPMSDisable", referenced from:
      _saver_off in x11_common.o
  "_DPMSEnable", referenced from:
      _saver_on in x11_common.o
  "_DPMSForceLevel", referenced from:
      _saver_on in x11_common.o
  "_DPMSInfo", referenced from:
      _saver_off in x11_common.o
      _saver_on in x11_common.o
  "_DPMSQueryExtension", referenced from:
      _saver_off in x11_common.o
      _saver_on in x11_common.o
  "_XAllocNamedColor", referenced from:
      _vo_hidecursor in x11_common.o
  "_XChangeProperty", referenced from:
      _vo_x11_decoration in x11_common.o
      _vo_x11_classhint in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XChangeWindowAttributes", referenced from:
      _vo_x11_create_vo_window in x11_common.o
      _config in vo_xover.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XClearWindow", referenced from:
      _vo_x11_uninit in x11_common.o
      _set_window in vo_xover.o
  "_XCloseDisplay", referenced from:
      _vo_uninit in x11_common.o
  "_XCreateBitmapFromData", referenced from:
      _vo_hidecursor in x11_common.o
  "_XCreateColormap", referenced from:
      _mpglcontext_create_window in gl_common.o
      _vo_x11_create_colormap in x11_common.o
      _config in vo_xover.o
  "_XCreateGC", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XCreateImage", referenced from:
      _vo_init in x11_common.o
      _getMyXImage in vo_x11.o
  "_XCreatePixmapCursor", referenced from:
      _vo_hidecursor in x11_common.o
  "_XCreateWindow", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
  "_XDefineCursor", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_check_events in x11_common.o
      _vo_hidecursor in x11_common.o
  "_XDestroyWindow", referenced from:
      _vo_x11_uninit in x11_common.o
  "_XDisplayName", referenced from:
      _vo_init in x11_common.o
      _preinit in vo_xvmc.o
  "_XFillRectangle", referenced from:
      _vo_x11_clearwindow in x11_common.o
      _vo_x11_clearwindow_part in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _set_window in vo_xover.o
  "_XFlush", referenced from:
      _vo_x11_clearwindow in x11_common.o
      _vo_x11_fullscreen in x11_common.o
      _vo_x11_clearwindow_part in x11_common.o
      _vo_x11_set_equalizer in x11_common.o
      _set_window in vo_xover.o
      _flip_page in vo_xv.o
      _put_xvmc_image in vo_xvmc.o
      ...
  "_XFree", referenced from:
      _config in vo_dga.o
      _uninit in vo_dga.o
      _setGlWindow_x11 in gl_common.o
      _releaseGlContext_x11 in gl_common.o
      _config_glx in vo_gl_tiled.o
      _update_xinerama_info in x11_common.o
      _vo_init in x11_common.o
      ...
  "_XFreeColors", referenced from:
      _vo_hidecursor in x11_common.o
  "_XFreeCursor", referenced from:
      _vo_hidecursor in x11_common.o
  "_XFreeGC", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XFreePixmap", referenced from:
      _vo_hidecursor in x11_common.o
  "_XGetAtomName", referenced from:
      _handle_x11_event in x11_common.o
      _vo_x11_setlayer in x11_common.o
  "_XGetErrorText", referenced from:
      _x11_errorhandler in x11_common.o
  "_XGetGeometry", referenced from:
      _vo_x11_update_geometry in x11_common.o
      _set_window in vo_xover.o
  "_XGetImage", referenced from:
      _vo_init in x11_common.o
  "_XGetVisualInfo", referenced from:
      _setGlWindow_x11 in gl_common.o
      _config_glx in vo_gl_tiled.o
      _vo_find_depth_from_visuals in x11_common.o
  "_XGetWMNormalHints", referenced from:
      _vo_x11_fullscreen in x11_common.o
  "_XGetWindowAttributes", referenced from:
      _setGlWindow_x11 in gl_common.o
      _vo_init in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _config in vo_x11.o
      _config in vo_xover.o
      _config in vo_xv.o
      _config in vo_xvmc.o
      ...
  "_XGetWindowProperty", referenced from:
      _vo_x11_decoration in x11_common.o
      _vo_x11_setlayer in x11_common.o
      _x11_get_property in x11_common.o
  "_XGrabKeyboard", referenced from:
      _config in vo_dga.o
  "_XGrabPointer", referenced from:
      _config in vo_dga.o
      _config in vo_x11.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XInstallColormap", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XInternAtom", referenced from:
      _vo_init in x11_common.o
      _vo_x11_decoration in x11_common.o
      _vo_xv_set_eq in x11_common.o
      _vo_xv_get_eq in x11_common.o
      _xv_intern_atom_if_exists in x11_common.o
      _vo_xv_init_colorkey in x11_common.o
  "_XLookupString", referenced from:
      _check_events in vo_gl_tiled.o
      _handle_x11_event in x11_common.o
  "_XMapRaised", referenced from:
      _vo_x11_fullscreen in x11_common.o
  "_XMapWindow", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XMatchVisualInfo", referenced from:
      _config in vo_x11.o
      _config in vo_xover.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XMoveResizeWindow", referenced from:
      _vo_x11_nofs_sizepos in x11_common.o
      _vo_x11_fullscreen in x11_common.o
  "_XNextEvent", referenced from:
      _check_events in vo_gl_tiled.o
      _vo_x11_uninit in x11_common.o
      _vo_x11_check_events in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XOpenDisplay", referenced from:
      _vo_init in x11_common.o
  "_XPending", referenced from:
      _check_events in vo_gl_tiled.o
      _vo_x11_check_events in x11_common.o
  "_XPutBackEvent", referenced from:
      _check_events in vo_gl_tiled.o
  "_XPutImage", referenced from:
      _flip_page in vo_x11.o
  "_XRaiseWindow", referenced from:
      _vo_x11_fullscreen in x11_common.o
  "_XResetScreenSaver", referenced from:
      _xscreensaver_heartbeat in x11_common.o
  "_XSelectInput", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
  "_XSendEvent", referenced from:
      _vo_x11_ewmh_fullscreen in x11_common.o
      _vo_x11_setlayer in x11_common.o
  "_XSetBackground", referenced from:
      _set_window in vo_xover.o
  "_XSetClassHint", referenced from:
      _vo_x11_classhint in x11_common.o
  "_XSetErrorHandler", referenced from:
      _vo_init in x11_common.o
      _vo_uninit in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
  "_XSetForeground", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _set_window in vo_xover.o
  "_XSetInputFocus", referenced from:
      _config in vo_x11.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XSetStandardProperties", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XSetTransientForHint", referenced from:
      _vo_x11_decoration in x11_common.o
  "_XSetWMNormalHints", referenced from:
      _handle_x11_event in x11_common.o
      _vo_x11_sizehint in x11_common.o
  "_XSetWMProtocols", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
  "_XShmAttach", referenced from:
      _getMyXImage in vo_x11.o
      _config in vo_xv.o
      _draw_osd in vo_xvmc.o
  "_XShmCreateImage", referenced from:
      _getMyXImage in vo_x11.o
  "_XShmDetach", referenced from:
      _freeMyXImage in vo_x11.o
      _deallocate_xvimage in vo_xv.o
      _deallocate_xvimage in vo_xvmc.o
  "_XShmGetEventBase", referenced from:
      _getMyXImage in vo_x11.o
  "_XShmPutImage", referenced from:
      _flip_page in vo_x11.o
  "_XShmQueryExtension", referenced from:
      _getMyXImage in vo_x11.o
      _config in vo_xv.o
      _draw_osd in vo_xvmc.o
  "_XStoreColors", referenced from:
      _vo_x11_create_colormap in x11_common.o
      _vo_x11_set_equalizer in x11_common.o
  "_XStoreName", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XSync", referenced from:
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
      _flip_page in vo_x11.o
      _getMyXImage in vo_x11.o
      _config in vo_xover.o
      _config in vo_xv.o
      _flip_page in vo_xv.o
      ...
  "_XTranslateCoordinates", referenced from:
      _vo_x11_update_geometry in x11_common.o
      _set_window in vo_xover.o
  "_XUngrabKeyboard", referenced from:
      _uninit in vo_dga.o
  "_XUngrabPointer", referenced from:
      _uninit in vo_dga.o
  "_XUnmapWindow", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_fullscreen in x11_common.o
  "_XVisualIDFromVisual", referenced from:
      _setGlWindow_x11 in gl_common.o
      _config in vo_x11.o
  "_XWithdrawWindow", referenced from:
      _vo_x11_fullscreen in x11_common.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:751: mplayer] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mplayer
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mplayer