MidnightBSD Magus

multimedia/mplayer

High performance media player supporting many formats

Flavor Version Run OSVersion Arch License Restricted Status
1.4.0.20200328 489 2.2 i386 gpl2 0 fail

Events

Machine Type Time Message
m2232b info 2022-06-20 22:58:10.37794 Test Started
m2232b fail 2022-06-20 23:00:42.589004 make build returned non-zero: 1
m2232b fail 2022-06-20 23:00:42.659955 Test complete.

Log

===>  Building for mplayer-1.4.0.20200328
gmake[1]: Entering directory '/magus/work/usr/mports/multimedia/mplayer/work/mplayer-export-2020-03-28'
help/help_create.sh help/help_mp-en.h UTF-8
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o command.o command.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o m_property.o m_property.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o mixer.o mixer.c
In file included from command.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
                        ~~~~^
In file included from m_property.c:33:
In file included from ./mpcommon.h:25:
./libmpdemux/demuxer.h:289:./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
11: 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'
  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
                        ~~~~^
#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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o mp_fifo.o mp_fifo.c
command.c:377: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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o mplayer.o mplayer.c
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
                        ~~~~^
In file included from mplayer.c:75:
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
                        ~~~~^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o parser-mpcmd.o parser-mpcmd.c
mplayer.c:147: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:158: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:208: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:524: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:546: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:547: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 [1763]' 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 [1763]' 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 [1763]' 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},
           ^~~~~~~
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o pnm_loader.o pnm_loader.c
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 with different sign [-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: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 with different sign [-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 with different sign [-Wpointer-sign]
            len = stream_read(mpctx->stream, buf, 4096);
                                             ^~~
./stream/stream.h:283: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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign]
            if (!strcmp(playlist_entry, filename)) // ignoring self-reference
                        ^~~~~~~~~~~~~~
/usr/include/string.h:80:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
mplayer.c:3411:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign]
            if (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { // add reference path of current file
                                                                 ^~~~~~~~~~~~~~
/usr/include/string.h:80:39: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                                          ^
mplayer.c:3412:90: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                temp = malloc((strlen(filename) - strlen(mp_basename(filename)) + strlen(playlist_entry) + 1));
                                                                                         ^~~~~~~~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mplayer.c:3416:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    strcat(temp, playlist_entry);
                                 ^~~~~~~~~~~~~~
/usr/include/string.h:75:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
mplayer.c:3426:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-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: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:3742: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:3832: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:3833: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:3841: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:4022: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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o input/input.o input/input.c
input/input.c:634: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:1470: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;
             ^~~~~~~~~~~~~~~~~
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libao2/ao_null.o libao2/ao_null.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libao2/ao_pcm.o libao2/ao_pcm.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/aspect.o libvo/aspect.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/geometry.o libvo/geometry.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/video_out.o libvo/video_out.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c
libvo/video_out.c:372: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:372: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:375: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:375: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);
                                                   ^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_null.o libvo/vo_null.c
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o sub/spuenc.o sub/spuenc.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_dga.o libvo/vo_dga.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 with different sign [-Wpointer-sign]
        pb.pixels = inbuf;
                  ^ ~~~~~
In file included from libvo/vo_dga.c:39:
/usr/local/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."
 ^
/usr/local/include/X11/extensions/xf86dga.h:10:2: warning: "include  instead." [-W#warnings]
#warning "include  instead."
 ^
libvo/vo_dga.c:254:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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);
                            ^
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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:183:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
/usr/local/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libvo/vo_png.c:186:11: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations]
    res = avcodec_encode_video2(avctx, &pkt, pic, &got_pkt);
          ^
/usr/local/include/libavcodec/avcodec.h:3728:1: note: 'avcodec_encode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libvo/vo_png.c:196:5: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
    av_free_packet(&pkt);
    ^
/usr/local/include/libavcodec/packet.h:568:1: note: 'av_free_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libvo/vo_png.c:254:5: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations]
    avcodec_register_all();
    ^
/usr/local/include/libavcodec/avcodec.h:2766:1: note: 'avcodec_register_all' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
57 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/gl_common.o libvo/gl_common.c
10 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_gl.o libvo/vo_gl.c
7 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/csputils.o libvo/csputils.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/x11_common.o libvo/x11_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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign]
        strstr(mpglGetString(GL_EXTENSIONS), "GL_ARB_vertex_program")) {
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:118:26: note: passing argument to parameter here
char    *strstr(const char *, const char *) __pure;
                            ^
libvo/gl_common.c:2795: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);
                                                 ^~~~~~~~~~~~~~~~~~
/usr/local/include/GL/glx.h:183:15: note: passing argument to parameter 'attribList' here
                                     int *attribList );
                                          ^
