=>> Building multimedia/mencoder build started at Sat Mar 30 07:22:14 GMT 2024 port directory: /usr/ports/multimedia/mencoder package name: mencoder-1.5.0.20240106 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: riggs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3130 Mar 7 22:02 /usr/ports/multimedia/mencoder/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: a995b8b0ab Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 18 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/18/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for mencoder-1.5.0.20240106: AMR_NB=off: AMR Narrow Band audio support (opencore) AMR_WB=off: AMR Wide Band audio support (opencore) ASS=on: Subtitles rendering via libass BLURAY=on: BluRay support CDIO=off: CDIO support via libcdio DV=off: Quasar DV video codec support (libdv) DVDNAV=on: DVD navigation features support FAAC=on: FAAC AAC encoder support FONTCONFIG=off: X11 font configuration support FRIBIDI=off: Bidirectional text support via GNU FriBidi GIF=on: GIF image format support GNUTLS=on: SSL/TLS support via GnuTLS GSM=on: GSM codec support IPV6=on: IPv6 protocol support JACK=off: JACK audio server support JPEG=on: JPEG image format support LADSPA=on: LADSPA audio plugins support LIBMNG=on: MNG animated images support via libmng LZO=on: Enable external liblzo library MAD=off: MAD MP3 audio decoder support NAS=off: Network Audio System support NLS=on: Native Language Support OPENAL=off: Audio support via OpenAL OPENJPEG=off: Enhanced JPEG graphics support OPUS=off: Opus audio codec support PULSEAUDIO=off: PulseAudio sound server support RTCPU=on: Use runtime CPU detection RTMP=on: RTMP protocol support via librtmp SMB=on: SMB network protocol support SPEEX=off: Speex audio format support THEORA=off: Ogg Theora video codec support TWOLAME=off: TwoLAME MP2 audio encoder support V4L=off: Video 4 Linux support VPX=on: VP8/VP9 video codec support X264=on: H.264 video codec support via x264 XVID=on: Xvid MPEG-4 video codec support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- riggs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --cc="cc" --host-cc="cc" --as="as" --mandir="/usr/local/share/man" --extra-cflags="-I/usr/local/include -I/usr/local/include" --extra-libs="-L/usr/local/lib" --disable-alsa --disable-ass-internal --disable-bitmap-font --disable-crystalhd --disable-esd --disable-faad --disable-ffmpeg_a --disable-ggi --disable-ggiwmh --disable-liba52 --disable-libbs2b --disable-libilbc --disable-libnut --disable-libvorbis --disable-live --disable-joystick --disable-mad --disable-libmpeg2 --disable-nemesi --disable-real --yasm='' --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-libcdio --disable-libdv --disable-fontconfig --disable-fribidi --disable-jack --disable-nas --enable-nls --disable-openal --disable-libopenjpeg --disable-libopus --disable-pulse --enable-runtime-cpudetection --extra-ldflags="-L/usr/local/lib/samba4" --disable-speex --disable-theora --disable-twolame --disable-tv-v4l1 --disable-tv-v4l2 --enable-libvpx-lavc --disable-mplayer --disable-libdca --disable-x11 --disable-vdpau --disable-rtc --disable-arts --disable-caca --disable-lirc --disable-sdl --disable-svga --disable-aa --disable-joystick --disable-directfb --disable-mpg123 --disable-enca --disable-musepack --disable-sndio --disable-win32dll --disable-qtx --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06" PKG_CONFIG_PATH="/usr/local/ffmpeg4/libdata/pkgconfig" MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work/.cache HOME=/wrkdirs/usr/ports/multimedia/mencoder/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/multimedia/mencoder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/mencoder/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- PKG_CONFIG_PATH="/usr/local/ffmpeg4/libdata/pkgconfig" XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/mencoder/work/.cache HOME=/wrkdirs/usr/ports/multimedia/mencoder/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/multimedia/mencoder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/mencoder/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mencoder" EXAMPLESDIR="share/examples/mencoder" DATADIR="share/mplayer" WWWDIR="www/mencoder" ETCDIR="etc/mencoder" --End PLIST_SUB-- --SUB_LIST-- PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mplayer DOCSDIR=/usr/local/share/doc/mencoder EXAMPLESDIR=/usr/local/share/examples/mencoder WWWDIR=/usr/local/www/mencoder ETCDIR=/usr/local/etc/mencoder --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mencoder-1.5.0.20240106 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> mencoder-1.5.0.20240106 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mencoder-1.5.0.20240106 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 ===> Fetching all distfiles required by mencoder-1.5.0.20240106 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 ===> Fetching all distfiles required by mencoder-1.5.0.20240106 for building => SHA256 Checksum OK for mplayer-1.5.0.20240106.tar.xz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 N - O - T - E There are some knobs which *can* *not* be selected via the OPTIONS framework. At the moment, these settings are: DEFAULT_DVD_DEVICE=/dev/cd0 DEFAULT_CDROM_DEVICE=/dev/cd0 ===> Fetching all distfiles required by mencoder-1.5.0.20240106 for building ===> Extracting for mencoder-1.5.0.20240106 => SHA256 Checksum OK for mplayer-1.5.0.20240106.tar.xz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mencoder-1.5.0.20240106 ===> Applying extra patch /usr/ports/multimedia/mencoder/../mplayer/files/extra-patch-clang-version ===> Applying FreeBSD patches for mencoder-1.5.0.20240106 from /usr/ports/multimedia/mencoder/../mplayer/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mencoder-1.5.0.20240106 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> mencoder-1.5.0.20240106 depends on package: gmake>=4.4.1 - found ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.1.1,1.pkg [pkg-builder.dan.net.uk] Installing pkgconf-2.1.1,1... [pkg-builder.dan.net.uk] Extracting pkgconf-2.1.1,1: .......... done ===> mencoder-1.5.0.20240106 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on package: gettext-runtime>=0.22_1 - found ===> mencoder-1.5.0.20240106 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.22.3_1.pkg [pkg-builder.dan.net.uk] Installing gettext-tools-0.22.3_1... [pkg-builder.dan.net.uk] `-- Installing libtextstyle-0.22.3... [pkg-builder.dan.net.uk] `-- Extracting libtextstyle-0.22.3: .......... done [pkg-builder.dan.net.uk] Extracting gettext-tools-0.22.3_1: .......... done ===> mencoder-1.5.0.20240106 depends on executable: msgfmt - found ===> Returning to build of mencoder-1.5.0.20240106 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mencoder-1.5.0.20240106 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.43.pkg [pkg-builder.dan.net.uk] Installing png-1.6.43... [pkg-builder.dan.net.uk] Extracting png-1.6.43: .......... done ===> mencoder-1.5.0.20240106 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libavcodec.so.58 - not found ===> Installing existing package /packages/All/ffmpeg4-4.4.4_12.pkg [pkg-builder.dan.net.uk] Installing ffmpeg4-4.4.4_12... [pkg-builder.dan.net.uk] `-- Installing aom-3.8.2... [pkg-builder.dan.net.uk] | `-- Installing vmaf-3.0.0... [pkg-builder.dan.net.uk] | `-- Extracting vmaf-3.0.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting aom-3.8.2: .......... done [pkg-builder.dan.net.uk] `-- Installing dav1d-1.4.0... [pkg-builder.dan.net.uk] `-- Extracting dav1d-1.4.0: .......... done [pkg-builder.dan.net.uk] `-- Installing fontconfig-2.15.0_2,1... [pkg-builder.dan.net.uk] | `-- Installing expat-2.6.1... [pkg-builder.dan.net.uk] | `-- Extracting expat-2.6.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing freetype2-2.13.2... [pkg-builder.dan.net.uk] | `-- Extracting freetype2-2.13.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting fontconfig-2.15.0_2,1: .......... done [pkg-builder.dan.net.uk] `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing gnutls-3.7.10_2... [pkg-builder.dan.net.uk] | `-- Installing libidn2-2.3.7... [pkg-builder.dan.net.uk] | | `-- Installing libunistring-1.2... [pkg-builder.dan.net.uk] | | `-- Extracting libunistring-1.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libidn2-2.3.7: .......... done [pkg-builder.dan.net.uk] | `-- Installing libtasn1-4.19.0_1... [pkg-builder.dan.net.uk] | `-- Extracting libtasn1-4.19.0_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing nettle-3.9.1... [pkg-builder.dan.net.uk] | | `-- Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting openssl-3.0.13_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting nettle-3.9.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing p11-kit-0.25.3_1... [pkg-builder.dan.net.uk] | | `-- Installing glib-2.80.0,2... [pkg-builder.dan.net.uk] | | `-- Installing libffi-3.4.4_1... [pkg-builder.dan.net.uk] | | `-- Extracting libffi-3.4.4_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] | | `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing pcre2-10.43... [pkg-builder.dan.net.uk] | | | `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] | | | `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting pcre2-10.43: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-packaging-23.2... [pkg-builder.dan.net.uk] | | | `-- Installing python39-3.9.18_1... [pkg-builder.dan.net.uk] | | | `-- Installing mpdecimal-2.5.1... [pkg-builder.dan.net.uk] | | | `-- Extracting mpdecimal-2.5.1: .......... done [pkg-builder.dan.net.uk] | | | `-- Extracting python39-3.9.18_1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py39-packaging-23.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting glib-2.80.0,2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting p11-kit-0.25.3_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing unbound-1.19.3... [pkg-builder.dan.net.uk] | | `-- Installing libnghttp2-1.60.0... [pkg-builder.dan.net.uk] | | `-- Extracting libnghttp2-1.60.0: ....... done ===> Creating groups. Using existing group 'unbound'. ===> Creating users Using existing user 'unbound'. [pkg-builder.dan.net.uk] | `-- Extracting unbound-1.19.3: .......... done [pkg-builder.dan.net.uk] `-- Extracting gnutls-3.7.10_2: .......... done [pkg-builder.dan.net.uk] `-- Installing lame-3.100_5... [pkg-builder.dan.net.uk] `-- Extracting lame-3.100_5: .......... done [pkg-builder.dan.net.uk] `-- Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] | `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libX11-1.8.7_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libass-0.17.1_1... [pkg-builder.dan.net.uk] | `-- Installing fribidi-1.0.13_1... [pkg-builder.dan.net.uk] | `-- Extracting fribidi-1.0.13_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing harfbuzz-8.3.0... [pkg-builder.dan.net.uk] | | `-- Installing graphite2-1.3.14... [pkg-builder.dan.net.uk] | | `-- Extracting graphite2-1.3.14: .......... done [pkg-builder.dan.net.uk] | `-- Extracting harfbuzz-8.3.0: .......... done [pkg-builder.dan.net.uk] | `-- Installing libunibreak-5.1,1... [pkg-builder.dan.net.uk] | `-- Extracting libunibreak-5.1,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libass-0.17.1_1: ....... done [pkg-builder.dan.net.uk] `-- Installing libdrm-2.4.120_1,1... [pkg-builder.dan.net.uk] | `-- Installing libpciaccess-0.18... [pkg-builder.dan.net.uk] | `-- Extracting libpciaccess-0.18: ..... done [pkg-builder.dan.net.uk] `-- Extracting libdrm-2.4.120_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libv4l-1.23.0_3... [pkg-builder.dan.net.uk] | `-- Installing argp-standalone-1.5.0... [pkg-builder.dan.net.uk] | `-- Extracting argp-standalone-1.5.0: ..... done [pkg-builder.dan.net.uk] | `-- Installing jpeg-turbo-3.0.2... [pkg-builder.dan.net.uk] | `-- Extracting jpeg-turbo-3.0.2: .......... done [pkg-builder.dan.net.uk] | `-- Installing libudev-devd-0.5.2... [pkg-builder.dan.net.uk] | `-- Extracting libudev-devd-0.5.2: ..... done [pkg-builder.dan.net.uk] `-- Extracting libv4l-1.23.0_3: .......... done [pkg-builder.dan.net.uk] `-- Installing libva-2.21.0... [pkg-builder.dan.net.uk] | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.0_1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.0_1: ....... done [pkg-builder.dan.net.uk] | `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] | `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] | `-- Installing wayland-1.22.0... [pkg-builder.dan.net.uk] | | `-- Installing libepoll-shim-0.0.20230411... [pkg-builder.dan.net.uk] | | `-- Extracting libepoll-shim-0.0.20230411: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libxml2-2.11.7... [pkg-builder.dan.net.uk] | | `-- Extracting libxml2-2.11.7: .......... done [pkg-builder.dan.net.uk] | `-- Extracting wayland-1.22.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libva-2.21.0: .......... done [pkg-builder.dan.net.uk] `-- Installing libvdpau-1.5... [pkg-builder.dan.net.uk] `-- Extracting libvdpau-1.5: .......... done [pkg-builder.dan.net.uk] `-- Installing libvorbis-1.3.7_2,3... [pkg-builder.dan.net.uk] | `-- Installing libogg-1.3.5,4... [pkg-builder.dan.net.uk] | `-- Extracting libogg-1.3.5,4: .......... done [pkg-builder.dan.net.uk] `-- Extracting libvorbis-1.3.7_2,3: .......... done [pkg-builder.dan.net.uk] `-- Installing libvpx-1.14.0... [pkg-builder.dan.net.uk] `-- Extracting libvpx-1.14.0: .......... done [pkg-builder.dan.net.uk] `-- Installing libx264-0.164.3095... [pkg-builder.dan.net.uk] `-- Extracting libx264-0.164.3095: ...... done [pkg-builder.dan.net.uk] `-- Installing opus-1.5.1... [pkg-builder.dan.net.uk] `-- Extracting opus-1.5.1: .......... done [pkg-builder.dan.net.uk] `-- Installing svt-av1-2.0.0... [pkg-builder.dan.net.uk] `-- Extracting svt-av1-2.0.0: .......... done [pkg-builder.dan.net.uk] `-- Installing webp-1.3.2_1... [pkg-builder.dan.net.uk] | `-- Installing freeglut-3.2.1... [pkg-builder.dan.net.uk] | | `-- Installing libGLU-9.0.2_2... [pkg-builder.dan.net.uk] | | `-- Extracting libGLU-9.0.2_2: ..... done [pkg-builder.dan.net.uk] | | `-- Installing libICE-1.1.0_2,1... [pkg-builder.dan.net.uk] | | `-- Extracting libICE-1.1.0_2,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXi-1.8_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting libXi-1.8_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXrandr-1.5.2_1... [pkg-builder.dan.net.uk] | | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] | | `-- Extracting libXrandr-1.5.2_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXxf86vm-1.1.4_4... [pkg-builder.dan.net.uk] | | `-- Extracting libXxf86vm-1.1.4_4: .......... done [pkg-builder.dan.net.uk] | `-- Extracting freeglut-3.2.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing giflib-5.2.1_1... [pkg-builder.dan.net.uk] | `-- Extracting giflib-5.2.1_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing tiff-4.4.0_3... [pkg-builder.dan.net.uk] | | `-- Installing jbigkit-2.1_2... [pkg-builder.dan.net.uk] | | `-- Extracting jbigkit-2.1_2: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libdeflate-1.19... [pkg-builder.dan.net.uk] | | `-- Extracting libdeflate-1.19: .......... done [pkg-builder.dan.net.uk] | | `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting tiff-4.4.0_3: .......... done [pkg-builder.dan.net.uk] `-- Extracting webp-1.3.2_1: .......... done [pkg-builder.dan.net.uk] `-- Installing x265-3.5_1... [pkg-builder.dan.net.uk] | `-- Installing svt-hevc-1.5.1_1... [pkg-builder.dan.net.uk] | `-- Extracting svt-hevc-1.5.1_1: ....... done [pkg-builder.dan.net.uk] `-- Extracting x265-3.5_1: .......... done [pkg-builder.dan.net.uk] Extracting ffmpeg4-4.4.4_12: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ===== Message from freetype2-2.13.2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===== Message from python39-3.9.18_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 ===== Message from wayland-1.22.0: -- Wayland requires XDG_RUNTIME_DIR to be defined to a path that will contain "wayland-%d" unix(4) sockets. This is usually handled by consolekit2 (via ck-launch-session) or pam_xdg (via login). ===== Message from freeglut-3.2.1: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. ===> mencoder-1.5.0.20240106 depends on shared library: libavcodec.so.58 - found (/usr/local/ffmpeg4/lib/libavcodec.so.58) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> mencoder-1.5.0.20240106 depends on shared library: libass.so - found (/usr/local/lib/libass.so) ===> mencoder-1.5.0.20240106 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so) ===> mencoder-1.5.0.20240106 depends on shared library: libbluray.so - not found ===> Installing existing package /packages/All/libbluray-1.3.4,1.pkg [pkg-builder.dan.net.uk] Installing libbluray-1.3.4,1... [pkg-builder.dan.net.uk] Extracting libbluray-1.3.4,1: .......... done ===> mencoder-1.5.0.20240106 depends on shared library: libbluray.so - found (/usr/local/lib/libbluray.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libdvdnav.so - not found ===> Installing existing package /packages/All/libdvdnav-6.1.1.pkg [pkg-builder.dan.net.uk] Installing libdvdnav-6.1.1... [pkg-builder.dan.net.uk] `-- Installing libdvdread-6.1.3... [pkg-builder.dan.net.uk] `-- Extracting libdvdread-6.1.3: .......... done [pkg-builder.dan.net.uk] Extracting libdvdnav-6.1.1: .......... done ===> mencoder-1.5.0.20240106 depends on shared library: libdvdnav.so - found (/usr/local/lib/libdvdnav.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libdvdread.so - found (/usr/local/lib/libdvdread.so) ===> mencoder-1.5.0.20240106 depends on shared library: libfaac.so - not found ===> Installing existing package /packages/All/faac-1.30_1.pkg [pkg-builder.dan.net.uk] Installing faac-1.30_1... [pkg-builder.dan.net.uk] Extracting faac-1.30_1: ........ done ===> mencoder-1.5.0.20240106 depends on shared library: libfaac.so - found (/usr/local/lib/libfaac.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> mencoder-1.5.0.20240106 depends on shared library: libgnutls.so - found (/usr/local/lib/libgnutls.so) ===> mencoder-1.5.0.20240106 depends on shared library: libgsm.so - not found ===> Installing existing package /packages/All/gsm-1.0.22_1.pkg [pkg-builder.dan.net.uk] Installing gsm-1.0.22_1... [pkg-builder.dan.net.uk] Extracting gsm-1.0.22_1: .......... done ===== Message from gsm-1.0.22_1: -- ===> NOTICE: The gsm port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> mencoder-1.5.0.20240106 depends on shared library: libgsm.so - found (/usr/local/lib/libgsm.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libmng.so - not found ===> Installing existing package /packages/All/libmng-2.0.3_1.pkg [pkg-builder.dan.net.uk] Installing libmng-2.0.3_1... [pkg-builder.dan.net.uk] `-- Installing lcms2-2.16_1... [pkg-builder.dan.net.uk] `-- Extracting lcms2-2.16_1: .......... done [pkg-builder.dan.net.uk] Extracting libmng-2.0.3_1: ......... done ===> mencoder-1.5.0.20240106 depends on shared library: libmng.so - found (/usr/local/lib/libmng.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: liblzo2.so - not found ===> Installing existing package /packages/All/lzo2-2.10_1.pkg [pkg-builder.dan.net.uk] Installing lzo2-2.10_1... [pkg-builder.dan.net.uk] Extracting lzo2-2.10_1: .......... done ===> mencoder-1.5.0.20240106 depends on shared library: liblzo2.so - found (/usr/local/lib/liblzo2.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: librtmp.so - not found ===> Installing existing package /packages/All/librtmp-2.4.20190330_1.pkg [pkg-builder.dan.net.uk] Installing librtmp-2.4.20190330_1... [pkg-builder.dan.net.uk] Extracting librtmp-2.4.20190330_1: ......... done ===> mencoder-1.5.0.20240106 depends on shared library: librtmp.so - found (/usr/local/lib/librtmp.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libvpx.so - found (/usr/local/lib/libvpx.so) ===> mencoder-1.5.0.20240106 depends on shared library: libx264.so - found (/usr/local/lib/libx264.so) ===> mencoder-1.5.0.20240106 depends on shared library: libxvidcore.so - not found ===> Installing existing package /packages/All/xvid-1.3.7,1.pkg [pkg-builder.dan.net.uk] Installing xvid-1.3.7,1... [pkg-builder.dan.net.uk] Extracting xvid-1.3.7,1: ..... done ===> mencoder-1.5.0.20240106 depends on shared library: libxvidcore.so - found (/usr/local/lib/libxvidcore.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> mencoder-1.5.0.20240106 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> mencoder-1.5.0.20240106 depends on shared library: libsmbclient.so - not found ===> Installing existing package /packages/All/samba413-4.13.17_9.pkg [pkg-builder.dan.net.uk] Installing samba413-4.13.17_9... [pkg-builder.dan.net.uk] `-- Installing avahi-app-0.8_2... [pkg-builder.dan.net.uk] | `-- Installing dbus-1.14.10_4,1... [pkg-builder.dan.net.uk] | | `-- Installing libSM-1.2.3_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting libSM-1.2.3_1,1: ........ done ===> Creating groups. Creating group 'messagebus' with gid '556'. ===> Creating users Creating user 'messagebus' with uid '556'. [pkg-builder.dan.net.uk] | `-- Extracting dbus-1.14.10_4,1: ......... done [pkg-builder.dan.net.uk] | `-- Installing dbus-glib-0.112_1... [pkg-builder.dan.net.uk] | `-- Extracting dbus-glib-0.112_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing gdbm-1.23... [pkg-builder.dan.net.uk] | `-- Extracting gdbm-1.23: .......... done [pkg-builder.dan.net.uk] | `-- Installing gnome_subr-1.0... [pkg-builder.dan.net.uk] | `-- Extracting gnome_subr-1.0: . done [pkg-builder.dan.net.uk] | `-- Installing libdaemon-0.14_1... [pkg-builder.dan.net.uk] | `-- Extracting libdaemon-0.14_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libevent-2.1.12... [pkg-builder.dan.net.uk] | `-- Extracting libevent-2.1.12: .......... done ===> Creating groups. Creating group 'avahi' with gid '558'. ===> Creating users Creating user 'avahi' with uid '558'. [pkg-builder.dan.net.uk] `-- Extracting avahi-app-0.8_2: .......... done [pkg-builder.dan.net.uk] `-- Installing gamin-0.1.10_10... [pkg-builder.dan.net.uk] `-- Extracting gamin-0.1.10_10: .......... done [pkg-builder.dan.net.uk] `-- Installing jansson-2.14... [pkg-builder.dan.net.uk] `-- Extracting jansson-2.14: ....... done [pkg-builder.dan.net.uk] `-- Installing libarchive-3.7.2_1,1... [pkg-builder.dan.net.uk] `-- Extracting libarchive-3.7.2_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libgcrypt-1.10.3_1... [pkg-builder.dan.net.uk] | `-- Installing libgpg-error-1.48... [pkg-builder.dan.net.uk] | `-- Extracting libgpg-error-1.48: .......... done [pkg-builder.dan.net.uk] `-- Extracting libgcrypt-1.10.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libinotify-20211018_1... [pkg-builder.dan.net.uk] `-- Extracting libinotify-20211018_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libsunacl-1.0.1_1... [pkg-builder.dan.net.uk] `-- Extracting libsunacl-1.0.1_1: .... done [pkg-builder.dan.net.uk] `-- Installing libunwind-20240221... [pkg-builder.dan.net.uk] `-- Extracting libunwind-20240221: .......... done [pkg-builder.dan.net.uk] `-- Installing lmdb-0.9.32,1... [pkg-builder.dan.net.uk] `-- Extracting lmdb-0.9.32,1: .......... done [pkg-builder.dan.net.uk] `-- Installing openldap26-client-2.6.7... [pkg-builder.dan.net.uk] | `-- Installing cyrus-sasl-2.1.28_4... *** Added group `cyrus' (id 60) *** Added user `cyrus' (id 60) [pkg-builder.dan.net.uk] | `-- Extracting cyrus-sasl-2.1.28_4: .......... done [pkg-builder.dan.net.uk] `-- Extracting openldap26-client-2.6.7: .......... done [pkg-builder.dan.net.uk] `-- Installing popt-1.19_1... [pkg-builder.dan.net.uk] `-- Extracting popt-1.19_1: .......... done [pkg-builder.dan.net.uk] `-- Installing py39-dnspython-2.6.1,1... [pkg-builder.dan.net.uk] | `-- Installing py39-aioquic-0.9.25... [pkg-builder.dan.net.uk] | | `-- Installing py39-certifi-2024.2.2... [pkg-builder.dan.net.uk] | | `-- Installing py39-setuptools-63.1.0_1... [pkg-builder.dan.net.uk] | | `-- Extracting py39-setuptools-63.1.0_1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py39-certifi-2024.2.2: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-cryptography-42.0.5,1... [pkg-builder.dan.net.uk] | | `-- Installing py39-cffi-1.16.0... [pkg-builder.dan.net.uk] | | | `-- Installing py39-pycparser-2.21... [pkg-builder.dan.net.uk] | | | `-- Extracting py39-pycparser-2.21: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py39-cffi-1.16.0: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py39-cryptography-42.0.5,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-openssl-23.2.0,1... [pkg-builder.dan.net.uk] | | `-- Extracting py39-openssl-23.2.0,1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-pylsqpack-0.3.18... [pkg-builder.dan.net.uk] | | `-- Extracting py39-pylsqpack-0.3.18: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-service-identity-23.1.0... [pkg-builder.dan.net.uk] | | `-- Installing py39-attrs-23.2.0... [pkg-builder.dan.net.uk] | | `-- Extracting py39-attrs-23.2.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-pyasn1-0.5.0... [pkg-builder.dan.net.uk] | | `-- Extracting py39-pyasn1-0.5.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing py39-pyasn1-modules-0.3.0... [pkg-builder.dan.net.uk] | | `-- Extracting py39-pyasn1-modules-0.3.0: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting py39-service-identity-23.1.0: .......... done [pkg-builder.dan.net.uk] | `-- Extracting py39-aioquic-0.9.25: .......... done [pkg-builder.dan.net.uk] `-- Extracting py39-dnspython-2.6.1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing py39-markdown-3.5.2... [pkg-builder.dan.net.uk] | `-- Installing py39-importlib-metadata-7.0.2... [pkg-builder.dan.net.uk] | | `-- Installing py39-zipp-3.18.1... [pkg-builder.dan.net.uk] | | `-- Extracting py39-zipp-3.18.1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting py39-importlib-metadata-7.0.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting py39-markdown-3.5.2: .......... done [pkg-builder.dan.net.uk] `-- Installing talloc-2.3.4_1... [pkg-builder.dan.net.uk] `-- Extracting talloc-2.3.4_1: .......... done [pkg-builder.dan.net.uk] `-- Installing tdb-1.4.7_1,1... [pkg-builder.dan.net.uk] `-- Extracting tdb-1.4.7_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing tevent-0.13.0_2... [pkg-builder.dan.net.uk] `-- Extracting tevent-0.13.0_2: ....... done [pkg-builder.dan.net.uk] Extracting samba413-4.13.17_9: .......... done ===== Message from gamin-0.1.10_10: -- Gamin will only provide realtime notification of changes for at most n files, where n is the minimum value between (kern.maxfiles * 0.7) and (kern.maxfilesperproc - 200). Beyond that limit, files will be polled. If you often open several large folders with Nautilus, you might want to increase the kern.maxfiles tunable (you do not need to set kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles). The behavior of gamin can be controlled via the various gaminrc files. See http://www.gnome.org/~veillard/gamin/config.html on how to create these files. In particular, if you find gam_server is taking up too much CPU time polling for changes, something like the following may help in one of the gaminrc files: # reduce polling frequency to once per 10 seconds # for UFS file systems in order to lower CPU load fsset ufs poll 10 -- ===> NOTICE: The gamin port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from libinotify-20211018_1: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from cyrus-sasl-2.1.28_4: -- You can use sasldb2 for authentication, to add users use: saslpasswd2 -c username If you want to enable SMTP AUTH with the system Sendmail, read Sendmail.README NOTE: This port has been compiled with a default pwcheck_method of auxprop. If you want to authenticate your user by /etc/passwd, PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and set sasl_pwcheck_method to saslauthd after installing the Cyrus-IMAPd 2.X port. You should also check the /usr/local/lib/sasl2/*.conf files for the correct pwcheck_method. If you want to use GSSAPI mechanism, install ports/security/cyrus-sasl2-gssapi. If you want to use SRP mechanism, install ports/security/cyrus-sasl2-srp. If you want to use LDAP auxprop plugin, install ports/security/cyrus-sasl2-ldapdb. ===== Message from openldap26-client-2.6.7: -- The OpenLDAP client package has been successfully installed. Edit /usr/local/etc/openldap/ldap.conf to change the system-wide client defaults. Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at http://www.OpenLDAP.org/faq/index.cgi?file=3 for more information. ===== Message from samba413-4.13.17_9: -- How to start: http://wiki.samba.org/index.php/Samba4/HOWTO * Your configuration is: /usr/local/etc/smb4.conf * All the relevant databases are under: /var/db/samba4 * All the logs are under: /var/log/samba4 * Provisioning script is: /usr/local/bin/samba-tool For additional documentation check: http://wiki.samba.org/index.php/Samba4 Bug reports should go to the: https://bugzilla.samba.org/ -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Reached its EoL on March 21, 2022. It is scheduled to be removed on or after 2024-03-31. ===> mencoder-1.5.0.20240106 depends on shared library: libsmbclient.so - found (/usr/local/lib/samba4/libsmbclient.so) ===> Returning to build of mencoder-1.5.0.20240106 ===> mencoder-1.5.0.20240106 depends on shared library: libmp3lame.so - found (/usr/local/lib/libmp3lame.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for mencoder-1.5.0.20240106 Checking for ffmpeg/libavcodec/allcodecs.c ... not found Checking for ffmpeg/libavcodec/hwaccels.h ... not found Checking for ffmpeg/libavformat/allformats.c ... not found Checking for ffmpeg/libavcodec/bitsteram_filters.c ... not found Checking for ffmpeg/libavcodec/cbs_internal.h ... not found Checking for ffmpeg/libavformat/protocols.c ... not found Checking for ffmpeg/libavfilter/allfilters.c ... not found Checking for cc version ... clang 14.0.5 (experimental support only) Checking for working compiler ... yes Detected operating system: FreeBSD Detected host architecture: x86_64 Checking for cross compilation ... no Checking for host cc ... cc Checking for GCC & CPU optimization abilities ... Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for relocatable binary ... yes (fast PIC) Checking for PIC ... yes Checking for .align is a power of two ... no Checking for ebx availability ... yes Checking for yasm ... no Checking for bswap ... no Checking for xmm clobbers ... yes Checking for as_func ... no Checking for langinfo ... yes Checking for NLS ... no (disabled because --enable-gui not specified) Checking for language ... messages: en - man pages: en - documentation: en Checking for enable sighandler ... yes Checking for runtime cpudetection ... yes Checking for restrict keyword ... restrict Checking for __builtin_expect ... yes Checking for kstat ... no Checking for atanf ... yes Checking for cbrt ... yes Checking for cbrtf ... yes Checking for cosf ... yes Checking for expf ... yes Checking for exp2 ... yes Checking for exp2f ... yes Checking for isnan ... yes Checking for isfinite ... yes Checking for isinf ... yes Checking for llrint ... yes Checking for llrintf ... yes Checking for log2 ... yes Checking for log2f ... yes Checking for log10f ... yes Checking for lrint ... yes Checking for lrintf ... yes Checking for rint ... yes Checking for round ... yes Checking for roundf ... yes Checking for sinf ... yes Checking for trunc ... yes Checking for truncf ... yes Checking for erf ... yes Checking for atan2f ... yes Checking for fminf ... yes Checking for ldexpf ... yes Checking for powf ... yes Checking for hypot ... yes Checking for mkstemp ... yes Checking for gmtime_r ... yes Checking for localtime_r ... yes Checking for nanosleep ... yes Checking for windows.h ... no Checking for socklib ... yes Checking for struct pollfd ... yes Checking for netdb.h, struct addrinfo ... yes Checking for netdb.h, getaddrinfo() ... yes Checking for sockaddr_storage ... yes Checking for struct ipv6_mreq ... yes Checking for struct sockaddr_in6 ... yes Checking for struct sockaddr sa_len ... yes Checking for arpa/inet.h ... yes Checking for inet_pton() ... yes Checking for inet_aton() ... yes Checking for socklen_t ... yes Checking for closesocket() ... no Checking for networking ... yes Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for SCTP ... yes Checking for sys/un.h ... yes Checking for sys/poll.h ... yes Checking for unistd.h ... yes Checking for emmintrin.h (SSE intrinsics) ... yes Checking for inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.h ... yes Checking for stdatomic.h ... yes Checking for malloc.h ... yes Checking for aligned malloc ... no Checking for memalign() ... yes Checking for posix_memalign() ... yes Checking for alloca.h ... no Checking for fastmemcpy ... yes Checking for hard-coded tables ... no Checking for mman.h ... yes Checking for mprotect ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... yes (using -lpthread) Checking for pthread_cancel ... yes Checking for direct.h ... no Checking for io.h ... no Checking for rpath ... no Checking for iconv ... yes Checking for soundcard.h ... yes (sys/soundcard.h) Checking for termcap ... yes (using /usr/lib/libncurses.so) Checking for termios ... yes (using termios.h) Checking for shm ... yes Checking for strsep() ... yes Checking for vsscanf() ... yes Checking for POSIX select() ... yes Checking for audio select() ... yes Checking for gettimeofday() ... yes Checking for clock_gettime() ... yes Checking for glob() ... yes Checking for setenv() ... yes Checking for setmode() ... no Checking for sys/sysinfo.h ... no Checking for pkg-config ... yes Checking for GnuTLS ... yes Checking for OpenSSL ... no Checking for Samba support (libsmbclient) ... yes Checking for /dev/mga_vid ... no Checking for tdfxfb ... no Checking for s3fb ... no Checking for wii ... no Checking for tdfxvid ... no Checking for xvr100 ... no Checking for tga ... yes Checking for md5sum support ... yes Checking for yuv4mpeg support ... yes Checking for bl ... no Checking for DirectFB ... no Checking for X11 headers presence ... yes (using /usr/local/include) Checking for X11 ... no (check if the dev(el) packages are installed) Checking for Xss screensaver extensions ... no Checking for DPMS ... no Checking for Xv ... auto Checking for XvMC ... no Checking for Video Decode Acceleration (VDA) ... no Checking for VDPAU ... no Checking for Xinerama ... auto Checking for Xxf86vm ... auto Checking for XF86keysym ... auto Checking for DGA ... no Checking for xmga ... no Checking for 3dfx ... no Checking for VIDIX ... no Checking for GGI ... no Checking for GGI extension: libggiwmh ... no Checking for AA ... no Checking for CACA ... no Checking for SVGAlib ... no Checking for FBDev ... no Checking for DVB ... no Checking for PNG support ... yes Checking for MNG support ... yes Checking for JPEG support ... yes Checking for OpenJPEG (JPEG 2000) support ... no Checking for PNM support ... yes Checking for GIF support ... no Checking for VESA support ... no Checking for SDL ... no Checking for SDL image ... no Checking for OpenGL ... no Checking for MatrixView ... no Checking for DXR2 ... no Checking for DXR3/H+ ... no Checking for V4L2 MPEG Decoder ... no Checking for OSS Audio ... yes Checking for aRts ... no Checking for EsounD ... no Checking for NAS ... no Checking for pulse ... no Checking for JACK ... no Checking for OpenAL ... no Checking for ALSA audio ... no Checking for Sun audio ... no Checking for sndio audio ... no Checking for VCD support ... yes Checking for Blu-ray support ... yes Checking for dvdread ... yes Checking for libcdio ... no Checking for cdparanoia ... no Checking for bitmap font support ... no Checking for freetype >= 2.0.9 ... yes Checking for fontconfig ... no Checking for fribidi with charsets ... no Checking for SSA/ASS support ... yes (external) Checking for ENCA ... no Checking for zlib ... yes Checking for bzlib ... yes Checking for RTC ... no Checking for liblzo2 support ... yes Checking for mad support ... no Checking for Twolame ... no Checking for Toolame ... no Checking for OggVorbis support ... no Checking for libspeex (version >= 1.1 required) ... no Checking for libgsm ... yes Checking for OggTheora support ... no Checking for mpg123 support ... no Checking for liba52 support ... no Checking for libmpeg2 support ... no Checking for libdca support ... no Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no Checking for FAAC support ... yes Checking for FAAD2 support ... no Checking for libilbc support ... no Checking for libopus decoding support ... no Checking for LADSPA plugin support ... no Checking for libbs2b audio filter support ... no Checking for Win32 codecs ... no Checking for XAnim codecs ... yes (dynamic loader support needed) Checking for RealPlayer codecs ... no Checking for QuickTime codecs ... no Checking for Nemesi Streaming Media libraries ... no Checking for LIVE555 Streaming Media libraries ... no Checking for RTMPDump Streaming Media library ... yes Checking for FFmpeg ... yes (using shared FFmpeg, but static FFmpeg is recommended) Checking for libpostproc ... yes Checking for libxml2 ... no (dynamic linking to libxml2 is irrelevant when using dynamic FFmpeg) Checking for libopencore_amr narrowband ... no Checking for libopencore_amr wideband ... no Checking for libdv-0.9.5+ ... no Checking for CrystalHD ... no Checking for Xvid ... yes Checking for Xvid two pass plugin ... yes Checking for x264 ... yes (in FFmpeg: yes) Checking for libvpx ... yes Checking for libdav1d ... no (dynamic linking to libdav1d is irrelevant when using dynamic FFmpeg) Checking for libaom ... no (dynamic linking to libaom is irrelevant when using dynamic FFmpeg) Checking for libnut ... no Checking for zr ... no Checking for libmp3lame ... yes (in FFmpeg: yes) Checking for mencoder ... yes Checking for UnRAR executable ... yes Checking for TV interface ... yes Checking for *BSD BT848 bt8xx header ... no Checking for *BSD ioctl_meteor.h ... no Checking for *BSD BrookTree 848 TV interface ... no Checking for DirectShow TV interface ... no Checking for Video 4 Linux TV interface ... no Checking for Video 4 Linux 2 TV interface ... no Checking for Radio interface ... no Checking for Capture for Radio interface ... no Checking for Video 4 Linux 2 Radio interface ... no Checking for Video 4 Linux Radio interface ... no Checking for Video 4 Linux 2 MPEG PVR interface ... no Checking for ftp ... yes Checking for vstream client ... no Checking for OSD menu ... no Checking for Subtitles sorting ... yes Checking for XMMS inputplugin support ... no Checking for GUI ... no Checking for automatic gdb attach ... no Checking for compiler support for noexecstack ... yes Checking for linker support for --nxcompat --no-seh --dynamicbase ... no Checking for linker support for --large-address-aware ... no Checking for linker support for --version-script ... no Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Checking for DVD support (libdvdnav) ... yes Checking for XML catalogs ... No SGML catalog found. Checking for XML chunked stylesheet ... not found, using default Checking for XML monolithic stylesheet ... not found, using default Checking for XML DTD ... not found, using default Checking for valid XSLT processor ... xsltproc not found Creating config.mak Creating config.h Config files successfully generated by ./configure --cc=cc --host-cc=cc --as=as --mandir=/usr/local/share/man --extra-cflags=-I/usr/local/include -I/usr/local/include --extra-libs=-L/usr/local/lib --disable-alsa --disable-ass-internal --disable-bitmap-font --disable-crystalhd --disable-esd --disable-faad --disable-ffmpeg_a --disable-ggi --disable-ggiwmh --disable-liba52 --disable-libbs2b --disable-libilbc --disable-libnut --disable-libvorbis --disable-live --disable-joystick --disable-mad --disable-libmpeg2 --disable-nemesi --disable-real --yasm= --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-libcdio --disable-libdv --disable-fontconfig --disable-fribidi --disable-jack --disable-nas --enable-nls --disable-openal --disable-libopenjpeg --disable-libopus --disable-pulse --enable-runtime-cpudetection --extra-ldflags=-L/usr/local/lib/samba4 --disable-speex --disable-theora --disable-twolame --disable-tv-v4l1 --disable-tv-v4l2 --enable-libvpx-lavc --disable-mplayer --disable-libdca --disable-x11 --disable-vdpau --disable-rtc --disable-arts --disable-caca --disable-lirc --disable-sdl --disable-svga --disable-aa --disable-joystick --disable-directfb --disable-mpg123 --disable-enca --disable-musepack --disable-sndio --disable-win32dll --disable-qtx ! Install prefix: /usr/local Data directory: /usr/local/share/mplayer Config direct.: /usr/local/etc/mplayer Byte order: little-endian Optimizing for: Runtime CPU-Detection enabled Languages: Messages/GUI: en Manual pages: en Documentation: en Enabled optional drivers: Input: dvdnav ftp tv librtmp dvdread bluray vcd smb networking Codecs: libvpx x264 xvid ffmpeg xanim faac libgsm liblzo Audio output: oss mpegpes(file) Video output: pnm jpeg mng mpegpes(file) yuv4mpeg md5sum tga Disabled optional drivers: Input: vstream pvr radio tv-v4l2 tv-v4l1 tv-dshow tv-bsdbt848 live555 nemesi cddb cdda dvb Codecs: libaom libdav1d crystalhd libdv libopencore_amrwb libopencore_amrnb qtx real win32 libopus ilbc faad2 musepack libdca libmpeg2 liba52 mpg123 libtheora speex libvorbis toolame twolame libmad gif OpenJPEG Audio output: sndio sun alsa openal jack pulse nas esd arts v4l2 dxr2 sdl Video output: zr zr2 v4l2 dxr3 dxr2 matrixview opengl sdl vesa gif89a fbdev svga caca aa ggi xvidix winvidix cvidix 3dfx xmga dga vdpau xvmc xv x11 directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. Please check MTRR settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr) NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your operating system (FreeBSD). You may encounter a few files that cannot be played due to missing open source video/audio codec support. Check config.log if you wonder why an autodetection failed (make sure development headers/packages are installed). NOTE: The --enable-* parameters unconditionally force options on, completely skipping autodetection. This behavior is unlike what you may be used to from autoconf-based configure scripts that can decide to override you. This greater level of control comes at a price. You may have to provide the correct compiler and linker flags yourself. If you used one of these options (except --enable-menu and similar ones that turn on internal features) and experience a compilation or linking failure, make sure you have passed the necessary compiler/linker flags to configure. If you suspect a bug, please read DOCS/HTML/en/bugreports.html. MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you, but: *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** *** It is strongly recommended to let MPlayer choose the correct *FLAGS! To do so, remove *FLAGS from the environment an re-run configure. You can use --extra-*flags to add custom flags if necessary. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mencoder-1.5.0.20240106 help/help_create.sh help/help_mp-en.h UTF-8 cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o mencoder.o mencoder.c In file included from mencoder.c:62: In file included from ./libmpcodecs/ae.h:22: In file included from ./libmpdemux/muxer.h:24: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ In file included from mencoder.c:245: In file included from ./cfg-mencoder.h:34: ./cfg-common.h:301:18: warning: initializing 'void *' with an expression of type 'const m_option_t[49]' (aka 'const struct m_option[49]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~ ./cfg-common.h:314:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-common.h:431:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:432:19: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:448:12: warning: initializing 'void *' with an expression of type 'const m_option_t[6]' (aka 'const struct m_option[6]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, ^~~~~~~~~~~ ./cfg-common.h:455:12: warning: initializing 'void *' with an expression of type 'const m_option_t[29]' (aka 'const struct m_option[29]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~ ./cfg-common.h:464:14: warning: initializing 'void *' with an expression of type 'const m_option_t[9]' (aka 'const struct m_option[9]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-common.h:506:16: warning: initializing 'void *' with an expression of type 'const m_option_t[3]' (aka 'const struct m_option[3]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~ ./cfg-common.h:509:65: warning: initializing 'void *' with an expression of type 'const m_obj_list_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list}, ^~~~~~~~~~~~ ./cfg-common.h:519:16: warning: initializing 'void *' with an expression of type 'const char[]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, ^~~~~~~ ./cfg-common.h:525:13: warning: initializing 'void *' with an expression of type 'const m_option_t[7]' (aka 'const struct m_option[7]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~ ./cfg-common.h:547:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~~~~~~~~~ ./cfg-common.h:548:20: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~~ ./cfg-common.h:552:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~~~ In file included from mencoder.c:245: ./cfg-mencoder.h:190:13: warning: initializing 'void *' with an expression of type 'const m_option_t[9]' (aka 'const struct m_option[9]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~ ./cfg-mencoder.h:191:13: warning: initializing 'void *' with an expression of type 'const m_option_t[12]' (aka 'const struct m_option[12]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~ ./cfg-mencoder.h:194:12: warning: initializing 'void *' with an expression of type 'const m_option_t[7]' (aka 'const struct m_option[7]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~ ./cfg-mencoder.h:221:14: warning: initializing 'void *' with an expression of type 'const m_option_t[9]' (aka 'const struct m_option[9]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~ ./cfg-mencoder.h:226:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-mencoder.h:229:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-mencoder.h:244:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"faacopts", faacopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-mencoder.h:252:21: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~~~~ ./cfg-mencoder.h:259:18: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"nuvopts", nuvopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~ ./cfg-mencoder.h:261:19: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ ./cfg-mencoder.h:263:19: warning: initializing 'void *' with an expression of type 'const m_option_t[]' (aka 'const struct m_option[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~~~~~ mencoder.c:361:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (! mux) return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:465:109: warning: shifting a negative signed value is undefined [-Wshift-negative-value] void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:465:125: warning: shifting a negative signed value is undefined [-Wshift-negative-value] void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:467:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:467:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:689:68: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(audio_lang && audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang); ^~~~~~~~~~ ./stream/stream_dvd.h:59:62: note: passing argument to parameter 'lang' here int dvd_aid_from_lang(stream_t *stream, const unsigned char* lang); ^ mencoder.c:690:71: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvd.h:60:62: note: passing argument to parameter 'lang' here int dvd_sid_from_lang(stream_t *stream, const unsigned char* lang); ^ mencoder.c:696:74: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(audio_lang && audio_id==-1) audio_id=mp_dvdnav_aid_from_lang(stream,audio_lang); ^~~~~~~~~~ ./stream/stream_dvdnav.h:33:68: note: passing argument to parameter 'language' here int mp_dvdnav_aid_from_lang(stream_t *stream, const unsigned char *language); ^ mencoder.c:697:77: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=mp_dvdnav_sid_from_lang(stream,dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvdnav.h:34:68: note: passing argument to parameter 'language' here int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); ^ mencoder.c:810:97: warning: passing 'unsigned char[3]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (spudec_ifo && vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1, dvdsub_id, tmp) >= 0) ^~~ ./sub/vobsub.h:24:150: note: passing argument to parameter 'langid' here int vobsub_parse_ifo(void* this, const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force, int sid, char *langid); ^ mencoder.c:1403:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1403:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1493:107: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1493:123: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1497:74: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1497:90: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1506:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1506:68: warning: shifting a negative signed value is undefined [-Wshift-negative-value] drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1509:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (did_seek && sh_video->pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1519:100: warning: shifting a negative signed value is undefined [-Wshift-negative-value] blit_frame = decoded_frame && filter_video(sh_video, decoded_frame, v_muxer_time + sub_offset, MP_NOPTS_VALUE);} ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1559:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mencoder.c:1559:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 50 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o parser-mecmd.o parser-mecmd.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o xvid_vbr.o xvid_vbr.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ae.o libmpcodecs/ae.c In file included from libmpcodecs/ae.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c In file included from libmpcodecs/ae_pcm.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ve.o libmpcodecs/ve.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c In file included from libmpcodecs/ve_raw.c:29: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer.o libmpdemux/muxer.c In file included from libmpdemux/muxer.c:26: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer.c:155:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(dts == MP_NOPTS_VALUE) dts= s->timer; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer.c:156:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts == MP_NOPTS_VALUE) pts= s->timer; // this is wrong ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c In file included from libmpdemux/muxer_avi.c:28: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer_avi.c:145:30: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_id, 4); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:146:30: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_len, 4); ^~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:163:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_write_buffer(stream, avi_junk_data, l); ^~~~~~~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:179:31: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &list_id, 4); ^~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:180:31: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_len, 4); ^~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:181:31: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(stream, &le_id, 4); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:202:40: warning: incompatible pointer types passing 'uint32_t[3]' (aka 'unsigned int[3]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream, riff, 12); ^~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:254:45: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,&rifflen,4); ^~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:259:49: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,&movilen,4); ^~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:272:39: warning: incompatible pointer types passing 'uint32_t (*)[3]' (aka 'unsigned int (*)[3]') to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,&riff,12); ^~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:409:38: warning: incompatible pointer types passing 'unsigned int[8]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,idxhdr,sizeof(idxhdr)); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:417:42: warning: incompatible pointer types passing 'unsigned int[4]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream,data,sizeof(data)); ^~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:433:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] info[0].text=mencoder_version; ^~~~~~~~~~~~~~~~~ libmpdemux/muxer_avi.c:645:37: warning: incompatible pointer types passing 'unsigned int[8]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream, idxhdr,sizeof(idxhdr)); ^~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ libmpdemux/muxer_avi.c:651:41: warning: incompatible pointer types passing 'unsigned int[2]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(muxer->stream, entry, sizeof(entry)); ^~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ 18 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c In file included from libmpdemux/muxer_mpeg.c:31: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer_mpeg.c:580:17: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_ts(&buff[4], priv->scr, 0x20); // 0010 and SCR ^~~~~~~~ libmpdemux/muxer_mpeg.c:510:42: note: passing argument to parameter 'b' here static void write_mpeg_ts(unsigned char *b, uint64_t ts, uint8_t mod) { ^ libmpdemux/muxer_mpeg.c:581:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_rate(priv->mux, &buff[9], muxer->sysrate); ^~~~~~~~ libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate) ^ libmpdemux/muxer_mpeg.c:586:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg2_scr(&buff[4], priv->scr); // 0010 and SCR ^~~~~~~~ libmpdemux/muxer_mpeg.c:554:44: note: passing argument to parameter 'b' here static void write_mpeg2_scr(unsigned char *b, uint64_t ts) ^ libmpdemux/muxer_mpeg.c:587:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_rate(priv->mux, &buff[10], muxer->sysrate); ^~~~~~~~~ libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate) ^ libmpdemux/muxer_mpeg.c:607:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_rate(MUX_MPEG1, &buff[len], muxer->sysrate); ^~~~~~~~~~ libmpdemux/muxer_mpeg.c:520:54: note: passing argument to parameter 'b' here static void write_mpeg_rate(int type, unsigned char *b, unsigned int rate) ^ libmpdemux/muxer_mpeg.c:622:18: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_mpeg_std(&buff[len], priv->sys_info.streams[i].bufsize, priv->sys_info.streams[i].type, ^~~~~~~~~~ libmpdemux/muxer_mpeg.c:539:43: note: passing argument to parameter 'b' here static void write_mpeg_std(unsigned char *b, unsigned int size, unsigned int type, uint8_t mod) ^ libmpdemux/muxer_mpeg.c:673:25: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] crc = CalcCRC32(buff, len); ^~~~ libmpdemux/muxer_mpeg.c:293:36: note: passing argument to parameter 'buff' here static uint32_t CalcCRC32(uint8_t *buff, uint32_t size) ^ libmpdemux/muxer_mpeg.c:858:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] offset = write_mpeg_pack_header(muxer, buff); ^~~~ libmpdemux/muxer_mpeg.c:573:57: note: passing argument to parameter 'buff' here static int write_mpeg_pack_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:859:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] offset += write_mpeg_system_header(muxer, &buff[offset]); ^~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:596:59: note: passing argument to parameter 'buff' here static int write_mpeg_system_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:1147:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spriv->pack_offset = write_mpeg_pack_header(muxer, spriv->pack); ^~~~~~~~~~~ libmpdemux/muxer_mpeg.c:573:57: note: passing argument to parameter 'buff' here static int write_mpeg_pack_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:1150:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spriv->pack_offset += write_mpeg_system_header(muxer, &spriv->pack[spriv->pack_offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:596:59: note: passing argument to parameter 'buff' here static int write_mpeg_system_header(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:1156:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] spriv->pack_offset += write_mpeg_psm(muxer, &spriv->pack[spriv->pack_offset]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:632:49: note: passing argument to parameter 'buff' here static int write_mpeg_psm(muxer_t *muxer, char *buff) ^ libmpdemux/muxer_mpeg.c:2392:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] parse_audio(muxer->streams[i], 1, &nf, &fake_timer, priv->init_adelay, priv->drop); ^~~ libmpdemux/muxer_mpeg.c:2062:71: note: passing argument to parameter 'nf' here static int parse_audio(muxer_stream_t *s, int finalize, unsigned int *nf, double *timer, double delay, int drop) ^ libmpdemux/muxer_mpeg.c:2713:17: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((priv->buff == NULL)) ~~~~~~~~~~~^~~~~~~ libmpdemux/muxer_mpeg.c:2713:17: note: remove extraneous parentheses around the comparison to silence this warning if((priv->buff == NULL)) ~ ^ ~ libmpdemux/muxer_mpeg.c:2713:17: note: use '=' to turn this equality comparison into an assignment if((priv->buff == NULL)) ^~ = 17 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c In file included from libmpdemux/muxer_rawaudio.c:27: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c In file included from libmpdemux/muxer_rawvideo.c:29: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ae_faac.o libmpcodecs/ae_faac.c In file included from libmpcodecs/ae_faac.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c In file included from libmpcodecs/ae_lavc.c:28: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c In file included from libmpcodecs/ve_lavc.c:44: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:688:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] while(encode_frame(vf, NULL, MP_NOPTS_VALUE) > 0); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:742:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:750:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:753:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pic->pts= MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_lavc.c:775:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dts = pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c In file included from libmpdemux/muxer_lavf.c:30: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/muxer_lavf.c:257:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpdemux/muxer_lavf.c:296:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] avformat_write_header(priv->oc, &opts); ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ve_nuv.o libmpcodecs/ve_nuv.c In file included from libmpcodecs/ve_nuv.c:30: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_nuv.c:172:34: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'int8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign] len = RTjpeg_mcompressYUV420(data,mpi->planes[0],vf->priv->l, ^~~~ libmpcodecs/native/rtjpegn.h:42:34: note: passing argument to parameter 'sp' here int RTjpeg_mcompressYUV420(__s8 *sp, unsigned char *bp, __u16 lmask, __u16 cmask); ^ libmpcodecs/ve_nuv.c:144:67: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_v,FRAMEHEADERSIZE + COMPDATASIZE, 0x10, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_nuv.c:144:83: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mux_v,FRAMEHEADERSIZE + COMPDATASIZE, 0x10, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/native/rtjpegn.o libmpcodecs/native/rtjpegn.c libmpcodecs/native/rtjpegn.c:1533:18: warning: initializing 'int8_t *' (aka 'signed char *') with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] register __s8 * bp1 = bp + (RTjpeg_width<<3); ^ ~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/native/rtjpegn.c:1534:18: warning: initializing 'int8_t *' (aka 'signed char *') with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] register __s8 * bp2 = bp + RTjpeg_Ysize; ^ ~~~~~~~~~~~~~~~~~ libmpcodecs/native/rtjpegn.c:1555:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp1+j, RTjpeg_block, RTjpeg_Ywidth); ^~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ libmpcodecs/native/rtjpegn.c:1559:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp1+j+8, RTjpeg_block, RTjpeg_Ywidth); ^~~~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ libmpcodecs/native/rtjpegn.c:1563:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp2+k, RTjpeg_block, RTjpeg_Cwidth); ^~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ libmpcodecs/native/rtjpegn.c:1567:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp3+k, RTjpeg_block, RTjpeg_Cwidth); ^~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ libmpcodecs/native/rtjpegn.c:1673:18: warning: initializing 'int8_t *' (aka 'signed char *') with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] register __s8 * bp1 = bp + (RTjpeg_width<<3); ^ ~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/native/rtjpegn.c:1674:18: warning: initializing 'int8_t *' (aka 'signed char *') with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] register __s8 * bp2 = bp + RTjpeg_Ysize; ^ ~~~~~~~~~~~~~~~~~ libmpcodecs/native/rtjpegn.c:1712:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp1+j, RTjpeg_block, RTjpeg_Ywidth); ^~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ libmpcodecs/native/rtjpegn.c:1721:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp1+j+8, RTjpeg_block, RTjpeg_Ywidth); ^~~~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ libmpcodecs/native/rtjpegn.c:1730:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp2+k, RTjpeg_block, RTjpeg_Cwidth); ^~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ libmpcodecs/native/rtjpegn.c:1739:16: warning: passing 'int8_t *' (aka 'signed char *') to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] RTjpeg_dctY(bp3+k, RTjpeg_block, RTjpeg_Cwidth); ^~~~~ libmpcodecs/native/rtjpegn.c:488:31: note: passing argument to parameter 'idata' here static void RTjpeg_dctY(__u8 *idata, __s16 *odata, int rskip) ^ 12 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ae_lame.o libmpcodecs/ae_lame.c In file included from libmpcodecs/ae_lame.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c In file included from libmpcodecs/ve_x264.c:42: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_x264.c:273:72: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mod->mux, i_size, keyframe?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_x264.c:273:88: warning: shifting a negative signed value is undefined [-Wshift-negative-value] muxer_write_chunk(mod->mux, i_size, keyframe?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ve_xvid4.o libmpcodecs/ve_xvid4.c In file included from libmpcodecs/ve_xvid4.c:42: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:574:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:574:69: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:858:59: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frame->quant_intra_matrix = (unsigned char*)read_matrix(xvidenc_intra_matrix_file); ^~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c:664:41: note: passing argument to parameter 'filename' here static void *read_matrix(unsigned char *filename); ^ libmpcodecs/ve_xvid4.c:866:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frame->quant_inter_matrix = read_matrix(xvidenc_inter_matrix_file); ^~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c:664:41: note: passing argument to parameter 'filename' here static void *read_matrix(unsigned char *filename); ^ libmpcodecs/ve_xvid4.c:1353:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:1353:69: warning: shifting a negative signed value is undefined [-Wshift-negative-value] (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ve_xvid4.c:1459:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((input = fopen(filename, "rb")) == NULL) { ^~~~~~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o asxparser.o asxparser.c In file included from asxparser.c:31: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o bstr.o bstr.c bstr.c:43:30: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int ret = av_strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); ^~~~~~~~~~ /usr/local/ffmpeg4/include/libavutil/avstring.h:272:32: note: passing argument to parameter 'a' here int av_strncasecmp(const char *a, const char *b, size_t n); ^ bstr.c:43:42: warning: passing 'const uint8_t *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int ret = av_strncasecmp(str1.start, str2.start, FFMIN(str1.len, str2.len)); ^~~~~~~~~~ /usr/local/ffmpeg4/include/libavutil/avstring.h:272:47: note: passing argument to parameter 'b' here int av_strncasecmp(const char *a, const char *b, size_t n); ^ 2 warnings generated. cc -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -I/usr/local/ffmpeg4/include -o codec-cfg codec-cfg.c codec-cfg.c:1074:12: warning: taking the absolute value of unsigned type 'const unsigned int' has no effect [-Wabsolute-value] if(abs(*a)<256) ^ codec-cfg.c:1074:12: note: remove the call to 'abs' since unsigned values cannot be negative if(abs(*a)<256) ^~~ codec-cfg.c:1162:24: warning: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Wformat] cod[i][j].guid.f1, ^~~~~~~~~~~~~~~~~ codec-cfg.c:1176:26: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] print_char_array(codec_strs, codec_strs_len); ^~~~~~~~~~ codec-cfg.c:1081:51: note: passing argument to parameter 'a' here static void print_char_array(const unsigned char* a, int size) ^ 3 warnings generated. ./codec-cfg etc/codecs.conf > codecs.conf.h Reading optional codecs config file etc/codecs.conf: 226 audio & 469 video codecs cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o codec-cfg.o codec-cfg.c codec-cfg.c:632:22: warning: assigning to 'codecs_t *' (aka 'struct codecs *') from 'const codecs_t[469]' (aka 'const struct codecs[469]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] video_codecs = builtin_video_codecs; ^ ~~~~~~~~~~~~~~~~~~~~ codec-cfg.c:633:22: warning: assigning to 'codecs_t *' (aka 'struct codecs *') from 'const codecs_t[226]' (aka 'const struct codecs[226]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] audio_codecs = builtin_audio_codecs; ^ ~~~~~~~~~~~~~~~~~~~~ codec-cfg.c:636:20: warning: assigning to 'char *' from 'const char[28324]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] codec_strs = builtin_codec_strs; ^ ~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o cpudetect.o cpudetect.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o edl.o edl.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o fmt-conversion.o fmt-conversion.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o m_config.o m_config.c m_config.c:325:14: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] co->name = arg->name; ^ ~~~~~~~~~ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o m_option.o m_option.c m_option.c:1333:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] *time = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o m_struct.o m_struct.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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); ^ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o mp_strings.o mp_strings.c ./version.sh `cc -v 2>&1 | head -n 1 | cut -d ' ' -f 4` cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o mpcommon.o mpcommon.c In file included from mpcommon.c:31: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:323:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ass_process_data(ass_track, packet, len); ^~~~~~ /usr/local/include/ass/ass.h:693:47: note: passing argument to parameter 'data' here void ass_process_data(ASS_Track *track, char *data, int size); ^ mpcommon.c:325:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ass_process_chunk(ass_track, packet, len, ^~~~~~ /usr/local/include/ass/ass.h:718:48: note: passing argument to parameter 'data' here void ass_process_chunk(ASS_Track *track, char *data, int size, ^ mpcommon.c:332:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sub_add_text(&tmp_subs, packet, len, endpts, 0); ^~~~~~ ./sub/subreader.h:115:46: note: passing argument to parameter 'txt' here void sub_add_text(subtitle *sub, const char *txt, int len, double endpts, int strip_markup); ^ mpcommon.c:360:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sub_add_text(&subs, packet, len, endpts, 1); ^~~~~~ ./sub/subreader.h:115:46: note: passing argument to parameter 'txt' here void sub_add_text(subtitle *sub, const char *txt, int len, double endpts, int strip_markup); ^ mpcommon.c:184:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sub_clear_text(&subs, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:329:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (subpts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:331:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (endpts == MP_NOPTS_VALUE) endpts = subpts + 3; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:336:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sub_clear_text(&tmp_subs, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:342:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (subpts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:343:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (endpts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:344:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sub_clear_text(&subs, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:359:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (endpts == MP_NOPTS_VALUE) endpts = subpts + 4; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:671:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:677:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (sh_audio->pts_bytes && a_pts == MP_NOPTS_VALUE && ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ mpcommon.c:680:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (a_pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 18 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o parser-cfg.o parser-cfg.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o path.o path.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o playtree.o playtree.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o playtreeparser.o playtreeparser.c In file included from playtreeparser.c:40: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o subopt-helper.o subopt-helper.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af.o libaf/af.c In file included from libaf/af.c:27: In file included from ./libmpcodecs/dec_audio.h:23: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_center.o libaf/af_center.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_channels.o libaf/af_channels.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_comp.o libaf/af_comp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_delay.o libaf/af_delay.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_dummy.o libaf/af_dummy.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_equalizer.o libaf/af_equalizer.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_extrastereo.o libaf/af_extrastereo.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_format.o libaf/af_format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_gate.o libaf/af_gate.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_hrtf.o libaf/af_hrtf.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_karaoke.o libaf/af_karaoke.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_pan.o libaf/af_pan.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_resample.o libaf/af_resample.c libaf/af_resample.c:136:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] rd = abs((float)af->data->rate - (float)data->rate)/(float)data->rate; ^ libaf/af_resample.c:136:8: note: use function 'fabsf' instead rd = abs((float)af->data->rate - (float)data->rate)/(float)data->rate; ^~~ fabsf 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_scaletempo.o libaf/af_scaletempo.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_sinesuppress.o libaf/af_sinesuppress.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_stats.o libaf/af_stats.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_sub.o libaf/af_sub.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_surround.o libaf/af_surround.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_sweep.o libaf/af_sweep.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_tools.o libaf/af_tools.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_volnorm.o libaf/af_volnorm.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_volume.o libaf/af_volume.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/filter.o libaf/filter.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/format.o libaf/format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/reorder_ch.o libaf/reorder_ch.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/window.o libaf/window.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad.o libmpcodecs/ad.c In file included from libmpcodecs/ad.c:28: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.c In file included from libmpcodecs/ad_alaw.c:24: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c In file included from libmpcodecs/ad_dvdpcm.c:26: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ad_dvdpcm.c:114:45: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = demux_read_data(sh_audio->ds, tmp, 10); ^~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_dvdpcm.c:138:45: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = demux_read_data(sh_audio->ds, tmp, 12); ^~~ ./libmpdemux/demuxer.h:385: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.c In file included from libmpcodecs/ad_hwac3.c:34: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ad_hwac3.c:116:29: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] length = dts_syncinfo(sh_audio->a_in_buffer, &flags, &sample_rate, &bit_rate); ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.c:51:34: note: passing argument to parameter 'indata_ptr' here static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate); ^ libmpcodecs/ad_hwac3.c:129:29: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] length = a52_syncinfo(sh_audio->a_in_buffer, &sample_rate, &bit_rate); ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.c:55:35: note: passing argument to parameter 'buf' here static int a52_syncinfo (uint8_t *buf, int *sample_rate, int *bit_rate) ^ libmpcodecs/ad_hwac3.c:148:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] demux_read_data(sh_audio->ds, sh_audio->a_in_buffer + 12, length - 12); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_hwac3.c:213:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return decode_audio_dts(sh_audio->a_in_buffer, len, buf, maxlen); ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.c:52:44: note: passing argument to parameter 'indata_ptr' here static int decode_audio_dts(unsigned char *indata_ptr, int len, unsigned char *buf, int outsize); ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_hwmpa.c In file included from libmpcodecs/ad_hwmpa.c:30: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ad_hwmpa.c:56:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] x = mp_get_mp3_header(&(sh->a_in_buffer[cnt]), chans, srate, spf, mpa_layer, br); ^~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/mp3_hdr.h:24:38: note: passing argument to parameter 'hbuf' here int mp_get_mp3_header(unsigned char* hbuf,int* chans, int* freq, int* spf, int* mpa_layer, int* br); ^ libmpcodecs/ad_hwmpa.c:68:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len],sh->a_in_buffer_size-sh->a_in_buffer_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_hwmpa.c:118:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len], l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:385:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c In file included from libmpcodecs/ad_pcm.c:24: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.c In file included from libmpcodecs/dec_audio.c:29: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/dec_audio.c:170:8: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] sh_audio->wf ? (&i) : NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./codec-cfg.h:83:63: note: passing argument to parameter 'fourccmap' here codecs_t* find_audio_codec(unsigned int fourcc, unsigned int *fourccmap, ^ libmpcodecs/dec_audio.c:406:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *buf = sh->a_buffer + sh->a_buffer_len; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/dec_teletext.o libmpcodecs/dec_teletext.c libmpcodecs/dec_teletext.c:847:10: warning: assigning to 'unsigned char *' from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p=MSGTR_TV_NoTeletext; ^~~~~~~~~~~~~~~~~~~~ libmpcodecs/dec_teletext.c:1227:14: warning: passing 'unsigned char[21]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(priv->networkname,21,"%s",data+20); ^~~~~~~~~~~~~~~~~ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c In file included from libmpcodecs/dec_video.c:27: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/dec_video.c:109:29: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] (int *) value) == CONTROL_OK) ^~~~~~~~~~~~~ libmpcodecs/dec_video.c:108:61: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (mpvdec->control(sh_video, VDCTRL_SET_EQUALIZER, item, ^~~~ libmpcodecs/dec_video.c:134:64: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return mpvdec->control(sh_video, VDCTRL_GET_EQUALIZER, item, value); ^~~~ libmpcodecs/dec_video.c:157:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sh_video->last_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/dec_video.c:418: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:471: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:472:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sh_video->endpts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/mp_image.o libmpcodecs/mp_image.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/pullup.o libmpcodecs/pullup.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd.o libmpcodecs/vd.c In file included from libmpcodecs/vd.c:32: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_lzo.o libmpcodecs/vd_lzo.c In file included from libmpcodecs/vd_lzo.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mpegpes.c In file included from libmpcodecs/vd_mpegpes.c:26: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_mtga.o libmpcodecs/vd_mtga.c In file included from libmpcodecs/vd_mtga.c:35: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_raw.o libmpcodecs/vd_raw.c In file included from libmpcodecs/vd_raw.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_sgi.o libmpcodecs/vd_sgi.c In file included from libmpcodecs/vd_sgi.c:28: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_black.o libmpcodecs/vd_black.c In file included from libmpcodecs/vd_black.c:26: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf.o libmpcodecs/vf.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_1bpp.o libmpcodecs/vf_1bpp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_2xsai.o libmpcodecs/vf_2xsai.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_blackframe.o libmpcodecs/vf_blackframe.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c In file included from libmpcodecs/vf_crop.c:29: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_detc.o libmpcodecs/vf_detc.c libmpcodecs/vf_detc.c:313:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_detc.c:313:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_divtc.o libmpcodecs/vf_divtc.c libmpcodecs/vf_divtc.c:159:27: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] for(shift=0, e=p+w; (int)p&(sizeof(wsum_t)-1) && pfile)) ^~~~ /usr/include/stdio.h:258: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]' (aka 'signed char[256]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(lbuf, "%x %d", cbuf+n, buf+n); ^~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_down3dright.o libmpcodecs/vf_down3dright.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_dsize.o libmpcodecs/vf_dsize.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_dvbscale.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_eq.o libmpcodecs/vf_eq.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_eq2.o libmpcodecs/vf_eq2.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_field.o libmpcodecs/vf_field.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_fil.o libmpcodecs/vf_fil.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c In file included from libmpcodecs/vf_filmdint.c:31: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_filmdint.c:48:1: warning: attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes] DECLARE_ALIGNED(8, , struct metrics) { ^ /usr/local/ffmpeg4/include/libavutil/mem.h:117:59: note: expanded from macro 'DECLARE_ALIGNED' #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v ^ libmpcodecs/vf_filmdint.c:1333:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_filmdint.c:1333:70: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_fixpts.o libmpcodecs/vf_fixpts.c libmpcodecs/vf_fixpts.c:46:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_fixpts.c:51:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts != MP_NOPTS_VALUE && p->autostart != 0) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_fixpts.c:55:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] } else if (pts != MP_NOPTS_VALUE && p->autostep > 0) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_fixpts.c:64:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_flip.o libmpcodecs/vf_flip.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_format.o libmpcodecs/vf_format.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_framestep.o libmpcodecs/vf_framestep.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_gradfun.o libmpcodecs/vf_gradfun.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_halfpack.o libmpcodecs/vf_halfpack.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_hue.o libmpcodecs/vf_hue.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_il.o libmpcodecs/vf_il.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ilpack.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ivtc.o libmpcodecs/vf_ivtc.c libmpcodecs/vf_ivtc.c:455:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_ivtc.c:455:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_kerndeint.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_mirror.o libmpcodecs/vf_mirror.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_noformat.o libmpcodecs/vf_noformat.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_noise.o libmpcodecs/vf_noise.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ow.o libmpcodecs/vf_ow.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_palette.o libmpcodecs/vf_palette.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_phase.o libmpcodecs/vf_phase.c libmpcodecs/vf_phase.c:240:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_phase.c:240:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c libmpcodecs/vf_pp7.c:392:108: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filter(vf->priv, dmpi->planes[0], mpi->planes[0], dmpi->stride[0], mpi->stride[0], mpi->w, mpi->h, mpi->qscale, mpi->qstride, 1); ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ ^ libmpcodecs/vf_pp7.c:393:150: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filter(vf->priv, dmpi->planes[1], mpi->planes[1], dmpi->stride[1], mpi->stride[1], mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, mpi->qstride, 0); ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ ^ libmpcodecs/vf_pp7.c:394:150: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filter(vf->priv, dmpi->planes[2], mpi->planes[2], dmpi->stride[2], mpi->stride[2], mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, mpi->qstride, 0); ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma){ ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_pullup.o libmpcodecs/vf_pullup.c libmpcodecs/vf_pullup.c:233:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_pullup.c:233:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_pullup.c:252:39: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_pullup.c:252:55: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_rectangle.o libmpcodecs/vf_rectangle.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_remove_logo.c libmpcodecs/vf_remove_logo.c:355:10: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char * current_pixel = mask->pixel; /* This stores the actual pixel data. */ ^ ~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:369:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] current_pixel = mask->pixel; ^ ~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:564:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] end_position = new_pgm->pixel + image_size; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:565:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (write_position = new_pgm->pixel; write_position < end_position; write_position++) ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:630:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] current_pixel = new_pgm->pixel; ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:794:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] convert_yv12(vf, mpi->planes[0], mpi->stride[0], mpi, mpi->w, mpi->h, ^~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride, ^ libmpcodecs/vf_remove_logo.c:795:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dmpi->planes[0], dmpi->stride[0], ^~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter, ^ libmpcodecs/vf_remove_logo.c:799:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] convert_yv12(vf, mpi->planes[1], mpi->stride[1], mpi, mpi->w / 2, mpi->h / 2, ^~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride, ^ libmpcodecs/vf_remove_logo.c:800:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dmpi->planes[1], dmpi->stride[1], ^~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter, ^ libmpcodecs/vf_remove_logo.c:804:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] convert_yv12(vf, mpi->planes[2], mpi->stride[2], mpi, mpi->w / 2, mpi->h / 2, ^~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here static void convert_yv12(const vf_instance_t * const vf, const char * const source, const int source_stride, ^ libmpcodecs/vf_remove_logo.c:805:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dmpi->planes[2], dmpi->stride[2], ^~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:730:39: note: passing argument to parameter 'destination' here char * const destination, const int destination_stride, int is_image_direct, pgm_structure * filter, ^ 11 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rgbtest.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_rotate.o libmpcodecs/vf_rotate.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_scale.c:442:25: warning: passing 'uint8_t *[4]' (aka 'unsigned char *[4]') to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(sws1, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2); ^~~~ /usr/local/ffmpeg4/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]' (aka 'unsigned char *[4]') to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(sws2, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2); ^~~~ /usr/local/ffmpeg4/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:449:25: warning: passing 'uint8_t *[4]' (aka 'unsigned char *[4]') to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(sws1, src2, src_stride, y, h, dst, dst_stride); ^~~~ /usr/local/ffmpeg4/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:733:50: warning: initializing 'void *' with an expression of type 'const m_obj_presets_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"presize", 0, CONF_TYPE_OBJ_PRESETS, 0, 0, 0, &size_preset}, ^~~~~~~~~~~~ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c libmpcodecs/vf_softpulldown.c:64:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_softpulldown.c:64:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_softpulldown.c:100:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_softpulldown.c:100:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_softpulldown.c:103:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_softpulldown.c:103:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c In file included from libmpcodecs/vf_stereo3d.c:32: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_telecine.o libmpcodecs/vf_telecine.c libmpcodecs/vf_telecine.c:66:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_telecine.c:66:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_telecine.c:80:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_telecine.c:80:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_telecine.c:95:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_telecine.c:95:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c In file included from libmpcodecs/vf_tfields.c:31: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tfields.c:395:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tfields.c:425:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tfields.c:451:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_tile.o libmpcodecs/vf_tile.c libmpcodecs/vf_tile.c:187:44: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tile.c:187:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_tinterlace.c libmpcodecs/vf_tinterlace.c:79:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:79:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:84:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:84:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:88:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:88:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:119:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:119:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:169:47: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_tinterlace.c:169:63: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c In file included from libmpcodecs/vf_vo.c:25: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c In file included from libmpcodecs/vf_yadif.c:34: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_yadif.c:447:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c In file included from libmpdemux/asfheader.c:32: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/asfheader.c:142:12: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] uint8_t *buffer = &buf[0]; ^ ~~~~~~~ libmpdemux/asfheader.c:150:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer = &buf[pos]; ^ ~~~~~~~~~ libmpdemux/asfheader.c:444:78: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!asf_init_audio_stream(demuxer, asf, sh_audio, streamh, audio_pos, hdr + audio_pos, hdr_len)) ^~~~~~~~~~~~~~~ libmpdemux/asfheader.c:343:145: note: passing argument to parameter 'buffer' here static int asf_init_audio_stream(demuxer_t *demuxer,struct asf_priv* asf, sh_audio_t* sh_audio, ASF_stream_header_t *streamh, int pos, uint8_t* buffer, unsigned hdr_len) ^ libmpdemux/asfheader.c:479:74: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!asf_init_audio_stream(demuxer, asf, sh_audio, streamh, pos, hdr + pos, hdr_len)) ^~~~~~~~~ libmpdemux/asfheader.c:343:145: note: passing argument to parameter 'buffer' here static int asf_init_audio_stream(demuxer_t *demuxer,struct asf_priv* asf, sh_audio_t* sh_audio, ASF_stream_header_t *streamh, int pos, uint8_t* buffer, unsigned hdr_len) ^ libmpdemux/asfheader.c:488:18: warning: initializing 'uint8_t *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] uint8_t *buffer = hdr + pos; ^ ~~~~~~~~~ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c In file included from libmpdemux/aviheader.c:29: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c In file included from libmpdemux/aviprint.c:27: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c In file included from libmpdemux/demuxer.c:33: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:240:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value] d->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:241:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] d->reference_clock = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:347:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sh->pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:632:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = stream_read(stream, dp->buffer, len); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demuxer.c:701:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (p->pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:706:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (p->stream_pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:895:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] *pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:896:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] *endpts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:919:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double max_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:925:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] *pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:928:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] *endpts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:942:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:942:54: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:964:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:971:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:974:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:1217:62: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ass_process_codec_private(sh->ass_track, sh->extradata, ^~~~~~~~~~~~~ /usr/local/include/ass/ass.h:702:56: note: passing argument to parameter 'data' here void ass_process_codec_private(ASS_Track *track, char *data, int size); ^ libmpdemux/demuxer.c:1404:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (demuxer->stream_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:1543:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (demuxer->stream_pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:1545:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (sh_video && sh_video->pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demuxer.c:1547:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if (sh_audio && sh_audio->pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 24 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c In file included from libmpdemux/demux_aac.c:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_aac.c:101:35: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream_read(demuxer->stream, &(priv->buf[1]), 7) < 7) ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_aac.c:166:35: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream_read(demuxer->stream, &(priv->buf[2]), 6) < 6) ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_aac.c:181:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, &(dp->buffer[8]), len-8); ^~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_aac.c:230:35: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream_read(demuxer->stream,priv->buf, 8) < 8) ^~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_asf.c:353:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream,asf->packet,asf->packetsize); ^~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_audio.o libmpdemux/demux_audio.c In file included from libmpdemux/demux_audio.c:26: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_audio.c:398:18: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s, hdr, HDR_SIZE); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:408:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s,hdr,4); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:442:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s, &hdr[HDR_SIZE - step], step); ^~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:479:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s,hdr,3); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:510:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s,hdr,4); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:519:27: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s,hdr,4); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:709:21: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s,hdr,4); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:720:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream_read(s,dp->buffer + 4,l-4) != l-4) ^~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:741:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = stream_read(s,dp->buffer,l); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:748:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = stream_read(s,dp->buffer,l); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:749:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] priv->next_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_audio.c:771:33: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,hdr,4); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_audio.c:850:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (audio_length<=0 || priv->next_pts==MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 16 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c In file included from libmpdemux/demux_avi.c:31: libmpdemux/demuxer.h:292: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:293: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:294: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:521:24: warning: absolute value function 'abs' given an argument of type '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:521:24: note: use function 'labs' instead if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB ^~~ labs 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_demuxers.o libmpdemux/demux_demuxers.c In file included from libmpdemux/demux_demuxers.c:26: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_film.o libmpdemux/demux_film.c In file included from libmpdemux/demux_film.c:37: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_film.c:126:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream_read(demuxer->stream, dp->buffer, film_chunk.chunk_size) != ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_film.c:160:25: warning: incompatible pointer types initializing 'unsigned short *' with an expression of type 'unsigned char *' [-Wincompatible-pointer-types] unsigned short* tmp = dp->buffer; ^ ~~~~~~~~~~ libmpdemux/demux_film.c:186:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream_read(demuxer->stream, dp->buffer, 10) != 10) ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_film.c:190:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream_read(demuxer->stream, dp->buffer + 10, ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_fli.o libmpdemux/demux_fli.c In file included from libmpdemux/demux_fli.c:31: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_fli.c:100:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, header + sizeof(BITMAPINFOHEADER), 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_lmlm4.o libmpdemux/demux_lmlm4.c In file included from libmpdemux/demux_lmlm4.c:33: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mf.o libmpdemux/demux_mf.c In file included from libmpdemux/demux_mf.c:33: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c In file included from libmpdemux/demux_mkv.c:32: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_mkv.c:532:44: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s, e.comp_settings, l); ^~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mkv.c:1583:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dst + 8, cnt); ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mkv.c:2649:50: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] handle_subtitles(demuxer, track, block, length, block_duration, ^~~~~ libmpdemux/demux_mkv.c:2321:36: note: passing argument to parameter 'block' here char *block, int64_t size, ^ libmpdemux/demux_mkv.c:2740:40: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream_read(s, block, block_length) != ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mkv.c:2813:40: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream_read(s, block, block_length) != ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mov.o libmpdemux/demux_mov.c In file included from libmpdemux/demux_mov.c:54: ./loader/qtx/qtxsdk/components.h:705:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] x=((char*)(&id->clutID))+2; ^~~~~~~~~~~~~~~~~~~~~~~~~ ./loader/qtx/qtxsdk/components.h:783:16: warning: incompatible pointer types initializing 'unsigned int *' with an expression of type 'OSType **' (aka 'int **') [-Wincompatible-pointer-types] unsigned int* p=cd->wantedDestinationPixelTypes; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libmpdemux/demux_mov.c:61: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_mov.c:1465:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,cmov_buf,cmov_sz); ^~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mov.c:1653:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, trak->tkdata, trak->tkdata_len); ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mov.c:1771:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, trak->stdata, trak->stdata_len); ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mov.c:2207:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,dp->buffer+trak->stream_header_len,x); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 9 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mpg.o libmpdemux/demux_mpg.c In file included from libmpdemux/demux_mpg.c:29: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_mpg.c:603:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = stream_read(demux->stream,dp->buffer,len); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mpg.c:306:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_mpg.c:790:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read = stream_read(s, &buf[unused], -unused); ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mpg.c:808:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = stream_read(demux->stream, pack->buffer, STREAM_BUFFER_SIZE); ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mpg.c:1020:27: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break; ^ libmpdemux/demux_mpg.c:1020:27: note: use function 'fabsf' instead if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break; ^~~ fabsf 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_nsv.o libmpdemux/demux_nsv.c In file included from libmpdemux/demux_nsv.c:35: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_nsv.c:74:33: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,hdr,7); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:87:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,hdr+7,17-7); ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:88:45: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,hdr,7); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:116:39: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read( demuxer->stream, aux, 6); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:171:33: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,hdr,4); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:178:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,hdr+4,17-4); ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:188:41: warning: passing 'unsigned char[17]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,hdr,17); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:189:56: warning: passing 'unsigned char[17]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream_eof(demuxer->stream) || strncmp(hdr, "NSVs", 4)) ^~~ /usr/include/string.h:106: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((demuxer->audio->id != -2) && strncmp(hdr+8,"NONE", 4)){//&&strncmp(hdr+8,"VLB ", 4)){ ^~~~~ /usr/include/string.h:106: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((demuxer->video->id != -2) && strncmp(hdr+4,"NONE", 4)) { ^~~~~ /usr/include/string.h:106: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,buf,10); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:250:53: warning: passing 'unsigned char[10]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,buf,10); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_nsv.c:255:57: warning: passing 'unsigned char[10]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,buf,10); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 16 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_pva.o libmpdemux/demux_pva.c In file included from libmpdemux/demux_pva.c:40: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_pva.c:117:30: warning: passing 'uint8_t[5]' (aka 'unsigned char[5]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,buffer,5); ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_pva.c:282:25: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(d->stream,buffer,3); ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_pva.c:333:27: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(d->stream,buffer,pes_head_len); ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_pva.c:415:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream,dp->buffer,current_payload.size); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_pva.c:446:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream,dp->buffer,current_payload.size); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c In file included from libmpdemux/demux_rawaudio.c:29: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_rawaudio.c:92:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l = stream_read(demuxer->stream,dp->buffer,l); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_rawvideo.o libmpdemux/demux_rawvideo.c In file included from libmpdemux/demux_rawvideo.c:29: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_realaud.o libmpdemux/demux_realaud.c In file included from libmpdemux/demux_realaud.c:31: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_realaud.c:110:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, ra_priv->audio_buf, ra_priv->sub_packet_h * ra_priv->frame_size); ^~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_realaud.c:134:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, ra_priv->audio_buf + x * 2 *ra_priv->frame_size + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_realaud.c:148:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dp->buffer, len); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_real.o libmpdemux/demux_real.c In file included from libmpdemux/demux_real.c:49: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_real.c:570:54: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &priv->kf_base, &priv->kf_pts, ^~~~~~~~~~~~~ libmpdemux/demux_real.c:497:115: note: passing argument to parameter 'kf_pts' here double real_fix_timestamp(unsigned char *buf, unsigned int timestamp, unsigned int format, int64_t *kf_base, int *kf_pts, double *pts){ ^ libmpdemux/demux_real.c:735:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dp->buffer, sub_packet_lengths[i]); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:761:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, priv->audio_buf + x * 2 * w + spc * cfs, cfs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:767:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, priv->audio_buf + sps * (sph * x + ((sph + 1) / 2) * (spc & 1) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:773:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, priv->audio_buf + spc * w, w); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:825:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dp->buffer, len); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:1002:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dp_data+dp_hdr->len, vpkg_offset); ^~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:1017:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dp_data+dp_hdr->len, len); ^~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:1041:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dp_data, len); ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:1057:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, dp_data, vpkg_length); ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:801:86: warning: shifting a negative signed value is undefined [-Wshift-negative-value] priv->audio_timestamp[priv->sub_packet_cnt] = (priv->a_pts==timestamp) ? MP_NOPTS_VALUE : (timestamp/1000.0); ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_real.c:1484:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, sh->codecdata, sh->codecdata_len); ^~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_real.c:1661:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, ((unsigned char*)(sh->bih+1)), cnt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 16 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_roq.o libmpdemux/demux_roq.c In file included from libmpdemux/demux_roq.c:33: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_smjpeg.o libmpdemux/demux_smjpeg.c In file included from libmpdemux/demux_smjpeg.c:34: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sh_audio_t *sh = new_sh_audio_aid(demuxer, priv->last_aid, es->pid, pid_lang_from_pmt(priv, es->pid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/stheader.h:144:77: note: passing argument to parameter 'lang' here sh_audio_t* new_sh_audio_aid(demuxer_t *demuxer,int id,int aid, const char *lang); ^ libmpdemux/demux_ts.c:410:67: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sh_sub_t *sh = new_sh_sub_sid(demuxer, priv->last_sid, es->pid, pid_lang_from_pmt(priv, es->pid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/stheader.h:148:75: note: passing argument to parameter 'lang' here sh_sub_t *new_sh_sub_sid(demuxer_t *demuxer, int id, int sid, const char *lang); ^ libmpdemux/demux_ts.c:412:12: warning: 22 enumeration values not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch] switch (es->type) { ^~~~~~~~ libmpdemux/demux_ts.c:466:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] _read = stream_read(demuxer->stream, &buf[1], buf_size-1); ^~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_ts.c:616:15: warning: passing 'uint8_t[4]' (aka 'unsigned char[4]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strncmp(pmt->es[j].lang, lang, 3) == 0) ^~~~~~~~~~~~~~~ /usr/include/string.h:106: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frame_length = mp_a52_framesize(&buf[cnt], &srate); ^~~~~~~~~ libmpdemux/parse_es.h:43:31: note: passing argument to parameter 'buf' here int mp_a52_framesize(uint8_t *buf, int *srate); ^ libmpdemux/demux_ts.c:1077:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] demuxer->reference_clock = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_ts.c:1566:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if ((stream_id == 0xfa)) ~~~~~~~~~~^~~~~~~ libmpdemux/demux_ts.c:1566:22: note: remove extraneous parentheses around the comparison to silence this warning else if ((stream_id == 0xfa)) ~ ^ ~ libmpdemux/demux_ts.c:1566:22: note: use '=' to turn this equality comparison into an assignment else if ((stream_id == 0xfa)) ^~ = libmpdemux/demux_ts.c:2341:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d = &ptr[j+2]; ^ ~~~~~~~~~ libmpdemux/demux_ts.c:2731:7: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] if(abs(diff) > 1) //1 second, there's a discontinuity ^ libmpdemux/demux_ts.c:2731:7: note: use function 'fabsf' instead if(abs(diff) > 1) //1 second, there's a discontinuity ^~~ fabsf libmpdemux/demux_ts.c:2718:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_ts.c:2787:17: warning: initializing 'unsigned char *' with an expression of type 'char[204]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *packet = priv->packet; ^ ~~~~~~~~~~~~ libmpdemux/demux_ts.c:2834:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = stream_read(stream, &packet[1], 3); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_ts.c:2909:25: warning: passing 'uint8_t[188]' (aka 'unsigned char[188]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(stream, pcrbuf, c); ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_ts.c:3032:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = &packet[base]; ^ ~~~~~~~~~~~~~ libmpdemux/demux_ts.c:3041:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = &((*dp)->buffer[*dp_offset]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_ts.c:3054:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] parse_pat(priv, is_start, p, buf_size); ^ libmpdemux/demux_ts.c:1746:69: note: passing argument to parameter 'buff' here static int parse_pat(ts_priv_t * priv, int is_start, unsigned char *buff, int size) ^ libmpdemux/demux_ts.c:3101:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = pes_parse2(p, buf_size, es, pid_type, pmt, pid); ^ libmpdemux/demux_ts.c:1374:38: note: passing argument to parameter 'buf' here static int pes_parse2(unsigned char *buf, uint16_t packet_len, ES_stream_t *es, int32_t type_from_pmt, pmt_t *pmt, int pid) ^ libmpdemux/demux_ts.c:3252:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] demuxer->reference_clock = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 25 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_ty.c:202:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] count = stream_read( demux->stream, buff, CHUNKSIZE ); ^~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_ty.c:267:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_ty.c:291:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_ty.c:379:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] readSize = stream_read( demux->stream, chunk, CHUNKSIZE ); ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_ty.c:401:61: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] readSize = stream_read( demux->stream, chunk, CHUNKSIZE ); ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_ty.c:457:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] readSize = stream_read( demux->stream, chunk, CHUNKSIZE ); ^~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_ty.c:730:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] tivo->lastAudioPTS = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_ty.c:731:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] tivo->lastVideoPTS = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 11 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_ty_osd.o libmpdemux/demux_ty_osd.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_viv.o libmpdemux/demux_viv.c In file included from libmpdemux/demux_viv.c:34: libmpdemux/demuxer.h:292: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:293: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:294: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:265:33: warning: passing 'unsigned char[2304]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,buf,len); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_viv.c:272:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strncmp(buf+i,"Version:Vivo/",13)) return 0; // bad version/type! ^~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ libmpdemux/demux_viv.c:412:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream,dp->buffer+dp->len,len); ^~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_viv.c:424:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream,dp->buffer,len); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_vqf.o libmpdemux/demux_vqf.c In file included from libmpdemux/demux_vqf.c:29: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_vqf.c:200:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] l=stream_read(demuxer->stream,dp->buffer,l); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c In file included from libmpdemux/demux_y4m.c:36: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_y4m.c:124:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream, buf[0], size); ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_y4m.c:125:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream, buf[1], size/4); ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_y4m.c:126:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream, buf[2], size/4); ^~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/ebml.o libmpdemux/ebml.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/extension.o libmpdemux/extension.c In file included from libmpdemux/extension.c:27: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mf.o libmpdemux/mf.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mp3_hdr.o libmpdemux/mp3_hdr.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_hdr.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/parse_es.o libmpdemux/parse_es.c In file included from libmpdemux/parse_es.c:31: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c libmpdemux/parse_mp4.c:135:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s, esds->decoderConfig, esds->decoderConfigLen); ^~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/parse_mp4.c:151:20: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(s, esds->SLConfig, esds->SLConfigLen); ^~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/video.o libmpdemux/video.c In file included from libmpdemux/video.c:35: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/video.c:632:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/video.c:651:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/video.c:660:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double d = (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts - pts1; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg.c libmpdemux/yuv4mpeg.c:601:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (y4m_read(s, yuv[0], w*h)) return Y4M_ERR_SYSTEM; ^~~~~~ libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here ssize_t y4m_read(stream_t *s, char *buf, size_t len) ^ libmpdemux/yuv4mpeg.c:603:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (y4m_read(s, yuv[1], w*h/4)) return Y4M_ERR_SYSTEM; ^~~~~~ libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here ssize_t y4m_read(stream_t *s, char *buf, size_t len) ^ libmpdemux/yuv4mpeg.c:604:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (y4m_read(s, yuv[2], w*h/4)) return Y4M_ERR_SYSTEM; ^~~~~~ libmpdemux/yuv4mpeg.c:61:37: note: passing argument to parameter 'buf' here ssize_t y4m_read(stream_t *s, char *buf, size_t len) ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/getch2.o osdep/getch2.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/timer-linux.o osdep/timer-linux.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/open.o stream/open.c In file included from stream/open.c:37: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream.o stream/stream.c In file included from stream/stream.c:46: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/stream.c:165:55: warning: initializing 'void *' with an expression of type 'const void *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "stream url", arg , CONF_TYPE_CUSTOM_URL, 0, 0 ,0, sinfo->opts }; ^~~~~~~~~~~ stream/stream.c:382:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rd = s->write_buffer(s, buf, len); ^~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_bd.o stream/stream_bd.c In file included from stream/stream_bd.c:30: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/stream_bd.c:192:35: warning: passing 'char[1024]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (stream_read_line(file, line, sizeof(line), 0)) { ^~~~ stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ stream/stream_bd.c:260:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(file, buf, file_size); ^~~ stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ stream/stream_bd.c:320:44: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_len = stream_read(bd->title_file, buf, len); ^~~ stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ stream/stream_bd.c:363:28: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_len = bd_read(bd, buf, len); ^~~ stream/stream_bd.c:312:53: note: passing argument to parameter 'buf' here static int64_t bd_read(struct bd_priv *bd, uint8_t *buf, int len) ^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_cue.o stream/stream_cue.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_file.o stream/stream_file.c In file included from stream/stream_file.c:40: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/stream_file.c:98:30: warning: passing 'unsigned char[8192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len=s->fill_buffer(s,s->buffer,STREAM_BUFFER_SIZE); ^~~~~~~~~ stream/stream_file.c:161:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filename = p->filename; ^ ~~~~~~~~~~~ stream/stream_file.c:163:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filename = p->filename2; ^ ~~~~~~~~~~~~ stream/stream_file.c:180:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!strcmp(filename,"-")){ ^~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ stream/stream_file.c:201:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] f=open(filename,m, openmode); ^~~~~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_mf.o stream/stream_mf.c In file included from stream/stream_mf.c:29: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_null.o stream/stream_null.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/url.o stream/url.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/eosd.o sub/eosd.c In file included from sub/eosd.c:22: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/find_sub.o sub/find_sub.c In file included from sub/find_sub.c:31: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/osd.o sub/osd.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/spudec.o sub/spudec.c sub/spudec.c:902:16: warning: passing 'unsigned char **' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(ctx,&s2,&ss,0,sh,&d2,&ds); ^~~ /usr/local/ffmpeg4/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:1282:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(ptr, "size: ", 6)) ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ sub/spudec.c:1283:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(ptr + 6, "%dx%d", &this->orig_frame_width, &this->orig_frame_height); ^~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ sub/spudec.c:1284:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(ptr, "palette: ", 9) && ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ sub/spudec.c:1285:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(ptr + 9, "%x, %x, %x, %x, %x, %x, %x, %x, " ^~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ sub/spudec.c:1295:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!av_strncasecmp(ptr, "forced subs: on", 15)) ^~~ /usr/local/ffmpeg4/include/libavutil/avstring.h:272:32: note: passing argument to parameter 'a' here int av_strncasecmp(const char *a, const char *b, size_t n); ^ sub/spudec.c:1297:18: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(ptr, "custom colors: ON, tridx: ", 26) && ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ sub/spudec.c:1298:16: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(ptr + 26, "%x, colors: %x, %x, %x, %x", ^~~~~~~~ /usr/include/stdio.h:287:36: note: passing argument to parameter here int sscanf(const char * __restrict, const char * __restrict, ...); ^ sub/spudec.c:1307:24: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } while ((ptr=strchr(ptr,'\n')) && *++ptr); ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ sub/spudec.c:1307:16: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } while ((ptr=strchr(ptr,'\n')) && *++ptr); ^~~~~~~~~~~~~~~~~ sub/spudec.c:1440:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ sub/spudec.c:1377:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/spudec.c:1442:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (endpts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ sub/spudec.c:1377:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 12 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -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:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/sub.c:202:14: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const char *cp=vo_osd_text; ^ ~~~~~~~~~~~ sub/sub.c:223:4: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp=vo_osd_text; ^~~~~~~~~~~~ sub/sub.c:717:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t=vo_sub->text[i++]; ^~~~~~~~~~~~~~~~~~ sub/sub.c:719:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char_seq = calloc(strlen(t), sizeof(int)); ^ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t += strlen(t); // end here ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 9 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/sub_cc.o sub/sub_cc.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/subreader.o sub/subreader.c In file included from sub/subreader.c:37: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/subreader.c:143:37: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:143:14: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(s = stream_read_line(st, line, LINE_LEN, utf16))) return 0; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/subreader.c:250:49: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) { ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:250:25: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (state != 99 && !(s = stream_read_line (st, line, LINE_LEN, utf16))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/subreader.c:314:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:338:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:355:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:360:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:388:35: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line(st, line, LINE_LEN, utf16)) ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:403:39: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line(st, line, LINE_LEN, utf16)) ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:447:29: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:454:33: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) break; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:499:36: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:506:40: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) break; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:532:30: warning: passing 'char[1001]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream_read_line (st, line, LINE_LEN, utf16)) return NULL; ^~~~ ./stream/stream.h:303:63: note: passing argument to parameter 'mem' here static inline uint8_t *stream_read_line(stream_t *s, uint8_t *mem, ^ sub/subreader.c:571:21: warning: passing 'uint8_t[1001]' (aka 'unsigned char[1001]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } while (sscanf(part, "= endpts)) { ^~~~~~~~~~~~~~ sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) ~~~~^ sub/subreader.c:2656:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { ^~~~~~~~~~~~~~ sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) ~~~~^ 37 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/vobsub.o sub/vobsub.c In file included from sub/vobsub.c:36: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/vobsub.c:1071:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (lang && strlen(lang) >= 2) { ^~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((strncmp(vob->spu_streams[i].id, lang, 2) == 0)) { ^~~~ /usr/include/string.h:106:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_dvdnav.o stream/stream_dvdnav.c In file included from stream/stream_dvdnav.c:30: ./libmpdemux/demuxer.h:292: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:293: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:294: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dvdnav_get_next_block(priv->dvdnav,buf,&event,&len); ^~~ /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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while(language && strlen(language)>=2) { ^~~~~~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while(language && strlen(language)>=2) { ^~~~~~~~ /usr/include/string.h:101: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_dvd.o stream/stream_dvd.c In file included from stream/stream_dvd.c:43: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/stream_dvd.c:133:18: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while(strlen(lang)>=2) { ^~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while(lang && strlen(lang)>=2) { ^~~~ /usr/include/string.h:101: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pos = dvd_read_sector(s->priv, buf); ^~~ stream/stream_dvd.c:216:58: note: passing argument to parameter 'data' here static int dvd_read_sector(dvd_priv_t *d, unsigned char *data) ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libvo/aclib.o libvo/aclib.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o av_helpers.o av_helpers.c av_helpers.c:153:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 1 warning generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o av_opts.o av_opts.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c libaf/af_lavcresample.c:147:30: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] av_fast_malloc(&s->tmp[0], &s->tmp_alloc, FFALIGN(out_len,32)); ^~~~~~~~~~~~~ /usr/local/ffmpeg4/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/ffmpeg4/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/ffmpeg4/include/libswresample/swresample.h:307:49: note: passing argument to parameter 'in' here const uint8_t **in , int in_count); ^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c In file included from libmpcodecs/ad_ffmpeg.c:28: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] x=decode_audio(sh_audio,sh_audio->a_buffer,1,sh_audio->a_buffer_size); ^~~~~~~~~~~~~~~~~~ libmpcodecs/ad_internal.h:35:55: note: passing argument to parameter 'buffer' here static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,int maxlen); ^ libmpcodecs/ad_ffmpeg.c:351:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ad_ffmpeg.c:331:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ds_parse(sh_audio->ds, &start, &x, MP_NOPTS_VALUE, 0); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/ad_ffmpeg.c:354: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 ~~~~^ 7 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c In file included from libmpcodecs/ad_spdif.c:23: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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:134:48: warning: incompatible pointer types passing 'AVDictionary *' (aka 'struct AVDictionary *') to parameter of type 'AVDictionary **' (aka 'struct AVDictionary **'); take the address with & [-Wincompatible-pointer-types] if ((res = avformat_write_header(lavf_ctx, opts)) < 0) { ^~~~ & /usr/local/ffmpeg4/include/libavformat/avformat.h:2448:62: note: passing argument to parameter 'options' here int avformat_write_header(AVFormatContext *s, AVDictionary **options); ^ libmpcodecs/ad_spdif.c:148: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:256:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ad_spdif.c:241: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:262:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 8 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c In file included from libmpcodecs/vd_ffmpeg.c:38: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vd_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:900:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/vd_ffmpeg.c:1033:13: warning: returning 'const mp_image_t *' (aka 'const struct mp_image *') from a function with result type 'mp_image_t *' (aka 'struct mp_image *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return &mpi_no_picture; // H.264 first field only ^~~~~~~~~~~~~~~ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_geq.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavc.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_lavcdeint.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_screenshot.o libmpcodecs/vf_screenshot.c libmpcodecs/vf_screenshot.c:63:34: warning: passing 'unsigned char **' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(vf->priv->ctx, src, stride, y, h, vf->priv->pic->data, vf->priv->pic->linesize); ^~~ /usr/local/ffmpeg4/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_screenshot.c:161:26: warning: passing 'unsigned char *[4]' to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(priv->ctx, mpi->planes, mpi->stride, 0, mpi->height, priv->pic->data, priv->pic->linesize); ^~~~~~~~~~~ /usr/local/ffmpeg4/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_lavf.o libmpdemux/demux_lavf.c In file included from libmpdemux/demux_lavf.c:33: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_lavf.c:93:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret=stream_read(stream, buf, size); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_lavf.c:189:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_size = stream_read(demuxer->stream, avpd.buf + probe_data_size, read_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_lavf.c:338:21: warning: 484 enumeration values not handled in switch: 'AV_CODEC_ID_NONE', 'AV_CODEC_ID_MPEG1VIDEO', 'AV_CODEC_ID_MPEG2VIDEO'... [-Wswitch] switch (codec->codec_id) { ^~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:370:103: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'int *' [-Wincompatible-pointer-types] AVReplayGain *rg = (AVReplayGain*)av_stream_get_side_data(st, AV_PKT_DATA_REPLAYGAIN, &rg_size); ^~~~~~~~ /usr/local/ffmpeg4/include/libavformat/avformat.h:2107:71: note: passing argument to parameter 'size' here enum AVPacketSideDataType type, int *size); ^ libmpdemux/demux_lavf.c:381:28: warning: incompatible pointer types initializing 'const int32_t *' (aka 'const int *') with an expression of type 'uint8_t *' (aka 'unsigned char *') [-Wincompatible-pointer-types] const int32_t *disp_matrix = av_stream_get_side_data(st, AV_PKT_DATA_DISPLAYMATRIX, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:612:48: warning: passing 'const AVInputFormat *' (aka 'const struct AVInputFormat *') to parameter of type 'AVInputFormat *' (aka 'struct AVInputFormat *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if(avformat_open_input(&avfc, mp_filename, priv->avif, &opts)<0){ ^~~~~~~~~~ /usr/local/ffmpeg4/include/libavformat/avformat.h:2226:90: note: passing argument to parameter 'fmt' here int avformat_open_input(AVFormatContext **ps, const char *url, ff_const59 AVInputFormat *fmt, AVDictionary **options); ^ libmpdemux/demux_lavf.c:717:85: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'int *' [-Wincompatible-pointer-types] const uint8_t *pal = av_packet_get_side_data(&pkt, AV_PKT_DATA_PALETTE, &size); ^~~~~ /usr/local/ffmpeg4/include/libavcodec/packet.h:628:39: note: passing argument to parameter 'size' here int *size); ^ libmpdemux/demux_lavf.c:684:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpdemux/demux_lavf.c:893:24: warning: 4 enumeration values not handled in switch: 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch] switch(priv->avfc->streams[program->stream_index[i]]->codecpar->codec_type) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_ffmpeg.o stream/stream_ffmpeg.c In file included from stream/stream_ffmpeg.c:28: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/stream_ffmpeg.c:34:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int r = avio_read(s->priv, buffer, max_len); ^~~~~~ /usr/local/ffmpeg4/include/libavformat/avio.h:613:46: note: passing argument to parameter 'buf' here int avio_read(AVIOContext *s, unsigned char *buf, int size); ^ stream/stream_ffmpeg.c:41:25: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] avio_write(s->priv, buffer, len); ^~~~~~ /usr/local/ffmpeg4/include/libavformat/avio.h:480:54: note: passing argument to parameter 'buf' here void avio_write(AVIOContext *s, const unsigned char *buf, int size); ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/av_sub.o sub/av_sub.c In file included from sub/av_sub.c:20: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/av_sub.c:103:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/local/ffmpeg4/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/local/ffmpeg4/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ sub/av_sub.c:148:19: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *data = strdup(sub.rects[0]->text); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/av_sub.c:149:28: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *size = strlen(*data); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sub/av_sub.c:153:19: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *data = strdup(sub.rects[0]->ass); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sub/av_sub.c:154:28: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *size = strlen(*data); ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ sub/av_sub.c:140:17: warning: enumeration value 'SUBTITLE_NONE' not handled in switch [-Wswitch] switch (sub.rects[0]->type) { ^~~~~~~~~~~~~~~~~~ sub/av_sub.c:107:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (*pts != MP_NOPTS_VALUE && *endpts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/av_sub.c:107:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (*pts != MP_NOPTS_VALUE && *endpts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/av_sub.c:132:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (*pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 12 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/font_load_ft.o sub/font_load_ft.c In file included from sub/font_load_ft.c:51: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/font_load_ft.c:374:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src*mwidth; ^ ~~~~~~~~~~~~~~~ sub/font_load_ft.c:386:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src*mwidth; ^ ~~~~~~~~~~~~~~~ sub/font_load_ft.c:399:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src*mwidth; ^ ~~~~~~~~~~~~~~~ sub/font_load_ft.c:418:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src2*mwidth; ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:434:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src2*mwidth; ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:451:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src2*mwidth; ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:604:7: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] desc->tables.gt2, desc->tables.g_r, ^~~~~~~~~~~~~~~~ sub/font_load_ft.c:358:7: note: passing argument to parameter 'm2' here int *m2, ^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_ftp.o stream/stream_ftp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_bmovl.o libmpcodecs/vf_bmovl.c libmpcodecs/vf_bmovl.c:267:77: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:267:93: warning: shifting a negative signed value is undefined [-Wshift-negative-value] else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:270:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:270:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:289:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:289:57: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:350:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:350:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:408:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:408:74: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:463:40: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_bmovl.c:463:56: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 12 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libaf/af_export.o libaf/af_export.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/mmap_anon.o osdep/mmap_anon.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_ijpg.o libmpcodecs/vd_ijpg.c In file included from libmpcodecs/vd_ijpg.c:34: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vd_ijpg.c:123:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] src->inbuf = inbuf; ^ ~~~~~ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_ass.o libmpcodecs/vf_ass.c In file included from libmpcodecs/vf_ass.c:33: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/ass_mp.o sub/ass_mp.c In file included from sub/ass_mp.c:26: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ sub/ass_mp.c:342:3: warning: 'ass_set_aspect_ratio' is deprecated: use 'ass_set_pixel_aspect' instead [-Wdeprecated-declarations] ass_set_aspect_ratio(ass_renderer, dar, (double)res->srcw / res->srch); ^ /usr/local/include/ass/ass.h:483:1: note: 'ass_set_aspect_ratio' has been explicitly marked deprecated here ASS_DEPRECATED("use 'ass_set_pixel_aspect' instead") ^ /usr/local/include/ass/ass.h:35:52: note: expanded from macro 'ASS_DEPRECATED' #define ASS_DEPRECATED(msg) __attribute__((deprecated(msg))) ^ sub/ass_mp.c:347:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] aimg = sub_visibility && ass_track && ts != MP_NOPTS_VALUE ? ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/subassconvert.o sub/subassconvert.c sub/subassconvert.c:251:37: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag->face.start = line; ^ ~~~~ sub/subassconvert.c:363:35: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag.data_string.start = s; ^ ~ sub/subassconvert.c:387:35: warning: assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tag.data_string.start = s; ^ ~ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_bluray.o stream/stream_bluray.c In file included from stream/stream_bluray.c:36: ./libmpdemux/demuxer.h:292: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:293: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:294: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_bluray.c:111:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return bd_read(b->bd, buf, len); ^~~ /usr/local/include/libbluray/bluray.h:524:40: note: passing argument to parameter 'buf' here int bd_read(BLURAY *bd, unsigned char *buf, int len); ^ stream/stream_bluray.c:145:20: warning: passing 'const uint8_t[4]' (aka 'const unsigned char[4]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strstr(si->lang, lang)) { ^~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_smb.o stream/stream_smb.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpdemux/demux_mng.o libmpdemux/demux_mng.c In file included from libmpdemux/demux_mng.c:33: libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_rtsp.o stream/stream_rtsp.c In file included from stream/stream_rtsp.c:41: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/freesdp/common.o stream/freesdp/common.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/freesdp/errorlist.o stream/freesdp/errorlist.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/freesdp/parser.o stream/freesdp/parser.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/librtsp/rtsp.o stream/librtsp/rtsp.c stream/librtsp/rtsp.c:593:11: warning: address of array 's->answers' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!s->answers) return NULL; ~~~~^~~~~~~ stream/librtsp/rtsp.c:705:11: warning: address of array 's->scheduled' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!s->scheduled) return; ~~~~^~~~~~~~~ stream/librtsp/rtsp.c:722:11: warning: address of array 's->answers' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!s->answers) return; ~~~~^~~~~~~ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_rtp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/librtsp/rtsp_session.o stream/librtsp/rtsp_session.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_netstream.o stream/stream_netstream.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/asf_mmst_streaming.o stream/asf_mmst_streaming.c In file included from stream/asf_mmst_streaming.c:43: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/asf_mmst_streaming.c:185:23: warning: passing 'char[102400]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] command = get_32 (data, 36) & 0xFFFF; ^~~~ stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here static uint32_t get_32 (unsigned char *cmd, int offset) ^ stream/asf_mmst_streaming.c:227:23: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!get_data (s, pre_header, 8)) { ^~~~~~~~~~ stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here static int get_data (int s, char *buf, size_t count) ^ stream/asf_mmst_streaming.c:244:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!get_data (s, &header[header_len], packet_len)) { ^~~~~~~~~~~~~~~~~~~ stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here static int get_data (int s, char *buf, size_t count) ^ stream/asf_mmst_streaming.c:254:47: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( streaming_bufferize( streaming_ctrl, header, header_len )<0 ) { ^~~~~~ stream/network.h:76:66: note: passing argument to parameter 'buffer' here int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size); ^ stream/asf_mmst_streaming.c:290:25: warning: passing 'char[102400]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] command = get_32 (data, 24) & 0xFFFF; ^~~~ stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here static uint32_t get_32 (unsigned char *cmd, int offset) ^ stream/asf_mmst_streaming.c:395:21: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!get_data (s, pre_header, 8)) { ^~~~~~~~~~ stream/asf_mmst_streaming.c:192:35: note: passing argument to parameter 'buf' here static int get_data (int s, char *buf, size_t count) ^ stream/asf_mmst_streaming.c:454:23: warning: passing 'char[102400]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] command = get_32 (data, 24) & 0xFFFF; ^~~~ stream/asf_mmst_streaming.c:91:40: note: passing argument to parameter 'cmd' here static uint32_t get_32 (unsigned char *cmd, int offset) ^ 10 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/asf_streaming.o stream/asf_streaming.c In file included from stream/asf_streaming.c:29: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/asf_streaming.c:56:42: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int got = nop_streaming_read(fd, buf, len, stream_ctrl); ^~~ stream/network.h:78:39: note: passing argument to parameter 'buffer' here int nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl ); ^ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/cookies.o stream/cookies.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/http.o stream/http.c In file included from stream/http.c:41: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/http.c:93:29: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] info_read = my_read(fd, info, 1, sc); ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { ^ stream/http.c:95:31: warning: passing 'unsigned char[6]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] info_read = my_read(fd, info, 6, sc); ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { ^ stream/http.c:97:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] info_read += my_read(fd, &info[1], 5, sc); ^~~~~~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { ^ stream/http.c:125:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] my_read(fd, &tmp, 1, sc); ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { ^ stream/http.c:130:33: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned nlen = my_read(fd, info, metalen, sc); ^~~~ stream/http.c:62:39: note: passing argument to parameter 'buffer' here static unsigned my_read(int fd, char *buffer, int len, streaming_ctrl_t *sc) { ^ stream/http.c:638:46: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] av_base64_encode(b64_usr_pass, encoded_len, usr_pass, usr_pass_len); ^~~~~~~~ /usr/local/ffmpeg4/include/libavutil/base64.h:60:64: note: passing argument to parameter 'in' here char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); ^ 9 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/network.o stream/network.c In file included from stream/network.c:42: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/pnm.o stream/pnm.c In file included from stream/pnm.c:49: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/pnm.c:423:50: warning: passing 'const unsigned char[33]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] c+=pnm_write_chunk(PNA_CLIENT_CHALLANGE,strlen(pnm_challenge), ^~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ stream/pnm.c:424:11: warning: passing 'const unsigned char[33]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pnm_challenge,&p->buffer[c]); ^~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here const char *chunk, char *data) { ^ stream/pnm.c:426:11: warning: passing 'const unsigned char[126]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pnm_client_caps,&p->buffer[c]); ^~~~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here const char *chunk, char *data) { ^ stream/pnm.c:431:43: warning: passing 'const unsigned char[28]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] c+=pnm_write_chunk(PNA_TIMESTAMP,strlen(pnm_timestamp), ^~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ stream/pnm.c:432:11: warning: passing 'const unsigned char[28]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pnm_timestamp,&p->buffer[c]); ^~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here const char *chunk, char *data) { ^ stream/pnm.c:442:38: warning: passing 'const unsigned char[37]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] c+=pnm_write_chunk(PNA_GUID,strlen(pnm_guid), ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ stream/pnm.c:443:11: warning: passing 'const unsigned char[37]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pnm_guid,&p->buffer[c]); ^~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here const char *chunk, char *data) { ^ stream/pnm.c:445:11: warning: passing 'const unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pnm_twentyfour,&p->buffer[c]); ^~~~~~~~~~~~~~ stream/pnm.c:404:17: note: passing argument to parameter 'chunk' here const char *chunk, char *data) { ^ stream/pnm.c:453:35: warning: passing 'const unsigned char[42]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] AV_WB16(&p->buffer[c+1], strlen(client_string)-1); /* don't know why do we have -1 here */ ^~~~~~~~~~~~~ /usr/local/ffmpeg4/include/libavutil/intreadwrite.h:405:39: note: expanded from macro 'AV_WB16' # define AV_WB16(p, v) AV_WB(16, p, v) ^ /usr/local/ffmpeg4/include/libavutil/intreadwrite.h:390:51: note: expanded from macro 'AV_WB' # define AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v)) ^ /usr/local/ffmpeg4/include/libavutil/intreadwrite.h:372:39: note: expanded from macro 'AV_WN16' # define AV_WN16(p, v) AV_WN(16, p, v) ^ /usr/local/ffmpeg4/include/libavutil/intreadwrite.h:225:66: note: expanded from macro 'AV_WN' # define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v)) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ stream/pnm.c:454:47: warning: passing 'const unsigned char[42]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] memcpy(&p->buffer[c+3],client_string,strlen(client_string)+1); ^~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ stream/pnm.c:455:16: warning: passing 'const unsigned char[42]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] c=c+3+strlen(client_string)+1; ^~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ stream/pnm.c:514:61: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] chunk_size=pnm_get_chunk(p,HEADER_SIZE-size,&chunk_type,ptr,&nr); ^~~ stream/pnm.c:295:32: note: passing argument to parameter 'data' here char *data, int *need_response) { ^ stream/pnm.c:768:26: warning: passing 'const unsigned char[33]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pnm_send_response(p, pnm_response); ^~~~~~~~~~~~ stream/pnm.c:475:53: note: passing argument to parameter 'response' here static void pnm_send_response(pnm_t *p, const char *response) { ^ stream/pnm.c:785:9: warning: initializing 'char *' with an expression of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *source=this->recv + this->recv_read; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/pnm.c:806:12: warning: assigning to 'char *' from 'uint8_t[4096]' (aka 'unsigned char[4096]') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] source = this->recv; ^ ~~~~~~~~~~ 18 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/rtp.o stream/rtp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/udp.o stream/udp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/tcp.o stream/tcp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_rtp.o stream/stream_rtp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_udp.o stream/stream_udp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/asmrp.o stream/realrtsp/asmrp.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/real.o stream/realrtsp/real.c stream/realrtsp/real.c:330:34: warning: passing 'uint8_t[8]' (aka 'unsigned char[8]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n=rtsp_read_data(rtsp_session, header, 8); ^~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); ^ stream/realrtsp/real.c:347:36: warning: passing 'uint8_t[8]' (aka 'unsigned char[8]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rtsp_read_data(rtsp_session, header, 7); // Skip the rest of the eof packet ^~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); ^ stream/realrtsp/real.c:361:36: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n=rtsp_read_data(rtsp_session, header+3, 5); ^~~~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); ^ stream/realrtsp/real.c:367:36: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n=rtsp_read_data(rtsp_session, header+4, 4); ^~~~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); ^ stream/realrtsp/real.c:375:34: warning: passing 'uint8_t[8]' (aka 'unsigned char[8]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] n=rtsp_read_data(rtsp_session, header, 6); ^~~~~~ ./stream/librtsp/rtsp.h:114:37: note: passing argument to parameter 'buffer' here int rtsp_read_data(rtsp_t *s, char *buffer, unsigned int size); ^ stream/realrtsp/real.c:513:51: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] av_base64_encode(authfield + 21, b64_authlen, authstr, authlen); ^~~~~~~ /usr/local/ffmpeg4/include/libavutil/base64.h:60:64: note: passing argument to parameter 'in' here char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); ^ 6 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/rmff.o stream/realrtsp/rmff.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/sdpplin.o stream/realrtsp/sdpplin.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/realrtsp/xbuffer.o stream/realrtsp/xbuffer.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.c In file included from libmpcodecs/vd_mpng.c:31: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vf_pp.o libmpcodecs/vf_pp.c In file included from libmpcodecs/vf_pp.c:33: In file included from libmpcodecs/dec_video.h:22: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vf_pp.c:145:17: warning: passing 'unsigned char *[4]' to parameter of type 'const uint8_t **' (aka 'const unsigned char **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] pp_postprocess(mpi->planes ,mpi->stride, ^~~~~~~~~~~ /usr/local/ffmpeg4/include/libpostproc/postprocess.h:69:38: note: passing argument to parameter 'src' here void pp_postprocess(const uint8_t * src[3], const int srcStride[3], ^ libmpcodecs/vf_pp.c:148:7: warning: passing 'char *' to parameter of type 'const int8_t *' (aka 'const signed char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mpi->qscale, mpi->qstride, ^~~~~~~~~~~ /usr/local/ffmpeg4/include/libpostproc/postprocess.h:72:36: note: passing argument to parameter 'QP_store' here const int8_t *QP_store, int QP_stride, ^ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/cache2.o stream/cache2.c stream/cache2.c:280:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] s->stream_time_pos = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/cache2.c:294:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] s->stream_time_pos = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/cache2.c:650:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return s->stream_time_pos != MP_NOPTS_VALUE ? STREAM_OK : STREAM_UNSUPPORTED; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ 3 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/frequencies.o stream/frequencies.c cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_tv.o stream/stream_tv.c In file included from stream/stream_tv.c:29: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/tv.o stream/tv.c In file included from stream/tv.c:41: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ stream/tv.c:242:61: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dp->pts=tvh->functions->grab_audio_frame(tvh->priv, dp->buffer,len); ^~~~~~~~~~ stream/tv.c:254:57: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dp->pts=tvh->functions->grab_video_frame(tvh->priv, dp->buffer, len); ^~~~~~~~~~ 5 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/tvi_dummy.o stream/tvi_dummy.c In file included from stream/tvi_dummy.c:25: In file included from stream/tv.h:29: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o sub/unrar_exec.o sub/unrar_exec.c sub/unrar_exec.c:125:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *output = p; ^ ~ sub/unrar_exec.c:140:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *output = p; ^ ~ 2 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o stream/stream_vcd.o stream/stream_vcd.c In file included from stream/stream_vcd.c:56: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_xanim.o libmpcodecs/vd_xanim.c In file included from libmpcodecs/vd_xanim.c:35: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly ~~~~^ libmpcodecs/vd_xanim.c:707:27: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] codec_hdr.description = codec_idx2str(sh->codec->info_idx); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o libmpcodecs/vd_xvid4.o libmpcodecs/vd_xvid4.c In file included from libmpcodecs/vd_xvid4.c:34: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:292: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:293: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:294: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 -I/usr/local/ffmpeg4/include -DLIBICONV_PLUG -Wno-incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -fpie -DPIC -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -DZLIB_CONST -I/usr/local/include -I/usr/local/ffmpeg4/include -I/usr/local/ffmpeg4/include -I/usr/local/include -D_THREAD_SAFE -c -o osdep/shmem.o osdep/shmem.c cc -o mencoder mencoder.o parser-mecmd.o xvid_vbr.o libmpcodecs/ae.o libmpcodecs/ae_pcm.o libmpcodecs/ve.o libmpcodecs/ve_raw.o libmpdemux/muxer.o libmpdemux/muxer_avi.o libmpdemux/muxer_mpeg.o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawvideo.o libmpcodecs/ae_faac.o libmpcodecs/ae_lavc.o libmpcodecs/ve_lavc.o libmpdemux/muxer_lavf.o libmpcodecs/ve_nuv.o libmpcodecs/native/rtjpegn.o libmpcodecs/ae_lame.o libmpcodecs/ve_x264.o libmpcodecs/ve_xvid4.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o stream/stream_dvdnav.o stream/stream_dvd.o stream/stream_dvd_common.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o stream/stream_bluray.o stream/stream_smb.o libmpdemux/demux_mng.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o libmpcodecs/vd_xvid4.o osdep/shmem.o -Wl,-z,noexecstack -L/usr/local/ffmpeg4/lib -L/usr/local/lib/samba4 -fstack-protector-strong -fpie -pie /usr/lib/libncurses.so -L/usr/local/lib -lgnutls -lsmbclient -lpng -lz -lmng -lz -ljpeg -lbluray -L/usr/local/lib -ldvdread -L/usr/local/lib -lfreetype -lass -lz /usr/lib/libbz2.so -llzo2 -lgsm -lrtmp -L/usr/local/lib -lrtmp -lz -L/usr/local/ffmpeg4/lib -lswscale -lswresample -lavformat -lavcodec -lavutil -L/usr/local/ffmpeg4/lib -lpostproc -lxvidcore -lpthread -rdynamic -L/usr/local/lib -ldvdnav -pthread -lm -L/usr/local/lib -lfaac -lx264 -lpthread -lmp3lame =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mencoder-1.5.0.20240106 depends on file: /usr/local/lib/ladspa/amp.so - not found ===> Installing existing package /packages/All/ladspa-1.17_1.pkg [pkg-builder.dan.net.uk] Installing ladspa-1.17_1... [pkg-builder.dan.net.uk] `-- Installing libsndfile-1.2.2_1... [pkg-builder.dan.net.uk] | `-- Installing flac-1.4.3_1,1... [pkg-builder.dan.net.uk] | `-- Extracting flac-1.4.3_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing mpg123-1.32.5... [pkg-builder.dan.net.uk] | `-- Extracting mpg123-1.32.5: .......... done [pkg-builder.dan.net.uk] `-- Extracting libsndfile-1.2.2_1: .......... done [pkg-builder.dan.net.uk] Extracting ladspa-1.17_1: ......... done ===== Message from ladspa-1.17_1: -- ===> NOTICE: The ladspa port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> mencoder-1.5.0.20240106 depends on file: /usr/local/lib/ladspa/amp.so - found ===> Returning to build of mencoder-1.5.0.20240106 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mencoder-1.5.0.20240106 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/mencoder /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/DOCS/man/en/mplayer.1 /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/man/man1/mencoder.1 install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/aconvert.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/binary_codecs.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/calcbpp.pl /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/checktree.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/countquant.pl /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/divx2svcd.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/dvd2divxscript.pl /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/edgedetect.fp /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/edgeenh.fp /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/emboss.fp /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/mencvcd.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/midentify.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/mpconsole.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/mphelp_check.py /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/mplmult.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/plotpsnr.pl /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/psnr-video.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/qepdvcd.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/subedit.pl /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/subsearch.sh /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/vobshift.py /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/w32codec_dl.pl /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools install -m 555 /wrkdirs/usr/ports/multimedia/mencoder/work/mplayer-export-2024-01-06/TOOLS/wma2ogg.pl /wrkdirs/usr/ports/multimedia/mencoder/work/stage/usr/local/share/mplayer/tools ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-03-30T07:22:14+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=a995b8b0ab' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for mencoder-1.5.0.20240106 ===> Building mencoder-1.5.0.20240106 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mencoder-1.5.0.20240106 build of multimedia/mencoder | mencoder-1.5.0.20240106 ended at Sat Mar 30 07:27:56 GMT 2024 build time: 00:05:43