libvo/gl_common.c:2822:11: warning: 7 enumeration values not handled in switch: 'GLTYPE_AUTO', 'GLTYPE_W32', 'GLTYPE_SDL'... [-Wswitch]
  switch (ctx->type) {
          ^
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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign]
  const char *renderer   = mpglGetString(GL_RENDERER);
              ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~
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 with different sign [-Wpointer-sign]
                    XLookupString(&event->xkey, buf, sizeof(buf), &keySym,
                                                ^~~
/usr/local/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 with different sign [-Wpointer-sign]
                  8, PropModeReplace, title, strlen(title));
                                      ^~~~~
/usr/local/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);
                         ^~~~~~~~~~
/usr/local/include/X11/Xlib.h:2638:44: note: passing argument to parameter here
    unsigned int*       /* border_width_return */,
                                                 ^
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_gl_tiled.o libvo/vo_gl_tiled.c
5 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
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: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,
                                       ^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_matrixview.o libvo/vo_matrixview.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/matrixview.o libvo/matrixview.c
libvo/vo_matrixview.c:172: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);
                   ^~~
/usr/local/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
1 warning generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_md5sum.o libvo/vo_md5sum.c
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o udp_sync.o udp_sync.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
                        ~~~~^
In file included from udp_sync.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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libao2/ao_oss.o libao2/ao_oss.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_pnm.o libvo/vo_pnm.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_tga.o libvo/vo_tga.c
In file included from libvo/vo_pnm.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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-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 with different sign [-Wpointer-sign]
        ImageData = myximage->data;
                  ^ ~~~~~~~~~~~~~~
libvo/vo_x11.c:227:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-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);
                          ^~~
/usr/local/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
libvo/vo_vdpau.c:904:50: warning: passing 'int *' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                                 &pitch,
                                                 ^~~~~~
libvo/vo_vdpau.c:1019:40: warning: passing 'int *' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            (const void *) &i->bitmap, &i->stride, &destRect);
                                       ^~~~~~~~~~
libvo/vo_vdpau.c:1148:53: warning: passing 'int [4]' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                                    mpi->stride, &r);
                                                    ^~~~~~~~~~~
libvo/vo_vdpau.c:1161:53: warning: passing 'int [4]' to parameter of type 'const uint32_t *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                                    mpi->stride); // pitch
                                                    ^~~~~~~~~~~
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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,
                                                ^~~~~
/usr/local/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,
                                                       ^~~~~
/usr/local/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);
                            ^~~~~~
/usr/local/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);
                                    ^~~~~~
/usr/local/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);
                            ^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_xv.o libvo/vo_xv.c
14 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c
libvo/vo_xv.c:130:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign]
        mpi->planes[0] =
                       ^
libvo/vo_xv.c:502:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mpi->planes[1] =
                           ^
libvo/vo_xv.c:505:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mpi->planes[2] =
                           ^
libvo/vo_xv.c:513:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mpi->planes[1] =
                           ^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o bstr.o bstr.c
9 warnings generated.
cc -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -I/usr/local/include -o codec-cfg codec-cfg.c
bstr.c:43:27: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    int ret = strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len));
                          ^~~~~~~~~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t) __pure;
                                 ^
bstr.c:43:39: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    int ret = strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len));
                                      ^~~~~~~~~~
/usr/include/strings.h:64:44: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t) __pure;
                                               ^
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o cpudetect.o cpudetect.c
codec-cfg.c:1071:12: warning: taking the absolute value of unsigned type 'const unsigned int' has no effect [-Wabsolute-value]
        if(abs(*a)<256)
           ^
codec-cfg.c:1071:12: note: remove the call to 'abs' since unsigned values cannot be negative
        if(abs(*a)<256)
           ^~~
codec-cfg.c:1159:24: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat]
                       cod[i][j].guid.f1,
                       ^~~~~~~~~~~~~~~~~
codec-cfg.c:1173:26: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        print_char_array(codec_strs, codec_strs_len);
                         ^~~~~~~~~~
codec-cfg.c:1078:51: note: passing argument to parameter 'a' here
static void print_char_array(const unsigned char* a, int size)
                                                  ^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o edl.o edl.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o fmt-conversion.o fmt-conversion.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o m_config.o m_config.c
m_config.c:326:14: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    co->name = arg->name;
             ^ ~~~~~~~~~
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o m_option.o m_option.c
m_option.c:1332: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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o m_struct.o m_struct.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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,
                            ^~~~~~~~~
/usr/local/include/iconv.h:84: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);
                                          ^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o mp_strings.o mp_strings.c
1 warning generated.
./version.sh `cc -v 2>&1 | head -n 1 | cut -d ' ' -f 4`
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o parser-cfg.o parser-cfg.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o path.o path.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o playtree.o playtree.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
1 warning generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o subopt-helper.o subopt-helper.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af.o libaf/af.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_center.o libaf/af_center.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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_channels.o libaf/af_channels.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_comp.o libaf/af_comp.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_delay.o libaf/af_delay.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_dummy.o libaf/af_dummy.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_equalizer.o libaf/af_equalizer.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_extrastereo.o libaf/af_extrastereo.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_format.o libaf/af_format.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_gate.o libaf/af_gate.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_hrtf.o libaf/af_hrtf.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_karaoke.o libaf/af_karaoke.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_pan.o libaf/af_pan.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_scaletempo.o libaf/af_scaletempo.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_sinesuppress.o libaf/af_sinesuppress.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_stats.o libaf/af_stats.c
1 warning generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_sub.o libaf/af_sub.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_surround.o libaf/af_surround.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_sweep.o libaf/af_sweep.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_tools.o libaf/af_tools.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_volnorm.o libaf/af_volnorm.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_volume.o libaf/af_volume.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/filter.o libaf/filter.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/format.o libaf/format.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/reorder_ch.o libaf/reorder_ch.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/window.o libaf/window.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad.o libmpcodecs/ad.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.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.
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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.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 with different sign [-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 with different sign [-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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_hwmpa.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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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);
                                           ^
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 with different sign [-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 with different sign [-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 with different sign [-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);
                                                      ^
7 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.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
                        ~~~~^
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 with different sign [-Wpointer-sign]
        unsigned char *buf = sh->a_buffer + sh->a_buffer_len;
                       ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-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 with different sign [-Wpointer-sign]
    snprintf(priv->networkname,21,"%s",data+20);
             ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:297:32: note: passing argument to parameter here
int      snprintf(char * __restrict, size_t, const char * __restrict,
                                   ^
5 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/img_format.o libmpcodecs/img_format.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: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:464: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:465: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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/mp_image.o libmpcodecs/mp_image.c
9 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/pullup.o libmpcodecs/pullup.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vd_lzo.o libmpcodecs/vd_lzo.c
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mpegpes.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
                        ~~~~^
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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vd_mtga.o libmpcodecs/vd_mtga.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vd_raw.o libmpcodecs/vd_raw.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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vd_sgi.o libmpcodecs/vd_sgi.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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vd_black.o libmpcodecs/vd_black.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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf.o libmpcodecs/vf.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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_1bpp.o libmpcodecs/vf_1bpp.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_2xsai.o libmpcodecs/vf_2xsai.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_blackframe.o libmpcodecs/vf_blackframe.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_divtc.o libmpcodecs/vf_divtc.c
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 with different sign [-Wpointer-sign]
   while(fgets(lbuf, 256, p->file))
               ^~~~
/usr/include/stdio.h:256:30: note: passing argument to parameter here
char    *fgets(char * __restrict, int, FILE * __restrict);
                                ^
libmpcodecs/vf_divtc.c:413:14: warning: passing 'int8_t [256]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sscanf(lbuf, "%x %d", cbuf+n, buf+n);
             ^~~~
/usr/include/stdio.h:286:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...);
                                       ^
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_down3dright.o libmpcodecs/vf_down3dright.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_dsize.o libmpcodecs/vf_dsize.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_dvbscale.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_eq.o libmpcodecs/vf_eq.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_eq2.o libmpcodecs/vf_eq2.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_field.o libmpcodecs/vf_field.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_fil.o libmpcodecs/vf_fil.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_fixpts.o libmpcodecs/vf_fixpts.c
In file included from libmpcodecs/vf_filmdint.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
                        ~~~~^
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_flip.o libmpcodecs/vf_flip.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
                        ~~~~^
libmpcodecs/vf_filmdint.c:1334: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:1334: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
                        ~~~~^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_format.o libmpcodecs/vf_format.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_framestep.o libmpcodecs/vf_framestep.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_gradfun.o libmpcodecs/vf_gradfun.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_halfpack.o libmpcodecs/vf_halfpack.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_hue.o libmpcodecs/vf_hue.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_il.o libmpcodecs/vf_il.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ilpack.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_kerndeint.c
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_mirror.o libmpcodecs/vf_mirror.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_noformat.o libmpcodecs/vf_noformat.c
5 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_noise.o libmpcodecs/vf_noise.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_ow.o libmpcodecs/vf_ow.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_palette.o libmpcodecs/vf_palette.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c
libmpcodecs/vf_pp7.c:391:108: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-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:285: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:392:150: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-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:285: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 with different sign [-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:285: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){
                                                                                                                                    ^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_rectangle.o libmpcodecs/vf_rectangle.c
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_remove_logo.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rgbtest.c
libmpcodecs/vf_remove_logo.c:355:10: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-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,
                                      ^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_rotate.o libmpcodecs/vf_rotate.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c
libmpcodecs/vf_scale.c:440: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);
                        ^~~~
/usr/local/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
libmpcodecs/vf_scale.c:445: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);
                        ^~~~
/usr/local/include/libswscale/swscale.h:217: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(sws1, src2, src_stride, y, h, dst, dst_stride);
                        ^~~~
/usr/local/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
libmpcodecs/vf_scale.c:710: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},
                                                 ^~~~~~~~~~~~
11 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.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
                        ~~~~^
7 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
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
                        ~~~~^
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c
10 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.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
                        ~~~~^
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:446: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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c
In file included from libmpdemux/asfheader.c:32:
In file included from libmpdemux/aviprint.h:23:
In file included from libmpdemux/aviheader.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
                        ~~~~^
libmpdemux/asfheader.c:142:12: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign]
    buffer = &hdr[pos];
           ^ ~~~~~~~~~
libmpdemux/asfheader.c:441:14: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      buffer = &hdr[audio_pos];
             ^ ~~~~~~~~~~~~~~~
libmpdemux/asfheader.c:475:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    buffer = &hdr[pos];
           ^ ~~~~~~~~~
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
                        ~~~~^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c
In file included from libmpdemux/demuxer.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
                        ~~~~^
libmpdemux/demuxer.c:241: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:242: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:348: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:633:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    len = stream_read(stream, dp->buffer, len);
                              ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demuxer.c:702: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:707: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:896: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:897: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:920: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:926: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:929: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:943: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:943: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:965: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:972: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:975: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:1218:62: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    ass_process_codec_private(sh->ass_track, sh->extradata,
                                                             ^~~~~~~~~~~~~
/usr/local/include/ass/ass.h:564:56: note: passing argument to parameter 'data' here
void ass_process_codec_private(ASS_Track *track, char *data, int size);
                                                       ^
libmpdemux/demuxer.c:1405: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:1544: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:1546: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:1548: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
                        ~~~~^
8 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-Wpointer-sign]
                if(stream_read(demuxer->stream, &(priv->buf[1]), 7) < 7)
                                                ^~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                if(stream_read(demuxer->stream, &(priv->buf[2]), 6) < 6)
                                                ^~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        stream_read(demuxer->stream, &(dp->buffer[8]), len-8);
                                                     ^~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        if(stream_read(demuxer->stream,priv->buf, 8) < 8)
                                                       ^~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
7 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-Wpointer-sign]
    stream_read(demux->stream,asf->packet,asf->packetsize);
                              ^~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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: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
                        ~~~~^
libmpdemux/demux_audio.c:399:18: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream_read(s, hdr, HDR_SIZE);
                 ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:409:21: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      stream_read(s,hdr,4);
                    ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:443:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    stream_read(s, &hdr[HDR_SIZE - step], step);
                   ^~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:480:21: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      stream_read(s,hdr,3);
                    ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:511:21: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      stream_read(s,hdr,4);
                    ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:520:27: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            stream_read(s,hdr,4);
                          ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:710:21: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      stream_read(s,hdr,4);
                    ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:721:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (stream_read(s,dp->buffer + 4,l-4) != l-4)
                          ^~~~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:742:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    l = stream_read(s,dp->buffer,l);
                      ^~~~~~~~~~
./stream/stream.h:283: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:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    l = stream_read(s,dp->buffer,l);
                      ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:750: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:772:33: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    stream_read(demuxer->stream,hdr,4);
                                ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_audio.c:851: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
                        ~~~~^
24 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
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
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-Wpointer-sign]
    if (stream_read(demuxer->stream, dp->buffer, film_chunk.chunk_size) !=
                                     ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_film.c:159: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:184:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (stream_read(demuxer->stream, dp->buffer, 10) != 10)
                                       ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_film.c:188:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (stream_read(demuxer->stream, dp->buffer + 10,
                                       ^~~~~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
7 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demux_lmlm4.o libmpdemux/demux_lmlm4.c
libmpdemux/demux_fli.c:100:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream_read(demuxer->stream, header + sizeof(BITMAPINFOHEADER), 128);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
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
                        ~~~~^
16 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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:659:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    x=((char*)(&id->clutID))+2;
     ^~~~~~~~~~~~~~~~~~~~~~~~~
./loader/qtx/qtxsdk/components.h:737: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_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
                        ~~~~^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demux_mpg.o libmpdemux/demux_mpg.c
In file included from libmpdemux/demux_mkv.c:49:
./loader/qtx/qtxsdk/components.h:659:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    x=((char*)(&id->clutID))+2;
     ^~~~~~~~~~~~~~~~~~~~~~~~~
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'
./loader/qtx/qtxsdk/components.h:737:16: warning: incompatible pointer types initializing 'unsigned int *' with an expression of type 'OSType **' (aka 'int **') [-Wincompatible-pointer-types]
#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]
        unsigned int* p=cd->wantedDestinationPixelTypes;
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  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 with different sign [-Wpointer-sign]
                            stream_read(s, e.comp_settings, l);
                                           ^~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
            stream_read(demuxer->stream, dst + 8, cnt);
                                         ^~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
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_mkv.c:2649:50: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign]
                    if (stream_read(s, block, block_length) !=
                                       ^~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                    if (stream_read(s, block, block_length) !=
                                       ^~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mov.c:1452:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            stream_read(demuxer->stream,cmov_buf,cmov_sz);
                                        ^~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mov.c:1638:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      stream_read(demuxer->stream, trak->tkdata, trak->tkdata_len);
                                   ^~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mov.c:1756:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          stream_read(demuxer->stream, trak->stdata, trak->stdata_len);
                                       ^~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mov.c:2192:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    stream_read(demuxer->stream,dp->buffer+trak->stream_header_len,x);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_mpg.c:603:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    l = stream_read(demux->stream,dp->buffer,len);
                                  ^~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
  read = stream_read(s, &buf[unused], -unused);
                        ^~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
  len = stream_read(demux->stream, pack->buffer, STREAM_BUFFER_SIZE);
                                   ^~~~~~~~~~~~
./stream/stream.h:283: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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-Wpointer-sign]
    stream_read(demuxer->stream,hdr,7);
                                ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                stream_read(demuxer->stream,hdr+7,17-7);
                                            ^~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                stream_read(demuxer->stream,hdr,7);
                                            ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
        stream_read( demuxer->stream, aux, 6);
                                      ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
    stream_read(demuxer->stream,hdr,4);
                                ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
            stream_read(demuxer->stream,hdr+4,17-4);
                                        ^~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
            stream_read(demuxer->stream,hdr,17);
                                        ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
            if (stream_eof(demuxer->stream) || strncmp(hdr, "NSVs", 4))
                                                       ^~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
libmpdemux/demux_nsv.c:198:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if((demuxer->audio->id != -2) && strncmp(hdr+8,"NONE", 4)){//&&strncmp(hdr+8,"VLB ", 4)){
                                                 ^~~~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
libmpdemux/demux_nsv.c:209:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((demuxer->video->id != -2) && strncmp(hdr+4,"NONE", 4)) {
                                                  ^~~~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
libmpdemux/demux_nsv.c:240:45: warning: passing 'unsigned char [10]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                stream_read(demuxer->stream,buf,10);
                                            ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        stream_read(demuxer->stream,buf,10);
                                                    ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                            stream_read(demuxer->stream,buf,10);
                                                        ^~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
16 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
10 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c
libmpdemux/demux_pva.c:117:30: warning: passing 'uint8_t [5]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        stream_read(demuxer->stream,buffer,5);
                                    ^~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:283:25: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                stream_read(d->stream,buffer,3);
                                      ^~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:334:27: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                stream_read(d->stream,buffer,pes_head_len);
                                                      ^~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:416:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                        stream_read(demux->stream,dp->buffer,current_payload.size);
                                                                  ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
libmpdemux/demux_pva.c:447:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                        stream_read(demux->stream,dp->buffer,current_payload.size);
                                                                  ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
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 with different sign [-Wpointer-sign]
  l = stream_read(demuxer->stream,dp->buffer,l);
                                  ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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: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
                        ~~~~^
libmpdemux/demux_realaud.c:110:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        stream_read(demuxer->stream, ra_priv->audio_buf, ra_priv->sub_packet_h * ra_priv->frame_size);
                                     ^~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                stream_read(demuxer->stream, ra_priv->audio_buf + x * 2 *ra_priv->frame_size +
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
        stream_read(demuxer->stream, dp->buffer, len);
                                     ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
8 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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: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
                        ~~~~^
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 with different sign [-Wpointer-sign]
                    stream_read(demuxer->stream, dp->buffer, sub_packet_lengths[i]);
                                                 ^~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        stream_read(demuxer->stream, priv->audio_buf + x * 2 * w + spc * cfs, cfs);
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        stream_read(demuxer->stream, priv->audio_buf + sps * (sph * x + ((sph + 1) / 2) * (spc & 1) +
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                    stream_read(demuxer->stream, priv->audio_buf + spc * w, w);
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
            stream_read(demuxer->stream, dp->buffer, len);
                                         ^~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                            stream_read(demuxer->stream, dp_data+dp_hdr->len, vpkg_offset);
                                                         ^~~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        stream_read(demuxer->stream, dp_data+dp_hdr->len, len);
                                                     ^~~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                    stream_read(demuxer->stream, dp_data, len);
                                                 ^~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                stream_read(demuxer->stream, dp_data, vpkg_length);
                                             ^~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                                stream_read(demuxer->stream, sh->codecdata, sh->codecdata_len);
                                                             ^~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                                stream_read(demuxer->stream, ((unsigned char*)(sh->bih+1)), cnt);
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
9 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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:276:10: warning: 18 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch]
        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:353:71: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-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 with different sign [-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:466:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                _read = stream_read(demuxer->stream, &buf[1], buf_size-1);
                                                     ^~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        if(strncmp(pmt->es[j].lang, lang, 3) == 0)
                                   ^~~~~~~~~~~~~~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
libmpdemux/demux_ts.c:648:36: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign]
                len = stream_read(stream, &packet[1], 3);
                                          ^~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                                stream_read(stream, pcrbuf, c);
                                                    ^~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                        p = &packet[base];
                          ^ ~~~~~~~~~~~~~
libmpdemux/demux_ts.c:3041:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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
                        ~~~~^
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-Wpointer-sign]
   count = stream_read( demux->stream, buff, CHUNKSIZE );
                                       ^~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
         readSize = stream_read( demux->stream, chunk, CHUNKSIZE );
                                                ^~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
                     readSize = stream_read( demux->stream, chunk, CHUNKSIZE );
                                                            ^~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
      readSize = stream_read( demux->stream, chunk, CHUNKSIZE );
                                             ^~~~~
./stream/stream.h:283: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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demux_ty_osd.o libmpdemux/demux_ty_osd.c
25 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-Wpointer-sign]
    stream_read(demuxer->stream,buf,len);
                                ^~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
    if(strncmp(buf+i,"Version:Vivo/",13)) return 0; // bad version/type!
               ^~~~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
libmpdemux/demux_viv.c:420:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        stream_read(demux->stream,dp->buffer+dp->len,len);
                                  ^~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
      stream_read(demux->stream,dp->buffer,len);
                                ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
16 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c
libmpdemux/demux_vqf.c:200:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  l=stream_read(demuxer->stream,dp->buffer,l);
                                ^~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
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 with different sign [-Wpointer-sign]
    stream_read(demux->stream, buf[0], size);
                               ^~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
    stream_read(demux->stream, buf[1], size/4);
                               ^~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
    stream_read(demux->stream, buf[2], size/4);
                               ^~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
4 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/ebml.o libmpdemux/ebml.c
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
7 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/mf.o libmpdemux/mf.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/mp3_hdr.o libmpdemux/mp3_hdr.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_hdr.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/video.o libmpdemux/video.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 with different sign [-Wpointer-sign]
    stream_read(s, esds->decoderConfig, esds->decoderConfigLen);
                   ^~~~~~~~~~~~~~~~~~~
./stream/stream.h:283: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 with different sign [-Wpointer-sign]
    stream_read(s, esds->SLConfig, esds->SLConfigLen);
                   ^~~~~~~~~~~~~~
./stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
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
                        ~~~~^
2 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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 with different sign [-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 with different sign [-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 with different sign [-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)
                                    ^
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o osdep/getch2.o osdep/getch2.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o osdep/timer-linux.o osdep/timer-linux.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/open.o stream/open.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream.o stream/stream.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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_bd.o stream/stream_bd.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_cue.o stream/stream_cue.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 with different sign [-Wpointer-sign]
  rd = s->write_buffer(s, buf, len);
                          ^~~
In file included from stream/stream_bd.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
                        ~~~~^
stream/stream_bd.c:185:35: warning: passing 'char [1024]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    while (stream_read_line(file, line, sizeof(line), 0)) {
                                  ^~~~
stream/stream.h:302: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:246:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    stream_read(file, buf, file_size);
                      ^~~
stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
stream/stream_bd.c:306:44: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    read_len = stream_read(bd->title_file, buf, len);
                                           ^~~
stream/stream.h:283:50: note: passing argument to parameter 'mem' here
static inline int stream_read(stream_t *s, char *mem, int total)
                                                 ^
stream/stream_bd.c:349:28: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    read_len = bd_read(bd, buf, len);
                           ^~~
stream/stream_bd.c:298:53: note: passing argument to parameter 'buf' here
static int64_t bd_read(struct bd_priv *bd, uint8_t *buf, int len)
                                                    ^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_file.o stream/stream_file.c
5 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_mf.o stream/stream_mf.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 with different sign [-Wpointer-sign]
    int len=s->fill_buffer(s,s->buffer,STREAM_BUFFER_SIZE);
                             ^~~~~~~~~
stream/stream_file.c:159:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    filename = p->filename;
             ^ ~~~~~~~~~~~
stream/stream_file.c:161:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    filename = p->filename2;
             ^ ~~~~~~~~~~~~
stream/stream_file.c:178:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if(!strcmp(filename,"-")){
             ^~~~~~~~
/usr/include/string.h:80:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
stream/stream_file.c:199:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      f=open(filename,m, openmode);
             ^~~~~~~~
/usr/include/fcntl.h:319:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
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
                        ~~~~^
8 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_null.o stream/stream_null.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/url.o stream/url.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o sub/eosd.o sub/eosd.c
7 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o sub/find_sub.o sub/find_sub.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
                        ~~~~^
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.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o sub/osd.o sub/osd.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o sub/spudec.o sub/spudec.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/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/spudec.c:897: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);
                      ^~~
/usr/local/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
                                                         ^
sub/spudec.c:1277:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strncmp(ptr, "size: ", 6))
                 ^~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
sub/spudec.c:1278:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sscanf(ptr + 6, "%dx%d", &this->orig_frame_width, &this->orig_frame_height);
               ^~~~~~~
/usr/include/stdio.h:286:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...);
                                       ^
sub/spudec.c:1279:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strncmp(ptr, "palette: ", 9) &&
                 ^~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
sub/spudec.c:1280:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sscanf(ptr + 9, "%x, %x, %x, %x, %x, %x, %x, %x, "
               ^~~~~~~
/usr/include/stdio.h:286:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...);
                                       ^
sub/spudec.c:1290:22: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strncasecmp(ptr, "forced subs: on", 15))
                     ^~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t) __pure;
                                 ^
sub/spudec.c:1292:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strncmp(ptr, "custom colors: ON, tridx: ", 26) &&
                 ^~~
/usr/include/string.h:100:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
sub/spudec.c:1293:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sscanf(ptr + 26, "%x, colors: %x, %x, %x, %x",
               ^~~~~~~~
/usr/include/stdio.h:286:36: note: passing argument to parameter here
int      sscanf(const char * __restrict, const char * __restrict, ...);
                                       ^
sub/spudec.c:1302:24: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  } while ((ptr=strchr(ptr,'\n')) && *++ptr);
                       ^~~
/usr/include/string.h:76:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
sub/spudec.c:1302:16: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  } while ((ptr=strchr(ptr,'\n')) && *++ptr);
               ^~~~~~~~~~~~~~~~~
sub/spudec.c:1435:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (pts != MP_NOPTS_VALUE)
             ^~~~~~~~~~~~~~
sub/spudec.c:1372:29: note: 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:1437:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
  if (endpts != MP_NOPTS_VALUE)
                ^~~~~~~~~~~~~~
sub/spudec.c:1372:29: note: 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 with different sign [-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 with different sign [-Wpointer-sign]
        cp=vo_osd_text;
          ^~~~~~~~~~~~
sub/sub.c:717:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-Wpointer-sign]
            char_seq = calloc(strlen(t), sizeof(int));
                                     ^
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
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 with different sign [-Wpointer-sign]
                 t += strlen(t); // end here
                             ^
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o sub/sub_cc.o sub/sub_cc.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o sub/subreader.o sub/subreader.c
In file included from sub/subreader.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/subreader.c:142:37: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0;
                                           ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:142:14: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0;
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub/subreader.c:249:49: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) {
                                                       ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:249:25: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) {
                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sub/subreader.c:313:29: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:337:29: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:354:29: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:359:29: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:387:35: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!stream_read_line(st, line, LINE_LEN, utf16))
                                  ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:402:39: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!stream_read_line(st, line, LINE_LEN, utf16))
                                      ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:446:29: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:453:33: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!stream_read_line (st, line, LINE_LEN, utf16)) break;
                                       ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:498:36: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                   ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:505:40: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!stream_read_line (st, line, LINE_LEN, utf16)) break;
                                       ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:531:30: warning: passing 'char [1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL;
                                           ^~~~
./stream/stream.h:302:63: note: passing argument to parameter 'mem' here
static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem,
                                                              ^
sub/subreader.c:570:21: warning: passing 'uint8_t [1001]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    } while (sscanf(part, "= endpts)) {
               ^~~~~~~~~~~~~~
sub/subreader.c:2634:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63)
                        ~~~~^
sub/subreader.c:2647: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:2634:29: note: expanded from macro 'MP_NOPTS_VALUE'
#define MP_NOPTS_VALUE (-1LL<<63)
                        ~~~~^
In file included from sub/vobsub.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
                        ~~~~^
9 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_dvdnav.o stream/stream_dvdnav.c
sub/vobsub.c:1071:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while (lang && strlen(lang) >= 2) {
                          ^~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
sub/vobsub.c:1074:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((strncmp(vob->spu_streams[i].id, lang, 2) == 0)) {
                                                     ^~~~
/usr/include/string.h:100:40: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                                           ^
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
                        ~~~~^
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 with different sign [-Wpointer-sign]
    dvdnav_get_next_block(priv->dvdnav,buf,&event,&len);
                                       ^~~
/usr/local/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));
                                              ^~~~~~~~~~~~~~~~
/usr/local/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)
                                               ^~~~~
/usr/local/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)
                                                      ^~~~~~~
/usr/local/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)
                                               ^~~~~
/usr/local/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)
                                                      ^~~~~~~
/usr/local/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)
                                               ^~~~~
/usr/local/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)
                                                      ^~~~~~~
/usr/local/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);
                                              ^~~~~~~
/usr/local/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 with different sign [-Wpointer-sign]
  while(language && strlen(language)>=2) {
                           ^~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
stream/stream_dvdnav.c:797:28: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  while(language && strlen(language)>=2) {
                           ^~~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
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);
                                             ^~~~~~~
/usr/local/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);
                                                                     ^
15 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_dvd.o stream/stream_dvd.c
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 with different sign [-Wpointer-sign]
    while(strlen(lang)>=2) {
                 ^~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
stream/stream_dvd.c:176:24: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  while(lang && strlen(lang)>=2) {
                       ^~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
stream/stream_dvd.c:385:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-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)
                                                         ^
5 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libvo/aclib.o libvo/aclib.c
6 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o av_helpers.o av_helpers.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o av_opts.o av_opts.c
av_helpers.c:101:9: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations]
        avcodec_register_all();
        ^
/usr/local/include/libavcodec/avcodec.h:2766:1: note: 'avcodec_register_all' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:112:9: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
        av_register_all();
        ^
/usr/local/include/libavformat/avformat.h:1954:1: note: 'av_register_all' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
av_helpers.c:155:9: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations]
    n = avcodec_encode_audio2(ctx, &pkt, frame, &got);
        ^
/usr/local/include/libavcodec/avcodec.h:3687:1: note: 'avcodec_encode_audio2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c
3 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c
37 warnings generated.
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.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));
                             ^~~~~~~~~~~~~
/usr/local/include/libavutil/mem.h:413: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));
                            ^~~~~~~~~~~~
/usr/local/include/libavutil/mem.h:413: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);
                                                            ^~~~~~~~~
/usr/local/include/libswresample/swresample.h:307:49: note: passing argument to parameter 'in' here
                                const uint8_t **in , int in_count);
                                                ^
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:174:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-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:342:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
        av_init_packet(&pkt);
        ^
/usr/local/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_ffmpeg.c:349:4: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
        y=avcodec_decode_audio4(sh_audio->context, frame, &got_frame, &pkt);
          ^
/usr/local/include/libavcodec/avcodec.h:3046:1: note: 'avcodec_decode_audio4' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
3 warnings generated.
libmpcodecs/ad_ffmpeg.c:328: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:345: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
                        ~~~~^
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c
cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -fno-strict-aliasing -mstack-alignment=16 -mstackrealign -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include  -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include -I/usr/local/include  -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include  -I/usr/local/include  -I/usr/local/include  -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.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
                        ~~~~^
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
                        ~~~~^
libmpcodecs/ad_spdif.c:129:35: warning: 'codec' is deprecated [-Wdeprecated-declarations]
            lavf_ctx->streams[0]->codec->codec_id = fmt_id_type[i].id;
                                  ^
/usr/local/include/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_spdif.c:164:35: warning: 'codec' is deprecated [-Wdeprecated-declarations]
    switch (lavf_ctx->streams[0]->codec->codec_id) {
                                  ^
/usr/local/include/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
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);
        ^
/usr/local/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/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
                        ~~~~^
libmpcodecs/ad_spdif.c:302:45: warning: 'codec' is deprecated [-Wdeprecated-declarations]
            av_freep(&lavf_ctx->streams[0]->codec);
                                            ^
/usr/local/include/libavformat/avformat.h:887:5: note: 'codec' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/ad_spdif.c:303:45: error: no member named 'info' in 'struct AVStream'
            av_freep(&lavf_ctx->streams[0]->info);
                      ~~~~~~~~~~~~~~~~~~~~  ^
10 warnings and 1 error generated.
gmake[1]: *** [Makefile:725: libmpcodecs/ad_spdif.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
libmpcodecs/vd_ffmpeg.c:234:17: warning: 485 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:487:12: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations]
    avctx->refcounted_frames = 1;
           ^
/usr/local/include/libavcodec/avcodec.h:1367:5: note: 'refcounted_frames' has been explicitly marked deprecated here
    attribute_deprecated
    ^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:742:24: warning: incompatible integer to pointer conversion assigning to 'unsigned char *' from 'VdpVideoSurface' (aka 'unsigned int') [-Wint-conversion]
        mpi->planes[3] = surface;
                       ^ ~~~~~~~
8 warnings generated.
libmpcodecs/vd_ffmpeg.c:900:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
    av_init_packet(&pkt);
    ^
/usr/local/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:905:5: warning: 'av_packet_split_side_data' is deprecated [-Wdeprecated-declarations]
    av_packet_split_side_data(&pkt);
    ^
/usr/local/include/libavcodec/packet.h:637:1: note: 'av_packet_split_side_data' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:928:11: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations]
    ret = avcodec_decode_video2(avctx, pic, &got_picture, &pkt);
          ^
/usr/local/include/libavcodec/avcodec.h:3095:1: note: 'avcodec_decode_video2' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:974:25: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations]
            int8_t *q = av_frame_get_qp_table(pic, &qstride, &dummy);
                        ^
/usr/local/include/libavutil/frame.h:742:1: note: 'av_frame_get_qp_table' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:1019: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
                   ^~~~~~~~~~~~~~~
libmpcodecs/vd_ffmpeg.c:1071:19: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations]
    mpi->qscale = av_frame_get_qp_table(pic, &mpi->qstride, &mpi->qscale_type);
                  ^
/usr/local/include/libavutil/frame.h:742:1: note: 'av_frame_get_qp_table' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
libmpcodecs/vd_ffmpeg.c:1071:17: warning: assigning to 'char *' from 'int8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    mpi->qscale = av_frame_get_qp_table(pic, &mpi->qstride, &mpi->qscale_type);
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 warnings generated.
gmake[1]: Leaving directory '/magus/work/usr/mports/multimedia/mplayer/work/mplayer-export-2020-03-28'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/multimedia/mplayer