* Package: media-video/mplayer-1.5:0 * Repository: gentoo * Maintainer: media-video@gentoo.org * USE: X abi_x86_64 alsa amd64 cdio cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 debug dvd dvdnav elibc_musl enca encode iconv ipv6 kernel_linux libass network osdmenu shm truetype unicode userland_GNU xscreensaver xv * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/037a58536fc20feb3177878c370dcb3abb70068f (Sat Feb 25 00:32:01 UTC 2023) @@@@@ END @@@@@ ################## # emerge --info: # ################## Portage 3.0.44 (python 3.11.2-final-0, default/linux/amd64/17.0/musl/hardened, gcc-12, musl-1.2.3-r7, 5.15.85-gentoo-dist x86_64) ================================================================= System uname: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-libc KiB Mem: 263532996 total, 60234988 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 25 Feb 2023 00:32:00 +0000 sh bash 5.2_p15-r2 ld GNU ld (Gentoo 2.40 p2) 2.40.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r2::gentoo dev-lang/perl: 5.36.0-r2::gentoo dev-lang/python: 3.9.16_p1::gentoo, 3.10.10_p1::gentoo, 3.11.2_p1::gentoo dev-util/cmake: 3.25.2::gentoo dev-util/meson: 1.0.0::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.46::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.40-r2::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.0_rc3::gentoo sys-devel/gcc: 12.2.1_p20230121-r1::gentoo sys-devel/gcc-config: 2.10::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 16.0.0_rc3::gentoo sys-devel/make: 4.4::gentoo sys-kernel/linux-headers: 6.2::gentoo (virtual/os-headers) sys-libs/musl: 1.2.3-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-gentoo-linux-musl" CC="clang" CFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" CHOST="x86_64-gentoo-linux-musl" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="clang++" CXXFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" DISTDIR="/var/tmp/portage/media-video/mplayer-1.5/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" LEX="flex" MAKEOPTS="-j16" PKGDIR="/root/tbci/binpkg" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X acl alsa amd64 bzip2 cdio cet cli crypt debug dri dvd dvdnav elogind enca encode fortran hardened iconv ipv6 jumbo-build libass libglvnd libtirpc native-symlinks ncurses network nls nptl openmp osdmenu pam pcre pie readline seccomp shm split-usr ssl ssp test-rust truetype unicode xattr xscreensaver xtpax xv zlib" ABI_X86="64" CPU_FLAGS_X86="avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="musl" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="mga" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ############################## # emerge history (qlop -mv): # ############################## 2023-02-25T01:08:04 >>> acct-group/vdr-0-r1 2023-02-25T01:08:04 >>> acct-group/nullmail-0 2023-02-25T01:08:05 >>> sys-process/wait_on_pid-0.0.2-r1 2023-02-25T01:08:05 >>> media-libs/libdvdcss-1.4.3 2023-02-25T01:08:06 >>> media-libs/alsa-topology-conf-1.2.5.1 2023-02-25T01:08:07 >>> media-libs/alsa-ucm-conf-1.2.8 2023-02-25T01:08:08 >>> virtual/linuxtv-dvb-headers-5.8 2023-02-25T01:08:08 >>> dev-lang/nasm-2.16.01 2023-02-25T01:08:09 >>> media-fonts/corefonts-1-r7 2023-02-25T01:08:09 >>> dev-libs/libcdio-2.1.0-r1 2023-02-25T01:08:10 >>> app-i18n/enca-1.19-r3 2023-02-25T01:08:11 >>> dev-lang/yasm-1.3.0-r1 2023-02-25T01:08:11 >>> x11-libs/libXxf86vm-1.1.5 2023-02-25T01:08:12 >>> x11-libs/libXScrnSaver-1.2.4 2023-02-25T01:08:13 >>> x11-libs/libXv-1.0.12 2023-02-25T01:08:13 >>> dev-libs/fribidi-1.0.12 2023-02-25T01:08:14 >>> dev-libs/libmspack-0.10.1_alpha-r1 2023-02-25T01:08:15 >>> app-eselect/eselect-vdr-0.0.4 2023-02-25T01:08:15 >>> app-admin/metalog-20220214 2023-02-25T01:08:16 >>> app-eselect/eselect-cdparanoia-0.1-r1 2023-02-25T01:08:19 >>> acct-user/vdr-0-r1 2023-02-25T01:08:23 >>> acct-user/nullmail-0 2023-02-25T01:08:27 >>> media-libs/libdvdread-6.1.3 2023-02-25T01:08:30 >>> media-libs/alsa-lib-1.2.8-r1 2023-02-25T01:08:32 >>> media-libs/dav1d-1.1.0 2023-02-25T01:08:33 >>> media-libs/libjpeg-turbo-2.1.5.1 2023-02-25T01:08:48 >>> app-arch/cabextract-1.9.1 2023-02-25T01:08:51 >>> virtual/logger-0-r1 2023-02-25T01:08:52 >>> dev-libs/libcdio-paranoia-2.0.1 2023-02-25T01:08:58 >>> media-libs/libdvdnav-6.1.1 2023-02-25T01:09:01 >>> media-video/ffmpeg-4.4.3 2023-02-25T01:09:04 >>> media-libs/libass-0.16.0 2023-02-25T01:09:05 >>> mail-mta/nullmailer-2.2-r2 ####################################### # installed packages (qlist -ICvUSS): # ####################################### acct-group/audio-0-r1:0 acct-group/cdrom-0-r1:0 acct-group/dialout-0-r1:0 acct-group/disk-0-r1:0 acct-group/floppy-0:0 acct-group/input-0-r1:0 acct-group/kmem-0-r1:0 acct-group/kvm-0-r1:0 acct-group/lp-0-r1:0 acct-group/man-0-r1:0 acct-group/messagebus-0-r1:0 acct-group/nullmail-0:0 acct-group/portage-0:0 acct-group/render-0-r1:0 acct-group/root-0:0 acct-group/sgx-0:0 acct-group/sshd-0-r1:0 acct-group/tape-0-r1:0 acct-group/tty-0-r1:0 acct-group/usb-0-r1:0 acct-group/vdr-0-r1:0 acct-group/video-0-r1:0 acct-user/man-1-r1:0 acct-user/messagebus-0-r1:0 acct-user/nullmail-0:0 acct-user/portage-0:0 acct-user/sshd-0-r1:0 acct-user/vdr-0-r1:0 -graphlcd -legacy-homedir -remote -serial -systemd app-admin/eselect-1.4.20:0 -doc -emacs -vim-syntax app-admin/metalog-20220214:0 unicode app-admin/perl-cleaner-2.30-r1:0 -pkgcore app-alternatives/awk-4:0 -busybox gawk -mawk -nawk split-usr app-alternatives/bzip2-1:0 -lbzip2 -pbzip2 reference split-usr app-alternatives/gzip-0:0 -pigz reference split-usr app-alternatives/lex-0-r1:0 flex -reflex app-alternatives/sh-0:0 bash -busybox -dash -ksh -lksh -mksh app-alternatives/tar-0:0 gnu -libarchive split-usr app-alternatives/yacc-1-r2:0 bison -byacc -reference app-arch/bzip2-1.0.8-r4:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs -verify-sig app-arch/cabextract-1.9.1:0 -extras app-arch/gzip-1.12-r4:0 -pic -static -verify-sig app-arch/libarchive-3.6.1-r1:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -verify-sig xattr -zstd app-arch/tar-1.34-r2:0 acl -minimal nls -selinux -verify-sig xattr app-arch/unzip-6.0_p27-r1:0 bzip2 -natspec unicode app-arch/xz-utils-5.4.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 extra-filters nls split-usr -static-libs -verify-sig app-arch/zstd-1.5.4-r2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 lzma split-usr -static-libs -test zlib app-crypt/gnupg-2.4.0:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server app-crypt/gpgme-1.18.0-r2:1/11.6.15.1 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -qt5 -static-libs -test -verify-sig app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs app-crypt/libmd-1.0.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 app-crypt/pinentry-1.2.1-r1:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 -verify-sig app-crypt/rhash-1.4.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls ssl -static-libs app-editors/nano-7.2:0 -debug -justify -magic -minimal ncurses nls spell -static unicode app-eselect/eselect-cdparanoia-0.1-r1:0 app-eselect/eselect-fontconfig-20220403:0 app-eselect/eselect-iptables-20220320:0 app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 app-eselect/eselect-pinentry-0.7.2-r1:0 app-eselect/eselect-vdr-0.0.4:0 app-i18n/enca-1.19-r3:0 -doc iconv -recode app-misc/ca-certificates-20211016.3.88.1:0 -cacert app-misc/editor-wrapper-4-r1:0 app-misc/mime-types-2.1.53:0 -nginx app-misc/pax-utils-1.3.7:0 -caps -man -python python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -seccomp -test app-misc/tmux-3.3a-r1:0 debug -selinux -systemd -utempter -vim-syntax app-portage/eix-0.36.6:0 debug -doc nls -sqlite app-portage/elt-patches-20221210:0 app-portage/gemato-19.0:0 gpg -pretty-log -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test -tools app-portage/gentoolkit-0.6.1-r3:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test app-portage/portage-utils-0.95:0 openmp qmanifest qtegrity -static app-shells/bash-5.2_p15-r2:0 -afs -bashlogger -examples -mem-scramble net nls -pgo -plugins readline -verify-sig app-shells/bash-completion-2.11:0 eselect -test app-shells/gentoo-bashcomp-20190211-r1:0 app-shells/push-3.4:0 app-shells/quoter-4.2:0 app-text/ansifilter-2.18:0 -qt5 app-text/build-docbook-catalog-2.3-r1:0 app-text/docbook-xml-dtd-4.5-r2:4.5 app-text/docbook-xml-dtd-4.4-r3:4.4 app-text/docbook-xml-dtd-4.2-r3:4.2 app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 app-text/docbook-xsl-ns-stylesheets-1.79.1:0 -ruby app-text/docbook-xsl-stylesheets-1.79.1-r3:0 -ruby app-text/manpager-1:0 app-text/sgml-common-0.6.3-r7:0 app-text/xmlto-0.0.28-r10:0 -latex text dev-db/sqlite-3.41.0:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools dev-lang/nasm-2.16.01:0 -doc dev-lang/perl-5.36.0-r2:0/5.36 -berkdb debug -doc -gdbm ithreads -minimal -quadmath dev-lang/python-3.11.2_p1:3.11 -bluetooth -build ensurepip -examples gdbm hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig dev-lang/python-3.10.10_p1:3.10 -bluetooth -build ensurepip -examples gdbm hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml dev-lang/python-3.9.16_p1:3.9 -bluetooth -build ensurepip -examples gdbm hardened -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml dev-lang/python-exec-2.4.10:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-lang/python-exec-conf-2.4.6:2 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 dev-lang/tcl-8.6.13-r1:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug threads dev-lang/yasm-1.3.0-r1:0 nls dev-libs/boehm-gc-8.2.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads dev-libs/elfutils-0.188:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma nls -static-libs -test utils -valgrind -verify-sig -zstd dev-libs/expat-2.5.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs unicode dev-libs/fribidi-1.0.12:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test dev-libs/glib-2.74.5:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus debug elf -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr dev-libs/gmp-6.2.1-r5:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpudetection cxx -doc -pic -static-libs dev-libs/gobject-introspection-1.74.0:0 -doctool -gtk-doc python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -test dev-libs/gobject-introspection-common-1.74.0:0 dev-libs/isl-0.24-r2:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/jsoncpp-1.9.5:0/25 -doc -test dev-libs/libassuan-2.5.5:0 dev-libs/libatomic_ops-7.6.14:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 dev-libs/libbsd-0.11.7-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig dev-libs/libcdio-2.1.0-r1:0/19 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cddb cxx -minimal -static-libs -test dev-libs/libcdio-paranoia-2.0.1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cxx -static-libs -test dev-libs/libevent-2.1.12-r1:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime debug -malloc-replacement ssl -static-libs -test -verbose-debug dev-libs/libffi-3.4.4:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -exec-static-trampoline -pax-kernel -static-libs -test dev-libs/libgcrypt-1.10.1-r3:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc getentropy -static-libs -verify-sig dev-libs/libgpg-error-1.46-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test -verify-sig dev-libs/libksba-1.6.3:0 -static-libs -verify-sig dev-libs/libltdl-2.4.7-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/libmspack-0.10.1_alpha-r1:0 debug -doc dev-libs/libpcre2-10.42-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode -verify-sig zlib dev-libs/libpipeline-1.5.7:0 -test dev-libs/libtasn1-4.19.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -valgrind -verify-sig dev-libs/libunistring-1.1-r1:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs dev-libs/libuv-1.44.2-r1:0/1 dev-libs/libxml2-2.10.3-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples ftp -icu -lzma python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 readline -static-libs -test dev-libs/libxslt-1.1.37-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt debug -examples -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -static-libs dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs dev-libs/mpc-1.3.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/mpfr-4.2.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig dev-libs/nettle-3.8.1:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig dev-libs/npth-1.6-r1:0 -test dev-libs/openssl-3.0.8:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -verify-sig -weak-ssl-ciphers dev-libs/popt-1.19:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs dev-perl/Clone-0.460.0:0 -test dev-perl/Devel-CheckLib-1.160.0:0 -test dev-perl/Encode-Locale-1.50.0-r1:0 -test dev-perl/File-BaseDir-0.90.0:0 -test dev-perl/File-DesktopEntry-0.220.0-r1:0 -test dev-perl/File-Listing-6.150.0:0 -test -test dev-perl/File-MimeInfo-0.300.0:0 -test dev-perl/HTML-Parser-3.760.0:0 -test dev-perl/HTML-Tagset-3.200.0-r2:0 dev-perl/HTTP-Cookies-6.100.0:0 -test dev-perl/HTTP-Date-6.50.0:0 dev-perl/HTTP-Message-6.440.0:0 -test -test dev-perl/HTTP-Negotiate-6.10.0-r2:0 -test dev-perl/IO-HTML-1.4.0:0 -test dev-perl/IO-Socket-INET6-2.720.0-r2:0 -test dev-perl/IO-Socket-SSL-2.81.0:0 -examples -idn -test dev-perl/IPC-System-Simple-1.300.0:0 -test dev-perl/libwww-perl-6.600.0-r1:0 ssl -test dev-perl/Locale-gettext-1.70.0-r1:0 -test dev-perl/LWP-MediaTypes-6.40.0:0 -test dev-perl/LWP-Protocol-https-6.100.0:0 -test dev-perl/Module-Build-0.423.100:0 -test dev-perl/Mozilla-CA-20999999-r1:0 -test dev-perl/Net-HTTP-6.210.0:0 -minimal -test dev-perl/Net-SSLeay-1.920.0:0 -examples -examples -minimal -test dev-perl/Socket6-0.290.0:0 -test dev-perl/Sub-Name-0.260.0:0 -suggested -test dev-perl/TimeDate-2.330.0-r1:0 -test dev-perl/Try-Tiny-0.310.0:0 -minimal -test dev-perl/URI-5.110.0:0 -test dev-perl/WWW-RobotRules-6.20.0-r2:0 -test dev-perl/XML-Parser-2.460.0-r2:0 dev-python/alabaster-0.7.13:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 dev-python/autocommand-2.2.2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/Babel-2.11.0:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/certifi-3021.3.16-r3:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/charset_normalizer-3.0.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/cython-0.29.33:0 -doc -emacs -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/docutils-0.19:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 dev-python/ensurepip-pip-23.0.1:0 dev-python/ensurepip-setuptools-67.4.0:0 dev-python/ensurepip-wheels-100:0 dev-python/flit_core-3.8.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/gentoo-common-1:0 dev-python/gpep517-13:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/idna-3.4:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/imagesize-1.4.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/importlib_metadata-6.0.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/inflect-6.0.2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/installer-0.6.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/jaraco-context-4.3.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/jaraco-functools-3.6.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/jaraco-text-3.11.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/jinja-3.1.2:0 -doc -examples -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/markupsafe-2.1.2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/more-itertools-9.0.0:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/nspektr-0.4.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/ordered-set-4.1.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/packaging-23.0-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/platformdirs-3.0.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/pydantic-1.10.5:0 native-extensions -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/pygments-2.14.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/pyparsing-3.0.9:0 -examples -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/pypax-0.9.5-r1:0 -ptpax python_targets_python3_10 python_targets_python3_9 xtpax dev-python/PySocks-1.7.1-r2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 dev-python/pytz-2022.7.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 dev-python/requests-2.28.2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -socks5 -test test-rust dev-python/setuptools-67.4.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/setuptools_scm-7.1.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/six-1.16.0-r1:0 -doc -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/snowballstemmer-2.2.0-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 dev-python/sphinx-6.1.3:0 -doc -latex -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/sphinxcontrib-applehelp-1.0.4:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/sphinxcontrib-devhelp-1.0.2-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/sphinxcontrib-htmlhelp-2.0.1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/sphinxcontrib-jsmath-1.0.1-r2:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/sphinxcontrib-qthelp-1.0.3-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/sphinxcontrib-serializinghtml-1.1.5-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/tomli-2.0.1-r1:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/typing-extensions-4.5.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/urllib3-1.26.14:0 -brotli -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/wheel-0.38.4:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-python/zipp-3.14.0:0 -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-util/checkbashisms-2.22.2:0 dev-util/cmake-3.25.2:0 -doc -emacs ncurses -qt5 -test -test -verify-sig dev-util/desktop-file-utils-0.26-r2:0 -emacs dev-util/glib-utils-2.74.5:0 python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 dev-util/gperf-3.1-r1:0 dev-util/gtk-doc-am-1.33.2:0 dev-util/intltool-0.51.0-r3:0 dev-util/meson-1.0.0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 dev-util/ninja-1.11.1-r2:0 -doc -emacs -test dev-util/pkgconf-1.8.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test dev-util/re2c-2.2:0 debug -test dev-vcs/git-2.39.2:0 blksha1 -cgi curl -cvs -doc -gnome-keyring gpg -highlight iconv -mediawiki -mediawiki-experimental nls pcre -perforce -perl python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 safe-directory -selinux -subversion -test -tk webdav -xinetd mail-mta/nullmailer-2.2-r2:0 ssl -test media-fonts/corefonts-1-r7:0 -X -X -tahoma media-fonts/liberation-fonts-2.1.5:0 -X -X -fontforge media-gfx/graphite2-1.3.14_p20210810-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test media-libs/alsa-lib-1.2.8-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -alisp debug -doc -python python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 media-libs/alsa-topology-conf-1.2.5.1:0 media-libs/alsa-ucm-conf-1.2.8:0 media-libs/dav1d-1.1.0:0/6 10bit 8bit -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -test -xxhash media-libs/fontconfig-2.14.2:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc nls -test media-libs/freetype-2.13.0:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting debug -doc -fontforge harfbuzz -infinality png -static-libs -svg -utils media-libs/harfbuzz-6.0.0:0/6.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo debug -doc -experimental glib graphite -icu introspection -test truetype media-libs/libass-0.16.0:0/9 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 fontconfig -verify-sig media-libs/libdvdcss-1.4.3:1.2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc media-libs/libdvdnav-6.1.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs media-libs/libdvdread-6.1.3:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 css -static-libs media-libs/libjpeg-turbo-2.1.5.1:0/0.2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_neon -java -java -static-libs media-libs/libpng-1.6.39:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs media-video/ffmpeg-4.4.3:0/56.58.58 -X -X -X -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -alsa -amf -amr -amr -amrenc -appkit -bluray -bs2b bzip2 -cdio -chromaprint -chromium -codec2 -cpu_flags_arm_neon -cpu_flags_arm_thumb -cpu_flags_arm_thumb2 -cpu_flags_arm_v6 -cpu_flags_arm_v8 -cpu_flags_arm_vfp -cpu_flags_arm_vfpv3 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx -cpu_flags_ppc_vsx2 -cpu_flags_x86_3dnow -cpu_flags_x86_3dnowext cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 -cpu_flags_x86_fma4 cpu_flags_x86_mmx cpu_flags_x86_mmxext cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 -cpu_flags_x86_xop -cpudetection -cuda dav1d debug -doc encode -fdk fftools_aviocat fftools_cws2fws fftools_ffescape fftools_ffeval fftools_ffhash fftools_fourcc2pixfmt fftools_graph2dot fftools_ismindex fftools_pktdumper fftools_qt-faststart fftools_sidxindex fftools_trasher -flite -fontconfig -frei0r -fribidi -g net-dns/c-ares-1.19.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig net-dns/libidn2-2.3.4:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs -verify-sig net-firewall/iptables-1.8.9:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs net-libs/gnutls-3.8.0:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind -verify-sig zlib -zstd net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig net-libs/nghttp2-1.51.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx debug -hpack-tools -jemalloc -static-libs -test -utils -xml net-misc/curl-7.88.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl -curl_ssl_rustls ftp -gnutls -gopher -hsts http2 -idn imap -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -rtmp -rustls -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -verify-sig -websockets -zstd net-misc/dhcpcd-9.4.1:0 debug embedded ipv6 -privsep udev net-misc/iputils-20221126-r1:0 arping -caps -clockdiff -doc filecaps -idn nls -test -tracepath net-misc/netifrc-0.7.3-r1:0 dhcp net-misc/openssh-9.2_p1-r2:0 -X -X509 -abi_mips_n32 -audit -debug -hpn -kerberos -ldns -libedit -livecd pam pie -sctp -security-key -selinux ssl -static -test -verify-sig -xmss net-misc/rsync-3.2.7-r2:0 acl -examples iconv -lz4 python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -rrsync ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd net-misc/wget-1.21.3-r1:0 -cookie-check debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib perl-core/Compress-Raw-Zlib-2.202.0:0 perl-core/File-Temp-0.231.100:0 sec-keys/openpgp-keys-gentoo-release-20220101:0 -test sys-apps/acl-2.3.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs sys-apps/attr-2.5.1-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls split-usr -static-libs sys-apps/baselayout-2.13-r1:0 -build split-usr sys-apps/coreutils-9.1-r2:0 acl -caps -gmp -hostname -kill -multicall nls openssl -selinux split-usr -static -test -vanilla -verify-sig xattr sys-apps/dbus-1.15.4:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc elogind -selinux -static-libs -systemd -test -test sys-apps/debianutils-5.7:0 installkernel -static sys-apps/diffutils-3.9-r1:0 nls -static -verify-sig sys-apps/elfix-0.9.5:0 -ptpax xtpax sys-apps/file-5.44-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzip -lzma -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -seccomp -static-libs -verify-sig zlib -zstd sys-apps/findutils-4.9.0-r2:0 nls -selinux -static -test -verify-sig sys-apps/gawk-5.2.1:0 -mpfr nls -pma readline -verify-sig sys-apps/gentoo-functions-0.19:0 sys-apps/grep-3.8-r1:0 egrep-fgrep nls pcre -static -verify-sig sys-apps/groff-1.22.4:0 -X -examples -uchardet sys-apps/help2man-1.49.3:0 nls sys-apps/install-xattr-0.8-r1:0 sys-apps/iproute2-6.2.0:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -nfs -selinux split-usr sys-apps/kbd-2.5.1:0 nls pam -test sys-apps/kmod-30-r1:0 debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -static-libs tools zlib zstd sys-apps/less-608-r2:0 pcre unicode sys-apps/man-db-2.11.2:0 manpager -nls seccomp -selinux -static-libs zlib sys-apps/miscfiles-1.5-r4:0 -minimal sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static sys-apps/openrc-0.46:0 -audit -bash debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode sys-apps/portage-3.0.44:0 -apidoc -build -doc -gentoo-dev ipc native-extensions -python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 rsync-verify -selinux -test xattr sys-apps/sandbox-2.30-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nnp sys-apps/sed-4.9:0 acl nls -selinux -static -verify-sig sys-apps/shadow-4.13-r2:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su -verify-sig xattr sys-apps/systemd-utils-252.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -boot kmod -selinux split-usr -split-usr -sysusers -test tmpfiles udev sys-apps/sysvinit-3.06-r1:0 -ibm -nls -selinux -static -verify-sig sys-apps/texinfo-7.0.2:0 nls standalone -static sys-apps/util-linux-2.38.1-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig sys-apps/which-2.21:0 sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid debug -doc pam -policykit -selinux -test sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt sys-auth/passwdqc-2.0.2-r1:0 sys-devel/autoconf-2.71-r5:2.71 -emacs sys-devel/autoconf-archive-2023.02.20:0 sys-devel/autoconf-wrapper-20221207-r1:0 sys-devel/automake-1.16.5:1.16 -test sys-devel/automake-wrapper-20221207:0 sys-devel/binutils-2.40-r2:2.40 cet -doc -gold -gprofng -multitarget nls -pgo plugins -static-libs -test -vanilla -zstd sys-devel/binutils-config-5.5:0 native-symlinks sys-devel/bison-3.8.2-r2:0 -examples nls -static -test -verify-sig sys-devel/clang-16.0.0_rc3:16/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -doc extra -ieee-long-double llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARC llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF -llvm_targets_CSKY -llvm_targets_DirectX llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_LoongArch -llvm_targets_M68k llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV -llvm_targets_SPIRV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -llvm_targets_Xtensa pie python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 static-analyzer -test -test -verify-sig -xml sys-devel/clang-common-16.0.0_rc3:0 -default-compiler-rt -default-libcxx -default-lld hardened -llvm-libunwind -stricter -verify-sig sys-devel/clang-runtime-16.0.0_rc3:16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 compiler-rt -libcxx openmp sanitize sys-devel/clang-toolchain-symlinks-16-r2:16 -gcc-symlinks -multilib-symlinks native-symlinks sys-devel/flex-2.6.4-r6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test sys-devel/gcc-12.2.1_p20230121-r1:12 -ada cet -custom-cflags cxx -d -debug default-stack-clash-protection default-znow -doc -fixed-point fortran -go graphite hardened -ieee-long-double -jit -libssp lto -multilib -nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd sys-devel/gcc-config-2.10:0 cc-wrappers native-symlinks sys-devel/gettext-0.21.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl cxx -doc -emacs -git -java -java ncurses -nls openmp -static-libs -verify-sig sys-devel/gnuconfig-20221007:0 sys-devel/libtool-2.4.7-r1:2 -vanilla sys-devel/llvm-16.0.0_rc3:16/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 binutils-plugin -debug -doc -doc -exegesis -libedit libffi llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARC llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF -llvm_targets_CSKY -llvm_targets_DirectX llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_LoongArch -llvm_targets_M68k llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV -llvm_targets_SPIRV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -llvm_targets_Xtensa ncurses -test -test -verify-sig -xar -xml -z3 -zstd sys-devel/llvm-common-15.0.7:0 -verify-sig sys-devel/llvm-toolchain-symlinks-16-r1:16 -multilib-symlinks native-symlinks sys-devel/llvmgold-16:0 sys-devel/m4-1.4.19-r1:0 -examples nls -verify-sig sys-devel/make-4.4:0 -guile nls -static -verify-sig sys-devel/patch-2.7.6-r5:0 -static -test -verify-sig xattr sys-fs/e2fsprogs-1.47.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse -nls split-usr -static-libs -test tools sys-fs/udev-init-scripts-35:0 sys-kernel/installkernel-gentoo-6:0 -grub sys-kernel/linux-headers-6.2:0 -headers-only sys-libs/argp-standalone-1.5.0:0 -static-libs sys-libs/binutils-libs-2.40-r2:0/2.40 -64-bit-bfd -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cet -multitarget nls -static-libs sys-libs/compiler-rt-16.0.0_rc3:16 -abi_x86_32 abi_x86_64 clang -debug -test -verify-sig sys-libs/compiler-rt-sanitizers-16.0.0_rc3:16 -abi_x86_32 abi_x86_64 asan cfi clang -debug dfsan -gwp-asan hwasan libfuzzer lsan memprof msan -orc profile safestack scudo -shadowcallstack -test -test tsan ubsan -verify-sig xray sys-libs/fts-standalone-1.2.7:0 -static-libs sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -test -verify-sig sys-libs/libcap-2.67:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools sys-libs/libomp-16.0.0_rc3:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -gdb-plugin -hwloc -llvm_targets_AMDGPU -llvm_targets_NVPTX -offload -ompt python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -test -verify-sig sys-libs/libseccomp-2.5.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -experimental-loong -python python_targets_python3_10 python_targets_python3_9 -static-libs -test sys-libs/libxcrypt-4.4.33:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 compat -headers-only split-usr -static-libs system -test sys-libs/musl-1.2.3-r7:0 -crypt -headers-only -verify-sig sys-libs/ncurses-6.4:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx debug -doc -gpm -minimal -profile split-usr -split-usr -stack-realign -static-libs -test tinfo -trace -verify-sig sys-libs/obstack-standalone-1.2.3:0 -static-libs sys-libs/pam-1.5.2-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug -filecaps -nis -selinux split-usr sys-libs/queue-standalone-0.1-r1:0 sys-libs/readline-8.2_p1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig sys-libs/timezone-data-2022g:0 -leaps-timezone nls -zic-slim sys-libs/zlib-1.2.13-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs -verify-sig sys-process/procps-3.3.17-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode sys-process/psmisc-23.6:0 -X -apparmor nls -selinux -test sys-process/wait_on_pid-0.0.2-r1:0 virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs virtual/dev-manager-0-r2:0 virtual/editor-0-r4:0 virtual/libc-1-r1:0 virtual/libcrypt-2-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs virtual/libelf-3-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libudev-232-r7:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd virtual/linuxtv-dvb-headers-5.8:0 virtual/logger-0-r1:0 virtual/man-0-r4:0 virtual/os-headers-0-r2:0 virtual/package-manager-1:0 virtual/pager-0-r1:0 virtual/perl-Carp-1.520.0-r2:0 virtual/perl-Compress-Raw-Bzip2-2.103.0-r3:0 virtual/perl-Compress-Raw-Zlib-2.202.0:0 virtual/perl-CPAN-2.330.0:0 virtual/perl-CPAN-Meta-2.150.10-r6:0 virtual/perl-CPAN-Meta-Requirements-2.140.0-r8:0 virtual/perl-CPAN-Meta-YAML-0.18.0-r8:0 virtual/perl-Data-Dumper-2.184.0:0 virtual/perl-Digest-MD5-2.580.0-r1:0 virtual/perl-Encode-3.170.0:0 virtual/perl-Exporter-5.770.0:0 virtual/perl-ExtUtils-CBuilder-0.280.236-r1:0 virtual/perl-ExtUtils-Install-2.200.0-r1:0 virtual/perl-ExtUtils-MakeMaker-7.640.0:0 virtual/perl-ExtUtils-Manifest-1.730.0-r1:0 virtual/perl-ExtUtils-ParseXS-3.450.0:0 virtual/perl-File-Path-2.180.0-r1:0 virtual/perl-File-Spec-3.840.0:0 virtual/perl-File-Temp-0.231.100:0 virtual/perl-Getopt-Long-2.520.0-r1:0 virtual/perl-IO-1.500.0:0 virtual/perl-IO-Compress-2.106.0:0 virtual/perl-IO-Socket-IP-0.410.0-r1:0 virtual/perl-JSON-PP-4.70.0:0 virtual/perl-libnet-3.140.0:0 ssl virtual/perl-MIME-Base64-3.160.0-r1:0 virtual/perl-Module-Metadata-1.0.37-r2:0 virtual/perl-parent-0.238.0-r2:0 virtual/perl-Parse-CPAN-Meta-2.150.10-r6:0 virtual/perl-Perl-OSType-1.10.0-r6:0 virtual/perl-podlators-4.140.0-r3:0 virtual/perl-Scalar-List-Utils-1.620.0:0 virtual/perl-Test-Harness-3.440.0:0 virtual/perl-Text-ParseWords-3.310.0:0 virtual/perl-Time-Local-1.300.0-r1:0 virtual/perl-version-0.992.900:0 virtual/perl-XSLoader-0.310.0:0 virtual/pkgconfig-2-r1:0 virtual/service-manager-1-r1:0 virtual/ssh-0-r1:0 -minimal virtual/tmpfiles-0-r3:0 virtual/ttf-fonts-1-r2:0 virtual/udev-217-r5:0 virtual/w3m-1:0 www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 www-client/w3m-0.5.3_p20230121:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface x11-apps/xprop-1.2.6:0 x11-apps/xset-1.2.5:0 x11-base/xcb-proto-1.15.2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 x11-base/xorg-proto-2022.2:0 -test x11-libs/cairo-1.17.6-r1:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug glib -gtk-doc -test x11-libs/libICE-1.1.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 x11-libs/libSM-1.2.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc uuid x11-libs/libX11-1.8.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test x11-libs/libXau-1.0.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libxcb-1.15-r1:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb x11-libs/libXdmcp-1.1.4-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXext-1.3.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXmu-1.1.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXScrnSaver-1.2.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXt-1.2.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test x11-libs/libXv-1.0.12:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/libXxf86vm-1.1.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc x11-libs/pixman-0.42.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test x11-libs/xtrans-1.4.0:0 -doc x11-misc/compose-tables-1.8.4:0 x11-misc/shared-mime-info-2.2:0 -test x11-misc/xdg-utils-1.1.3_p20210805-r1:0 -dbus -doc -gnome ####################### # build.log # ####################### >>> Unpacking source... >>> Unpacking MPlayer-1.5.tar.xz to /var/tmp/portage/media-video/mplayer-1.5/work Moving and checking file: libavutil/wchar_filename.h grep: warning: stray \ before # grep: warning: stray \ before " grep: warning: stray \ before " Checking for the presence of libavutil/mem.h... Moving and checking file: libavformat/os_support.h grep: warning: stray \ before # grep: warning: stray \ before " grep: warning: stray \ before " Checking for the presence of libavutil/wchar_filename.h... Moving and checking file: libavformat/internal.h grep: warning: stray \ before # grep: warning: stray \ before " grep: warning: stray \ before " Checking for the presence of libavcodec/avcodec.h... Checking for the presence of libavcodec/bsf.h... Checking for the presence of libavcodec/packet_internal.h... Header depends on libavcodec/packet_internal.h ... but that file cannot be found, aborting >>> Source unpacked in /var/tmp/portage/media-video/mplayer-1.5/work >>> Preparing source in /var/tmp/portage/media-video/mplayer-1.5/work/MPlayer-1.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-video/mplayer-1.5/work/MPlayer-1.5 ... * ./configure --cc=clang --host-cc=clang --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --confdir=/etc/mplayer --datadir=/usr/share/mplayer --mandir=/usr/share/man --disable-ffmpeg_a --disable-gnutls --disable-arts --disable-ass-internal --disable-directfb --disable-kai --disable-libilbc --disable-libnut --disable-libopus --disable-svga --disable-svgalib_helper --disable-xvmc --enable-networking --disable-joystick --disable-nemesi --disable-bl --disable-bluray --disable-ftp --disable-rtc --disable-vcd --disable-fribidi --disable-unrarexec --disable-smb --disable-lirc --disable-lircc --disable-apple-ir --disable-cdparanoia --charset=UTF-8 --disable-tv-bsdbt848 --disable-tv-v4l1 --disable-tv --disable-tv-v4l2 --disable-radio --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-dvb --disable-v4l2 --disable-pvr --disable-musepack --disable-libmpeg2-internal --disable-gif --disable-libdca --disable-mp3lame --disable-mpg123 --disable-liba52 --disable-libbs2b --disable-libdv --disable-libgsm --disable-liblzo --disable-librtmp --disable-libvorbis --disable-faad --disable-jpeg --disable-libmpeg2 --disable-live --disable-mad --disable-mng --disable-png --disable-pnm --disable-speex --disable-tga --disable-theora --disable-tremor --disable-libopenjpeg --disable-faac --disable-x264 --disable-xvid --disable-toolame --disable-twolame --disable-qtx --disable-real --disable-win32dll --disable-md5sum --disable-sdl --disable-yuv4mpeg --disable-aa --disable-fbdev --disable-caca --disable-zr --disable-mga --disable-xmga --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-xvr100 --disable-esd --disable-jack --disable-ladspa --disable-nas --disable-openal --disable-pulse --disable-ossaudio --disable-3dnow --disable-3dnowext --enable-avx --enable-avx2 --enable-fma3 --disable-fma4 --enable-mmx --enable-mmxext --enable-sse --enable-sse2 --enable-sse3 --enable-ssse3 --disable-xop --enable-sse4 --enable-sse42 --disable-altivec --enable-shm --enable-debug=3 --disable-gui --disable-vesa --disable-ggi --disable-vdpau --disable-xinerama --disable-dga1 --disable-dga2 --disable-gl --enable-menu --disable-vidix --disable-vidix-pcidb 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 clang version ... clang 16.0.0 (experimental support only) Checking for working compiler ... yes Detected operating system: Linux Detected host architecture: x86_64 Checking for cross compilation ... no Checking for host cc ... clang Checking for CPU vendor ... AuthenticAMD (25:1:1) Checking for CPU type ... AMD EPYC 7513 32-Core Processor Checking for kernel support of cmov ... yes Checking for mtrr support ... yes Checking for GCC & CPU optimization abilities ... amdfam10 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 ... yasm Checking for bswap ... no Checking for xmm clobbers ... yes Checking for as_func ... no Checking for langinfo ... yes Checking for NLS ... no Checking for language ... messages: en - man pages: en - documentation: en Checking for enable sighandler ... yes Checking for runtime cpudetection ... no 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 ... no 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 ... no 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 ... yes 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 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 -ltinfo) 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 ... yes Checking for Apple IR ... no Checking for pkg-config ... yes Checking for GnuTLS ... no Checking for OpenSSL ... no Checking for Samba support (libsmbclient) ... no 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 ... no Checking for md5sum support ... no Checking for yuv4mpeg support ... no Checking for bl ... no Checking for DirectFB ... no Checking for X11 headers presence ... yes Checking for X11 ... yes Checking for Xss screensaver extensions ... yes Checking for DPMS ... yes (using Xdpms 4) Checking for Xv ... yes Checking for XvMC ... no Checking for Video Decode Acceleration (VDA) ... no Checking for VDPAU ... no Checking for Xinerama ... no Checking for Xxf86vm ... yes Checking for XF86keysym ... yes 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 ... no Checking for MNG support ... no Checking for JPEG support ... no Checking for OpenJPEG (JPEG 2000) support ... no Checking for PNM support ... no 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 ... no 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 ... yes Checking for Sun audio ... no Checking for sndio audio ... no Checking for VCD support ... no (not supported on this OS) Checking for Blu-ray support ... no Checking for dvdread ... yes Checking for libcdio ... yes Checking for cdparanoia ... no (using libcdio) Checking for bitmap font support ... yes Checking for freetype >= 2.0.9 ... yes Checking for fontconfig ... yes Checking for fribidi with charsets ... no Checking for SSA/ASS support ... yes (external) Checking for ENCA ... yes Checking for zlib ... yes Checking for bzlib ... yes Checking for RTC ... no Checking for liblzo2 support ... no 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 ... no 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 ... no 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 ... no 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 (ffmpeg (static) is required by libopencore_amrnb, sorry) Checking for libopencore_amr wideband ... no (ffmpeg (static) is required by libopencore_amrwb, sorry) Checking for libdv-0.9.5+ ... no Checking for CrystalHD ... no Checking for Xvid ... no Checking for Xvid two pass plugin ... no Checking for x264 ... no (in FFmpeg: no) Checking for libvpx ... no (dynamic linking to libvpx is irrelevant when using dynamic FFmpeg) 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 ... no (in FFmpeg: no) Checking for mencoder ... yes Checking for UnRAR executable ... no Checking for 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 ... no Checking for vstream client ... no Checking for OSD menu ... yes 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 ... yes Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Checking for DVD support (libdvdnav) ... yes Checking for XML catalogs ... SGML catalog Checking for XML chunked stylesheet ... chunk.xsl Checking for XML monolithic stylesheet ... docbook.xsl Checking for XML DTD ... docbookx.dtd Checking for valid XSLT processor ... xsltproc Creating config.mak Creating config.h Config files successfully generated by ./configure --cc=clang --host-cc=clang --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --confdir=/etc/mplayer --datadir=/usr/share/mplayer --mandir=/usr/share/man --disable-ffmpeg_a --disable-gnutls --disable-arts --disable-ass-internal --disable-directfb --disable-kai --disable-libilbc --disable-libnut --disable-libopus --disable-svga --disable-svgalib_helper --disable-xvmc --enable-networking --disable-joystick --disable-nemesi --disable-bl --disable-bluray --disable-ftp --disable-rtc --disable-vcd --disable-fribidi --disable-unrarexec --disable-smb --disable-lirc --disable-lircc --disable-apple-ir --disable-cdparanoia --charset=UTF-8 --disable-tv-bsdbt848 --disable-tv-v4l1 --disable-tv --disable-tv-v4l2 --disable-radio --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-dvb --disable-v4l2 --disable-pvr --disable-musepack --disable-libmpeg2-internal --disable-gif --disable-libdca --disable-mp3lame --disable-mpg123 --disable-liba52 --disable-libbs2b --disable-libdv --disable-libgsm --disable-liblzo --disable-librtmp --disable-libvorbis --disable-faad --disable-jpeg --disable-libmpeg2 --disable-live --disable-mad --disable-mng --disable-png --disable-pnm --disable-speex --disable-tga --disable-theora --disable-tremor --disable-libopenjpeg --disable-faac --disable-x264 --disable-xvid --disable-toolame --disable-twolame --disable-qtx --disable-real --disable-win32dll --disable-md5sum --disable-sdl --disable-yuv4mpeg --disable-aa --disable-fbdev --disable-caca --disable-zr --disable-mga --disable-xmga --disable-3dfx --disable-tdfxvid --disable-tdfxfb --disable-xvr100 --disable-esd --disable-jack --disable-ladspa --disable-nas --disable-openal --disable-pulse --disable-ossaudio --disable-3dnow --disable-3dnowext --enable-avx --enable-avx2 --enable-fma3 --disable-fma4 --enable-mmx --enable-mmxext --enable-sse --enable-sse2 --enable-sse3 --enable-ssse3 --disable-xop --enable-sse4 --enable-sse42 --disable-altivec --enable-shm --enable-debug=3 --disable-gui --disable-vesa --disable-ggi --disable-vdpau --disable-xinerama --disable-dga1 --disable-dga2 --disable-gl --enable-menu --disable-vidix --disable-vidix-pcidb ! Install prefix: /usr Data directory: /usr/share/mplayer Config direct.: /etc/mplayer Byte order: little-endian Optimizing for: amdfam10 Languages: Messages/GUI: en Manual pages: en Documentation: en Enabled optional drivers: Input: dvdnav cddb cdda dvdread networking Codecs: ffmpeg xanim Audio output: alsa mpegpes(file) Video output: mpegpes(file) xv x11 xover Disabled optional drivers: Input: vstream ftp pvr radio tv-v4l2 tv-v4l1 tv-dshow tv librtmp live555 nemesi bluray vcd dvb smb Codecs: libaom libdav1d libvpx x264 xvid crystalhd libdv libopencore_amrwb libopencore_amrnb qtx real win32 libopus ilbc faad2 faac musepack libdca libmpeg2 liba52 mpg123 libtheora libgsm speex libvorbis toolame twolame libmad liblzo gif OpenJPEG Audio output: sndio sun openal jack pulse nas esd arts oss v4l2 dxr2 sdl Video output: zr zr2 v4l2 dxr3 dxr2 matrixview opengl sdl vesa gif89a pnm jpeg mng fbdev svga caca aa ggi xvidix winvidix cvidix 3dfx xmga dga vdpau xvmc directfb dfbmga bl yuv4mpeg md5sum tga 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 (Linux). 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. >>> Source configured. >>> Compiling source in /var/tmp/portage/media-video/mplayer-1.5/work/MPlayer-1.5 ... make -j16 help/help_create.sh help/help_mp-en.h UTF-8 clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o command.o command.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o m_property.o m_property.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o mixer.o mixer.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o mp_fifo.o mp_fifo.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o mplayer.o mplayer.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o parser-mpcmd.o parser-mpcmd.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o pnm_loader.o pnm_loader.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o input/input.o input/input.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libao2/ao_null.o libao2/ao_null.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libao2/ao_pcm.o libao2/ao_pcm.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libao2/audio_out.o libao2/audio_out.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/aspect.o libvo/aspect.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/geometry.o libvo/geometry.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/video_out.o libvo/video_out.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c clang-16clang-16: : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16clang-16: : : warning: warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16clang-16: : : warning: warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16clang-16clang-16: : : : warning: warning: warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libao2/ao_null.c:49:14: warning: comparison of integers of different signs: 'unsigned long long' and 'int' [-Wsign-compare] if (temp > buffer) buffer=0; ~~~~ ^ ~~~~~~ libao2/ao_null.c:56:24: warning: unused parameter 'cmd' [-Wunused-parameter] static int control(int cmd,void *arg){ ^ libao2/ao_null.c:56:34: warning: unused parameter 'arg' [-Wunused-parameter] static int control(int cmd,void *arg){ ^ libao2/ao_null.c:62:54: warning: unused parameter 'flags' [-Wunused-parameter] static int init(int rate,int channels,int format,int flags){ ^ libao2/ao_null.c:79:24: warning: unused parameter 'immed' [-Wunused-parameter] static void uninit(int immed){ ^ libao2/ao_null.c:110:23: warning: unused parameter 'data' [-Wunused-parameter] static int play(void* data,int len,int flags){ ^ libao2/ao_null.c:110:40: warning: unused parameter 'flags' [-Wunused-parameter] static int play(void* data,int len,int flags){ ^ mp_fifo.c:61:25: warning: unused parameter 'fd' [-Wunused-parameter] int mplayer_get_key(int fd){ ^ libao2/ao_mpegpes.c:75:24: warning: unused parameter 'cmd' [-Wunused-parameter] static int control(int cmd,void *arg){ ^ libao2/ao_mpegpes.c:75:34: warning: unused parameter 'arg' [-Wunused-parameter] static int control(int cmd,void *arg){ ^ libvo/vo_mpegpes.c:79:17: warning: unusedlibao2/ao_mpegpes.c :parameter156 : 8's_width': [-Wunused-parameter] warning: missing field 'type' initializer config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t hei...[-Wmissing-field-initializers] ^ {NULL} ^libvo/vo_mpegpes.c :79:35: warning: unused parameter 's_height' [-Wunused-parameter] config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t hei... ^ libvo/vo_mpegpes.c:79:54: warning: unused parameter 'width' [-Wunused-parameter] config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t hei... ^ libvo/vo_mpegpes.c:79:70: warning: unused parameter 'height' [-Wunused-parameter] ...s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t fl... ^ libvo/vo_mpegpes.c:79:87: warning: unused parameter 'flags' [-Wunused-parameter] ...uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, cha... ^ libvo/vo_mpegpes.c:79:100: warning: unused parameter 'title' [-Wunused-parameter] libao2/ao_mpegpes.c ...uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t f...: 148: ^32 : libvo/vo_mpegpes.c:warning: 79:116unused: parameter 'arg'warning: [-Wunused-parameter]unused parameter 'format' [-Wunused-parameter] static int preinit(const char *arg) ^ ...width, uint32_t height, uint32_t flags, char *title, uint32_t format) ^ libvo/video_out.c:377:12: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&d_width,&d_height,A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/video_out.c:377:21: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&d_width,&d_height,A_NOZOOM); ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ libao2/ao_mpegpes.c:237:30: warning: unused parameter 'channels' [-Wunused-parameter] libvo/video_out.c:380:30: warning: passing static int init(int rate,int channels,int format,int flags){'uint32_t *' ^(aka 'unsigned int *') to libao2/ao_mpegpes.cparameter: 237of: 54type: 'int *' convertswarning: between unused pointersparameter to 'flags'integer [-Wunused-parameter]types with different sign [-Wpointer-sign] static int init(int rate,int channels,int format,int flags){ ^ geometry(&vo_dx, &vo_dy, &d_width, &d_height, ^~~~~~~~ libvo/geometry.h:27:41: note: passing argument to parameter 'widw' here int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); ^ libvo/video_out.c:380:40: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] geometry(&vo_dx, &vo_dy, &d_width, &d_height, ^~~~~~~~~ libvo/geometry.h:libao2/ao_mpegpes.c27::28052::24 : note: warning: passing argumentunused toparameter parameter 'immed' 'widh'[-Wunused-parameter] here static void uninit(int immed){ ^ int geometry(int *xpos, int *ypos, int *widw, int *widh, int scrw, int scrh); ^ libao2/ao_mpegpes.c:320:40: warning: unused parameter 'flags' [-Wunused-parameter] static int play(void* data,int len,int flags){ ^ In file included from command.c:30: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libao2/audio_out.c:28: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libao2/ao_pcm.c:134:24: warning: unused parameter 'cmd' [-Wunused-parameter] static int control(int cmd,void *arg){ ^ libao2/ao_pcm.c:134:34: warning: unused parameter 'arg' [-Wunused-parameter] static int control(int cmd,void *arg){ ^ libao2/ao_pcm.c:145:14: warning: missing field 'type' initializer [-Wmissing-field-initializers] {NULL} ^ In file included from mplayer.c:73: In file included from ./gui/interface.h:23: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is libao2/ao_pcm.cundefined: 140[-Wshift-negative-value]:54 : warning: dp->endpts=MP_NOPTS_VALUE; unused ^~~~~~~~~~~~~~ parameter 'flags'./libmpdemux/demuxer.h : 98[-Wunused-parameter]:29 : note: expanded from static int init(int rate,int channels,int format,int flags){macro ^'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libao2/ao_pcm.c:202:24: warning: unused parameter 'immed' [-Wunused-parameter] static void uninit(int immed){ ^ libao2/ao_pcm.c:254:40: warning: unused parameter 'flags' [-Wunused-parameter] static int play(void* data,int len,int flags){ ^ 7 warnings generated. input/input.c:81:88: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."seek", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:82:84: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."edl_loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:83:50: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_EDL_MARK, "edl_mark", 0, { {-1,{0}} } }, ^ input/input.c:84:102: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:85:78: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SPEED_INCR, "speed_incr", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, ^ input/input.c:86:78: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/vo_null.o libvo/vo_null.c { MP_CMD_SPEED_MULT, "speed_mult", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, ^ input/input.c:87:76: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SPEED_SET, "speed_set", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, ^ input/input.c:88:64: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_QUIT, "quit", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:89:42: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_STOP, "stop", 0, { {-1,{0}} } }, ^ input/input.c:90:44: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } }, ^ input/input.c:91:54: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_FRAME_STEP, "frame_step", 0, { {-1,{0}} } }, ^ input/input.c:92:102: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{ { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } },In file included from m_property.c: ^34 : In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: input/input.c:93shifting: 109a: negative warning: signed valuemissing isfield undefined'pausing' [-Wshift-negative-value] initializer [-Wmissing-field-initializers] dp->pts=MP_NOPTS_VALUE; ...{ { MP_CMD_ARG_INT,{0} }, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } }, ^~~~~~~~~~~~~~ ^ ./libmpdemux/demuxer.h:98:29: note: expanded input/input.cfrom: 94macro: 86 :'MP_NOPTS_VALUE' warning: missing field 'pausing' initializer [-Wmissing-field-initializers] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ..."alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, ./libmpdemux/demuxer.h: ^290 :14: warning: shifting a negative signed value isinput/input.c :undefined95 :[-Wshift-negative-value]87: warning: dp->endpts=MP_NOPTS_VALUE; missing ^~~~~~~~~~~~~~field 'pausing' ./libmpdemux/demuxer.h :initializer98 :[-Wmissing-field-initializers]29: note: expanded from macro 'MP_NOPTS_VALUE' ..."loop", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ input/input.c:96./libmpdemux/demuxer.h::98291:: 20: warning: warning: missing fieldshifting 'pausing'a negativeinitializer [-Wmissing-field-initializers]signed value is undefined [-Wshift-negative-value] ...{ {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded input/input.cfrom: 97macro: 96 :'MP_NOPTS_VALUE' warning: missing field 'pausing' initializer [-Wmissing-field-initializers] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ...{ { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:98:62: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:99:131: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:100:148: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:101:74: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_OSD_SHOW_PROGRESSION, "osd_show_progression", 0, { {-1,{0}} } }, ^ input/input.c:102:94: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:103:96: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:104:59: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } }, ^ input/input.c:105:65: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_MUTE, "mute", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:106:94: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{ {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:107:89: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."gamma", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:108:99: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{ {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:109:84: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."hue",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:110:99: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{ {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:111:81: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."frame_drop",0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, ^ input/input.c:112:92: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:113:82: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."sub_alignment",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:114:85: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."sub_visibility", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:115:75: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_LOAD, "sub_load", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, ^ input/input.c:116:77: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_REMOVE, "sub_remove", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:117:80: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."vobsub_lang", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, // for compat... ^ input/input.c:118:79: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_SELECT, "sub_select", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, ^ input/input.c:119:79: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_SOURCE, "sub_source", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, ^ input/input.c:120:73: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_VOB, "sub_vob", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, ^ input/input.c:121:77: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_DEMUX, "sub_demux", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, ^ input/input.c:122:75: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_FILE, "sub_file", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, ^ input/input.c:123:48: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SUB_LOG, "sub_log", 0, { {-1,{0}} } }, ^ input/input.c:124:97: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{ {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:126:87: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."ass_use_margins", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:128:64: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } }, ^ input/input.c:129:58: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_TIME_POS, "get_time_pos", 0, { {-1,{0}} } }, ^ input/input.c:130:64: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } }, ^ input/input.c:131:59: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_FILENAME, "get_file_name", 0, { {-1,{0}} } }, ^ input/input.c:132:64: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_VIDEO_CODEC, "get_video_codec", 0, { {-1,{0}} } }, ^ input/input.c:133:68: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_VIDEO_BITRATE, "get_video_bitrate", 0, { {-1,{0}} } }, ^ input/input.c:134:74: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_VIDEO_RESOLUTION, "get_video_resolution", 0, { {-1,{0}} } }, ^ input/input.c:135:64: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_AUDIO_CODEC, "get_audio_codec", 0, { {-1,{0}} } }, ^ input/input.c:136:68: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_AUDIO_BITRATE, "get_audio_bitrate", 0, { {-1,{0}} } }, ^ input/input.c:137:68: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_AUDIO_SAMPLES, "get_audio_samples", 0, { {-1,{0}} } }, ^ input/input.c:138:62: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_META_TITLE, "get_meta_title", 0, { {-1,{0}} } }, ^ input/input.c:139:64: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_META_ARTIST, "get_meta_artist", 0, { {-1,{0}} } }, ^ input/input.c:140:62: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_META_ALBUM, "get_meta_album", 0, { {-1,{0}} } }, ^ input/input.c:141:60: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_META_YEAR, "get_meta_year", 0, { {-1,{0}} } }, ^ input/input.c:142:66: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_META_COMMENT, "get_meta_comment", 0, { {-1,{0}} } }, ^ input/input.c:143:62: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_META_TRACK, "get_meta_track", 0, { {-1,{0}} } }, ^ input/input.c:144:62: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_META_GENRE, "get_meta_genre", 0, { {-1,{0}} } }, ^ input/input.c:145:83: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."switch_audio", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, ^ input/input.c:146:83: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."switch_angle", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, ^ input/input.c:147:83: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."switch_title", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, ^ input/input.c:163:89: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."forced_subs_only", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:167:82: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."switch_ratio", 0, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, ^ input/input.c:168:83: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."vo_fullscreen", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:169:73: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_VO_ONTOP, "vo_ontop", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:170:78: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_FILE_FILTER, "file_filter", 1, { { MP_CMD_ARG_INT, {0}}, {-1,{0}}}}, ^ input/input.c:171:77: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:172:75: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_VO_BORDER, "vo_border", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, ^ input/input.c:173:76: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_SCREENSHOT, "screenshot", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:174:94: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{ {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:175:80: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."switch_vsync", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:176:98: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:177:98: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:178:65: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_RUN, "run", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, ^ input/input.c:179:52: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_CAPTURING, "capturing", 0, { {-1,{0}} } }, ^ input/input.c:180:111: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}}, ^ input/input.c:181:94: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."teletext_add_dec", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, ^ input/input.c:182:91: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."teletext_go_link", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:183:169: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:184:84: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."overlay_remove", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:187:72: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_DVDNAV, "dvdnav", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:191:68: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_MENU, "menu",1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:192:103: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{ {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:193:43: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_CHELP, "help", 0, { {-1,{0}} } }, ^ input/input.c:194:43: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_CEXIT, "exit", 0, { {-1,{0}} } }, ^ input/input.c:195:68: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_CHIDE, "hide", 0, { {MP_CMD_ARG_INT,{3000}}, {-1,{0}} } }, ^ input/input.c:198:68: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_VO_FULLSCREEN, "get_vo_fullscreen", 0, { {-1,{0}} } }, ^ input/input.c:199:70: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GET_SUB_VISIBILITY, "get_sub_visibility", 0, { {-1,{0}} } }, ^ input/input.c:200:84: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."key_down_event", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:201:111: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:202:85: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ..."get_property", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:203:132: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...{0}}, {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:205:102: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:206:104: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, ^ input/input.c:208:79: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_AF_SWITCH, "af_switch", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:209:73: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_AF_ADD, "af_add", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:210:73: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_AF_DEL, "af_del", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:211:46: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_AF_CLR, "af_clr", 0, { {-1,{0}} } }, ^ input/input.c:212:106: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] ...2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:214:66: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { MP_CMD_GUI, "gui", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, ^ input/input.c:216:21: warning: missing field 'pausing' initializer [-Wmissing-field-initializers] { 0, "", 0, { 0 } } ^ 7 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/spuenc.o sub/spuenc.c 1 warning generated. input/input.c:635:14: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[11]' (aka 'const struct m_option (*)[11]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~~~~~ m_property.c:221:41: warning: unused parameter 'prop' [-Wunused-parameter] int m_property_int_ro(const m_option_t* prop,int action, ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libao2/ao_alsa.o libao2/ao_alsa.c libao2/audio_out.c:146:62: warning: unused parameter 'use_plugin' [-Wunused-parameter] const ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,... ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/vo_png.o libvo/vo_png.c m_property.c:286:43: warning: unused parameter 'prop' [-Wunused-parameter] int m_property_float_ro(const m_option_t* prop,int action, ^ 8 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu.o libmenu/menu.c m_property.c:333:44: warning: unused parameter 'prop' [-Wunused-parameter] int m_property_double_ro(const m_option_t* prop,int action, ^ m_property.c:374:44: warning: unused parameter 'prop' [-Wunused-parameter] int m_property_string_ro(const m_option_t* prop,int action,void* arg,con... ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_chapsel.o libmenu/menu_chapsel.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_cmdlist.o libmenu/menu_cmdlist.c input/input.c:1091:49: warning: unused parameter 'paused' [-Wunused-parameter] mp_input_get_cmd_from_keys(int n,int* keys, int paused) { ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] input/input.c:1235:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < num_key_fd; i++) ~ ^ ~~~~~~~~~~ input/input.c:1240:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < num_cmd_fd; i++) ~ ^ ~~~~~~~~~~ input/input.c:1251:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < num_key_fd; i++) { ~ ^ ~~~~~~~~~~ input/input.c:1259:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < num_cmd_fd; i++) { ~ ^ ~~~~~~~~~~ input/input.c:1291:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < num_key_fd; i++) { ~ ^ ~~~~~~~~~~ input/input.c:1328:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < num_cmd_fd; i++) { ~ ^ ~~~~~~~~~~ input/input.c:1471:14: warning: returning 'const char[20]' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] return key_names[i].name; ^~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_console.o libmenu/menu_console.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] command.c:233:44: warning: unused parameter 'mpctx' [-Wunused-parameter] MPContext *mpctx) ^ command.c:258:61: warning: unused parameter 'mpctx' [-Wunused-parameter] void *arg, MPContext *mpctx) ^ command.c:281:40: warning: unused parameter 'mpctx' [-Wunused-parameter] MPContext *mpctx) ^ command.c:288:44: warning: unused parameter 'mpctx' [-Wunused-parameter] MPContext *mpctx) ^ command.c:330:49: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_stream_start(m_option_t *prop, int action, ^ command.c:344:47: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_stream_end(m_option_t *prop, int action, void *arg, ^ command.c:358:50: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_stream_length(m_option_t *prop, int action, ^ command.c:376:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (!mpctx->demuxer || mpctx->demuxer->stream_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ input/input.c:1860:48: warning: unused parameter 'cfg' [-Wunused-parameter] static int mp_input_print_key_list(m_option_t* cfg) { ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16: : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] input/input.c:1868:48: warning: unused parameter 'cfg' [-Wunused-parameter] static int mp_input_print_cmd_list(m_option_t* cfg) { ^ command.c:610:45: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_metadata(m_option_t *prop, int action, void *arg, ^ libvo/vo_null.c:47:32: warning: unused parameter 'image' [-Wunused-parameter] static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) ^ libvo/vo_null.c:47:45: warning: unused parameter 'stride' [-Wunused-parameter] static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) ^ libvo/vo_null.c:47:59: warning: unused parameter 'w' [-Wunused-parameter] static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) ^ libvo/vo_null.c:47:65: warning: unused parameter 'h' [-Wunused-parameter] static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) ^ libvo/vo_null.c:47:71: warning: unused parameter 'x' [-Wunused-parameter] static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) ^ libvo/vo_null.c:47:77: warning: unused parameter 'y' [-Wunused-parameter] static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) ^ libvo/vo_null.c:71:50: warning: unused parameter 'd_width' [-Wunused-parameter] config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_hei... ^ libvo/vo_null.c:71:68: warning: unused parameter 'd_height' [-Wunused-parameter] ...width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fl... ^ libvo/vo_null.c:71:87: warning: unused parameter 'flags' [-Wunused-parameter] ...uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, ch... ^ libvo/vo_null.c:71:100: warning: unused parameter 'title' [-Wunused-parameter] ...uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32... ^ libvo/vo_null.c:71:116: warning: unused parameter 'format' [-Wunused-parameter] ...uint32_t d_height, uint32_t flags, char *title, uint32_t format) ^ sub/spuenc.c:132:5: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] if(! i&1 ) { ^ ~ sub/spuenc.c:132:5: note: add parentheses after the '!' to evaluate the bitwise operator first if(! i&1 ) { ^ ( ) sub/spuenc.c:132:5: note: add parentheses around left hand side expression to silence this warning if(! i&1 ) { ^ ( ) sub/spuenc.c:41:23: warning: unused parameter 'x' [-Wunused-parameter] encode_do_control(int x,int y, encodedata* ed, pixbuf* pb) { ^ sub/spuenc.c:41:29: warning: unused parameter 'y' [-Wunused-parameter] encode_do_control(int x,int y, encodedata* ed, pixbuf* pb) { ^ command.c:895:42: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_audio(m_option_t *prop, int action, void *arg, ^ clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] command.c:957:42: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_video(m_option_t *prop, int action, void *arg, ^ sub/spuenc.c:223:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pb.pixels = inbuf; ^ ~~~~~ sub/spuenc.c:217:65: warning: unused parameter 'stride' [-Wunused-parameter] ...x, int y, int w, int h, char *inbuf, int stride,encodedata *ed){ ^ command.c:1018:44: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_program(m_option_t *prop, int action, void *arg, ^ 6 warnings generated. command.c:1330:41: warning: unused parameter 'mpctx' [-Wunused-parameter] MPContext *mpctx) ^ command.c:1433:43: warning: unused parameter 'mpctx' [-Wunused-parameter] MPContext *mpctx) ^ mplayer.c:143:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double start_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:154:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] .begin_skip = MP_NOPTS_VALUE, ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ command.c:1448:40: warning: unused parameter 'prop' [-Wunused-parameter] static int mp_property_sub(m_option_t *prop, int action, void *arg, ^ mplayer.c:204:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] static double seek_to_sec = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_filesel.o libmenu/menu_filesel.c command.c:1888:62: warning: unused parameter 'mpctx' [-Wunused-parameter] void *arg, MPContext *mpctx) ^ command.c:1912:42: warning: unused parameter 'mpctx' [-Wunused-parameter] MPContext *mpctx) ^ 11 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_list.o libmenu/menu_list.c In file included from mplayer.c:332: In file included from ./cfg-mplayer.h:27: ./cfg-common.h:301:18: warning: initializing 'void *' with an expression of type 'const m_option_t[49]' (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_NO... ^~~~~~~~~~~~~ 4 warnings generated. ./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:435:15: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "cdda", &cdda_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: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}, ^~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_param.o libmenu/menu_param.c ./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, ... ^~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_pt.o libmenu/menu_pt.c In file included from libmenu/menu_chapsel.c:37: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/menu_txt.o libmenu/menu_txt.c command.c:2707:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (mpctx->begin_skip == MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ command.c:2718:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] mpctx->begin_skip = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from mplayer.c:332: ./cfg-mplayer.h:361:15: warning: initializing 'void *' with an expression of type 'const char[1763]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~ ./cfg-mplayer.h:362:14: warning: initializing 'void *' with an expression of type 'const char[1763]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~ ./cfg-mplayer.h:363:11: warning: initializing 'void *' with an expression of type 'const char[1763]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, ^~~~~~~~~ ./cfg-mplayer.h:365:12: warning: initializing 'void *' with an expression of type 'const m_option_t[2]' (aka 'const struct m_option[2]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, ^~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libvo/vo_png.c:35: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libao2/ao_alsa.c:202:30: warning: '&&' within '||' [-Wlogical-op-parentheses] if (vol->left != 0 && vol->left != 100 || ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~ libao2/ao_alsa.c:202:30: note: place parentheses around the '&&' expression to silence this warning if (vol->left != 0 && vol->left != 100 || ^ ( ) libao2/ao_alsa.c:203:31: warning: '&&' within '||' [-Wlogical-op-parentheses] vol->right != 0 && vol->right != 100) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ libao2/ao_alsa.c:203:31: note: place parentheses around the '&&' expression to silence this warning vol->right != 0 && vol->right != 100) ^ ( ) mplayer.c:507:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double video_start_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:535:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (video_start_pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:536:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (start_pts == MP_NOPTS_VALUE || !mpctx->sh_audio || ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:540:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (start_pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libao2/ao_alsa.c:353:12: warning: missing field 'type' initializer [-Wmissing-field-initializers] {NULL} ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libao2/ao_alsa.c:568:12: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &ao_data.channels)) < 0) ^~~~~~~~~~~~~~~~~ /usr/include/alsa/pcm.h:803:100: note: passing argument to parameter 'val' here ...*pcm, snd_pcm_hw_params_t *params, unsigned int *val); ^ libao2/ao_alsa.c:589:8: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &ao_data.samplerate, NU... ^~~~~~~~~~~~~~~~~~~ /usr/include/alsa/pcm.h:815:96: note: passing argument to parameter 'val' here ...*pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir); ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libao2/ao_alsa.c:340:60: warning: unused parameter 'flags' [-Wunused-parameter] static int init(int rate_hz, int channels, int format, int flags) ^ mplayer.c:765:34: warning: unused parameter 'x' [-Wunused-parameter] static void child_sighandler(int x) ^ mplayer.c:910:75: warning: unused parameter 'file' [-Wunused-parameter] static void load_per_extension_config(m_config_t *conf, const char *const file) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] mplayer.c:1159:14: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (*pos >= len) { ~~~~ ^ ~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 5 warnings generated. libmenu/menu.c:416:6: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(hpic_a[font]->h) h=vo_font->pic_a[font]->h; ~^~~~~~~~~~~~~~~~~~~~~~~~ libmenu/menu.c:486:105: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] ...vo_font->width[c] <= mpi->w) && (y + vo_font->pic_a[font]->h <= mpi->h)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ libvo/vo_png.c:113:50: warning: unused parameter 'd_width' [-Wunused-parameter] config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_hei... ^ libvo/vo_png.c:113:68: warning: unused parameter 'd_height' [-Wunused-parameter] ...width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fl... ^ libvo/vo_png.c:113:87: warning: unused parameter 'flags' [-Wunused-parameter] ...uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, ch... ^ libvo/vo_png.c:113:100: warning: unused parameter 'title' [-Wunused-parameter] ...uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32... ^ libvo/vo_png.c:176:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libvo/vo_png.c:240:10: warning: missing field 'type' initializer [-Wmissing-field-initializers] {NULL} ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmenu/vf_menu.o libmenu/vf_menu.c mplayer.c:1744:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] case END_AT_TIME: return pts != MP_NOPTS_VALUE && end_at->pos <= pts; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:1794:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmenu/menu.c:754:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] draw_alpha(w,h,pic,pic_alpha,0, ^~~ libmenu/menu.c:754:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] draw_alpha(w,h,pic,pic_alpha,0, ^~~~~~~~~ mplayer.c:1952:63: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dvdsub_lang_id = mp_dvdnav_sid_from_lang(ctx->stream, dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvdnav.h:34:68: note: passing argument to parameter 'language' here int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); ^ mplayer.c:1940:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ctx->demuxer->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmenu/menu.c:413:19: warning: unused function 'get_height' [-Wunused-function] static inline int get_height(int c,int h){ ^ mplayer.c:2068:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:2068:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:2433:21: warning: incompatible pointer types assigning to 'sh_video_t *' (aka 'struct sh_video *') from 'demux_stream_t *' [-Wincompatible-pointer-types] mpctx->sh_video = mpctx->sh_video->ds = NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:2411:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sh_video->last_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o udp_sync.o udp_sync.c mplayer.c:2523:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (sh_video->pts == MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:2527:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (sh_video->last_pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 3 warnings generated. In file included from libmenu/menu_filesel.c:40: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:3220:41: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vobsub_set_from_lang(vo_vobsub, dvdsub_lang); ^~~~~~~~~~~ ./sub/vobsub.h:44:59: note: passing argument to parameter 'lang' here int vobsub_set_from_lang(void *vobhandle, unsigned char * lang); ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/vo_x11.o libvo/vo_x11.c mplayer.c:3300:46: warning: passing 'unsigned char[4096]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = stream_read(mpctx->stream, buf, 4096); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ mplayer.c:3344:57: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] audio_id = dvd_aid_from_lang(mpctx->stream, audio_lang); ^~~~~~~~~~ ./stream/stream_dvd.h:59:62: note: passing argument to parameter 'lang' here int dvd_aid_from_lang(stream_t *stream, const unsigned char* lang); ^ mplayer.c:3346:58: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dvdsub_id = dvd_sid_from_lang(mpctx->stream, dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvd.h:60:62: note: passing argument to parameter 'lang' here int dvd_sid_from_lang(stream_t *stream, const unsigned char* lang); ^ mplayer.c:3357:63: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] audio_id = mp_dvdnav_aid_from_lang(mpctx->stream, audio_lang); ^~~~~~~~~~ ./stream/stream_dvdnav.h:33:68: note: passing argument to parameter 'language' here int mp_dvdnav_aid_from_lang(stream_t *stream, const unsigned char *language); ^ mplayer.c:3360:81: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...= dvdsub_id = mp_dvdnav_sid_from_lang(mpctx->stream, dvdsub_lang); ^~~~~~~~~~~ ./stream/stream_dvdnav.h:34:68: note: passing argument to parameter 'language' here int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned char *language); ^ mplayer.c:3396:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] filename_recode(playlist_entry)); ^~~~~~~~~~~~~~ ./mp_msg.h:165:41: note: passing argument to parameter 'filename' here const char* filename_recode(const char* filename); ^ mplayer.c:3398:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bname = mp_basename(playlist_entry); ^~~~~~~~~~~~~~ ./path.h:28:37: note: passing argument to parameter 'path' here const char *mp_basename(const char *path); ^ mplayer.c:3402:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(playlist_entry, filename)) // ignoring self-reference ^~~~~~~~~~~~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ mplayer.c:3407:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (filename && !strcmp(mp_basename(playlist_entry), playlis... ^~~~~~~~~~~~~~ ./path.h:28:37: note: passing argument to parameter 'path' here const char *mp_basename(const char *path); ^ mplayer.c:3407:66: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (filename && !strcmp(mp_basename(playlist_entry), playlist_entry)) { ... ^~~~~~~~~~~~~~ /usr/include/string.h:39:39: note: passing argument to parameter here int strcmp (const char *, const char *); ^ mplayer.c:3408:90: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...- strlen(mp_basename(filename)) + strlen(playlist_entry) + 1)); ^~~~~~~~~~~~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ mplayer.c:3412:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(temp, playlist_entry); ^~~~~~~~~~~~~~ /usr/include/string.h:36:55: note: passing argument to parameter here char *strcat (char *__restrict, const char *__restrict); ^ mplayer.c:3422:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] play_tree_add_file(entry, playlist_entry); ^~~~~~~~~~~~~~ ./playtree.h:182:48: note: passing argument to parameter 'file' here play_tree_add_file(play_tree_t* pt,const char* file); ^ mplayer.c:3530:41: warning: incompatible pointer types passing 'int *' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] stream_write_buffer(os, &in_size, 4); ^~~~~~~~ ./stream/stream.h:203:53: note: passing argument to parameter 'buf' here int stream_write_buffer(stream_t *s, unsigned char *buf, int len); ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] mplayer.c:3297:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:3737:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (seek_to_sec != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:3827:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...if (correct_pts && mpctx->sh_video->endpts != MP_NOPTS_VALUE && ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:3828:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] mpctx->sh_video->pts != MP_NOPTS_VALUE && ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:3836:51: warning: shifting a negative signed value is undefined [-Wshift-negative-value] mpctx->sh_video->endpts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mplayer.c:4017:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (seek_to_sec == MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmenu/menu_filesel.c:433:70: warning: comparison of integers of different signs: 'off_t' (aka 'long') and 'unsigned long' [-Wsign-compare] ...(path_fp, &st) && (st.st_size > 0) && (st.st_size < sizeof(b))) { ~~~~~~~~~~ ^ ~~~~~~~~~ 7 warnings generated. 9 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/vo_xover.o libvo/vo_xover.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/x11_common.o libvo/x11_common.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/vo_xv.o libvo/vo_xv.c In file included from libmenu/vf_menu.c:27: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from udp_sync.c:44: In file included from ./mp_core.h:27: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o asxparser.o asxparser.c libmenu/vf_menu.c:62:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] put_image(vf,pause_mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmenu/vf_menu.c:62:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] put_image(vf,pause_mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmenu/vf_menu.c:69:42: warning: unused parameter 'paused' [-Wunused-parameter] static int cmd_filter(mp_cmd_t* cmd, int paused, void *p) { ^ libvo/vo_x11.c:208:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] myximage->data = ImageDataOrig + 16 - ((long)ImageDataOrig & 15); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_x11.c:210:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ImageData = myximage->data; ^ ~~~~~~~~~~~~~~ libvo/vo_x11.c:227:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] myximage->data = ImageDataOrig; ^ ~~~~~~~~~~~~~ libvo/vo_x11.c:276:61: warning: unused parameter 'd_width' [-Wunused-parameter] static int config(uint32_t width, uint32_t height, uint32_t d_width, ^ libvo/vo_x11.c:277:33: warning: unused parameter 'd_height' [-Wunused-parameter] uint32_t d_height, uint32_t flags, char *title, ^ libvo/vo_x11.c:406:56: warning: unused parameter 'ImageData' [-Wunused-parameter] static void Display_Image(XImage * myximage, uint8_t * ImageData) ^ libvo/vo_x11.c:495:27: warning: passing 'uint8_t **' (aka 'unsigned char **') to parameter of type 'const uint8_t *const *' (aka 'const unsigned char *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sws_scale(swsContext, src, stride, y, h, dst, dstStride); ^~~ /usr/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ libvo/vo_x11.c:450:58: warning: unused parameter 'w' [-Wunused-parameter] static int draw_slice(uint8_t * src[], int stride[], int w, int h, ^ libvo/vo_x11.c:451:32: warning: unused parameter 'x' [-Wunused-parameter] int x, int y) ^ libvo/vo_x11.c:508:25: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] || (mpi->height != image_height)) ~~~~~~~~~~~ ^ ~~~~~~~~~~~~ libvo/vo_x11.c:507:57: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] || (mpi->flags & MP_IMGFLAG_YUV) || (mpi->width != image_width) ~~~~~~~~~~ ^ ~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o bstr.o bstr.c libvo/vo_xover.c:91:49: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth, ^~~~~ /usr/include/X11/Xlib.h:2638:25: note: passing argument to parameter here int* /* x_return */, ^ libvo/vo_xover.c:91:56: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth, ^~~~~ /usr/include/X11/Xlib.h:2639:25: note: passing argument to parameter here int* /* y_return */, ^ libvo/vo_xover.c:96:8: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &drwcX, &drwcY, &mRoot); ^~~~~~ /usr/include/X11/Xlib.h:3466:30: note: passing argument to parameter here int* /* dest_x_return */, ^ libvo/vo_xover.c:96:16: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &drwcX, &drwcY, &mRoot); ^~~~~~ /usr/include/X11/Xlib.h:3467:30: note: passing argument to parameter here int* /* dest_y_return */, ^ libvo/vo_xover.c:97:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:97:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:106:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:106:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&dwidth,&dheight,A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to clang-16parameter : 'srch' warning: here argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:112:14: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&dwidth,&dheight,A_ZOOM); ^~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:112:22: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&dwidth,&dheight,A_ZOOM); ^~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:262:10: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&d_width, &d_height, A_NOZOOM); ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:262:20: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] aspect(&d_width, &d_height, A_NOZOOM); ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:275:75: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ...)||(flags & VOFLAG_SWSCALE) ) aspect(&d_width, &d_height, A_ZOOM); ^~~~~~~~ libvo/aspect.h:46:18: note: passing argument to parameter 'srcw' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:275:85: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ...)||(flags & VOFLAG_SWSCALE) ) aspect(&d_width, &d_height, A_ZOOM); ^~~~~~~~~ libvo/aspect.h:46:29: note: passing argument to parameter 'srch' here void aspect(int *srcw, int *srch, int zoom); ^ libvo/vo_xover.c:348:32: warning: unused parameter 'src' [-Wunused-parameter] static int draw_slice(uint8_t *src[], int stride[], ^ libvo/vo_xover.c:348:43: warning: unused parameter 'stride' [-Wunused-parameter] static int draw_slice(uint8_t *src[], int stride[], ^ libvo/vo_xover.c:349:11: warning: unused parameter 'w' [-Wunused-parameter] int w, int h, int x, int y) ^ libvo/vo_xover.c:349:18: warning: unused parameter 'h' [-Wunused-parameter] int w, int h, int x, int y) ^ libvo/vo_xover.c:349:25: warning: unused parameter 'x' [-Wunused-parameter] int w, int h, int x, int y) ^ libvo/vo_xover.c:349:32: warning: unused parameter 'y' [-Wunused-parameter] int w, int h, int x, int y) ^ libvo/vo_xover.c:355:32: warning: unused parameter 'src' [-Wunused-parameter] static int draw_frame(uint8_t *src[]) ^ In file included from libvo/vo_xover.c:37: libvo/video_out_internal.h:49:12: warning: unused function 'query_format' [-Wunused-function] static int query_format(uint32_t format); ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libvo/vo_xv.c:118:11: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] *x0 = FFMIN(*x0, image_width - *w); ^ ~~~ ~~~~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ libvo/vo_xv.c:119:11: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] *y0 = FFMIN(*y0, image_height - *h); ^ ~~~ ~~~~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ libvo/vo_xv.c:130:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xvimage[current_buf]->data + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:150:61: warning: unused parameter 'd_width' [-Wunused-parameter] static int config(uint32_t width, uint32_t height, uint32_t d_width, ^ libvo/vo_xv.c:151:33: warning: unused parameter 'd_height' [-Wunused-parameter] uint32_t d_height, uint32_t flags, char *title, ^ libvo/vo_xv.c:193:26: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] if (fo[i].id == format) ~~~~~~~~ ^ ~~~~~~ clang -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c libvo/vo_xv.c:391:9: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[0] + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:406:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:411:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:423:13: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o cpudetect.o cpudetect.c libvo/x11_common.c:321:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < nitems; i++) ~ ^ ~~~~~~ libvo/x11_common.c:346:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < nitems; i++) ~ ^ ~~~~~~ libvo/vo_xv.c:493:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mpi->planes[0] = ^ libvo/vo_xv.c:502:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mpi->planes[1] = ^ libvo/vo_xv.c:505:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mpi->planes[2] = ^ libvo/vo_xv.c:513:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mpi->planes[1] = ^ libvo/vo_xv.c:552:22: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] if (fo[i].id == format) ~~~~~~~~ ^ ~~~~~~ libvo/vo_xv.c:596:15: warning: missing field 'type' initializer [-Wmissing-field-initializers] { NULL } ^ libvo/vo_xv.c:665:44: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (xv_adaptor != -1 && xv_adaptor != i) ~~~~~~~~~~ ^ ~ 3 warnings generated. libvo/x11_common.c:744:22: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] wmClass.res_name = vo_winname ? vo_winname : name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/x11_common.c:874:49: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] XLookupString(&event->xkey, buf, sizeof(buf), &keySym, ^~~ /usr/include/X11/Xutil.h:536:31: note: passing argument to parameter here char* /* buffer_return */, ^ libvo/x11_common.c:938:46: warning: comparison of integers of different signs: 'long' and 'Atom' (aka 'unsigned long') [-Wsign-compare] event->xclient.data.l[0] == XAWM_DELETE_WINDOW) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o edl.o edl.c 6 warnings generated. libvo/x11_common.c:1174:39: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 8, PropModeReplace, title, strlen(title)); ^~~~~ /usr/include/X11/Xlib.h:2089:38: note: passing argument to parameter here _Xconst unsigned char* /* data */, ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o fmt-conversion.o fmt-conversion.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/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/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); ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 6 warnings generated. libvo/x11_common.c:1404:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &w, &h, &dummy_int, &depth); ^~~~~~~~~~ /usr/include/X11/Xlib.h:2642:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o m_config.o m_config.c 2 warnings generated. libvo/x11_common.c:1833:19: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (k = 0; k < cm_size; k++) ~ ^ ~~~~~~~ libvo/x11_common.c:1843:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (t < r) ~ ^ ~ libvo/x11_common.c:1847:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (t < g) ~ ^ ~ libvo/x11_common.c:1851:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (t < b) ~ ^ ~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from asxparser.c:31: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signedcpudetect.c :value389 :is60: undefined [-Wshift-negative-value]warning: unused parameter 'regs2' [-Wunused-parameter] dp->stream_pts = MP_NOPTS_VALUE; char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]){ ^~~~~~~~~~~~~~ ^ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' cpudetect.c:406:32: warning: comparison of integers of different signs:#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... 'int' ~~~~^and 'unsigned int' [-Wsign-compare] for (i = 0x80000002; i <= 0x80000004; i++) ~ ^ ~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o m_option.o m_option.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 22 warnings generated. 4 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o m_struct.o m_struct.c asxparser.c:393:68: warning: unused parameter 'pt' [-Wunused-parameter] asx_parse_param(ASX_Parser_t* parser, char** attribs, play_tree_t* pt) { ^ asxparser.c:448:47: warning: unused parameter 'buffer' [-Wunused-parameter] asx_parse_entryref(ASX_Parser_t* parser,char* buffer,char** _attribs) { ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o mp_msg.o mp_msg.c asxparser.c:485:58: warning: unused parameter '_attribs' [-Wunused-parameter] asx_parse_entry(ASX_Parser_t* parser,char* buffer,char** _attribs) { ^ 11 warnings generated. 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o mp_strings.o mp_strings.c ./version.sh `clang -dumpversion` m_config.c:80:42: warning: unused parameter 'dst' [-Wunused-parameter] set_profile(const m_option_t *opt, void *dst, const void *src) ^ m_config.c:102:12: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ m_config.c:143:48: warning: unused parameter 'name' [-Wunused-parameter] static int list_options(m_option_t *opt, char* name, char *param) ^ m_config.c:143:60:clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o parser-cfg.o parser-cfg.c warning: unused parameter 'param' [-Wunused-parameter] static int list_options(m_option_t *opt, char* name, char *param) ^ clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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) ^ m_config.c:325:14: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] co->name = arg->name; ^ ~~~~~~~~~ m_config.c:448:11: warning: unused variable 'l' [-Wunused-variable] int l = strlen(co->name) + 1 + strlen(lst[2*i]) + 1; ^ m_option.c:328:101: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:361:47: warning: unused parameter 'opt' [-Wunused-parameter] static char* print_position(const m_option_t* opt, const void* val) { ^ m_option.c:384:56: warning: unused parameter 'name' [-Wunused-parameter] static int parse_str(const m_option_t* opt,const char *name, const char ... ^ m_option.c:384:96: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:411:42: warning: unused parameter 'opt' [-Wunused-parameter] static char* print_str(const m_option_t* opt, const void* val) { ^ m_option.c:415:40: warning: unused parameter 'opt' [-Wunused-parameter] static void copy_str(const m_option_t* opt,void* dst, const void* src) { ^ 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/include/iconv.h:17:40: note: passing argument to parameter here size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__re... ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] m_option.c:565:101: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:652:45: warning: unused parameter 'opt' [-Wunused-parameter] static void copy_str_list(const m_option_t* opt,void* dst, const void* src) { ^ m_option.c:676:47: warning: unused parameter 'opt' [-Wunused-parameter] static char* print_str_list(const m_option_t* opt, const void* src) { ^ m_option.c:718:62: warning: unused parameter 'name' [-Wunused-parameter] static int parse_call_func(const m_option_t* opt,const char *name, cons... ^ m_option.c:718:93: warning: unused parameter 'dst' [-Wunused-parameter] ...m_option_t* opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:718:102: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:769:44: warning: unused parameter 'opt' [-Wunused-parameter] static int parse_func_pf(const m_option_t* opt,const char *name, const c... ^ m_option.c:769:100: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:790:44: warning: unused parameter 'opt' [-Wunused-parameter] static void copy_func_pf(const m_option_t* opt,void* dst, const void* src) { ^ m_option.c:816:57: warning: unused parameter 'dst' [-Wunused-parameter] static void set_func_param(const m_option_t* opt, void* dst, const void* src) { ^ m_option.c:845:56: warning: unused parameter 'dst' [-Wunused-parameter] static void set_func_full(const m_option_t* opt, void* dst, const void* src) { ^ mp_msg.c:236:58: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] while (iconv(msgiconv, &in, &inlen, &out, &outlen) == -1) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ m_option.c:875:41: warning: unused parameter 'opt' [-Wunused-parameter] static int parse_func(const m_option_t* opt,const char *name, const cha... ^ m_option.c:875:57: warning: unused parameter 'name' [-Wunused-parameter] static int parse_func(const m_option_t* opt,const char *name, const cha... ^ m_option.c:875:75: warning: unused parameter 'param' [-Wunused-parameter] ...parse_func(const m_option_t* opt,const char *name, const char *param, vo... ^ m_option.c:875:97: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:881:50: warning: unused parameter 'dst' [-Wunused-parameter] static void set_func(const m_option_t* opt,void* dst, const void* src) { ^ m_option.c:903:89: warning: unused parameter 'dst' [-Wunused-parameter] ...m_option_t* opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:903:98: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:1002:44: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (!p || p[0] != '%' || (optlen > strlen(p) - 1)) { ~~~~~~ ^ ~~~~~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o path.o path.c m_option.c:1182:43: warning: unused parameter 'opt' [-Wunused-parameter] static int parse_imgfmt(const m_option_t* opt,const char *name, const ch... ^ m_option.c:1182:99: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:1272:41: warning: unused parameter 'opt' [-Wunused-parameter] static int parse_afmt(const m_option_t* opt,const char *name, const cha... ^ m_option.c:1272:97: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ 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 ab... ~~~~^ m_option.c:1343:41: warning: unused parameter 'opt' [-Wunused-parameter] static int parse_time(const m_option_t* opt,const char *name, const cha... ^ m_option.c:1343:97: warning: unused parameter 'src' [-Wunused-parameter] ...m_option_t* opt,const char *name, const char *param, void* dst, int src) ^ m_option.c:1377:46: warning: unused parameter 'opt' [-Wunused-parameter] static int parse_time_size(const m_option_t* opt,const char *name, cons... ^ m_option.c:1377:102: warning: unused parameter 'src' [-Wunused-parameter] ...opt,const char *name, const char *param, void* dst, int src) { ^ m_option.c:1608:42: warning: unused parameter 'src' [-Wunused-parameter] const char *param, void* dst, int src) { ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o playtree.o playtree.c m_option.c:1931:54: warning: unused parameter 'opt' [-Wunused-parameter] static void copy_obj_settings_list(const m_option_t* opt,void* dst, cons... ^ m_option.c:1975:42: warning: unused parameter 'src' [-Wunused-parameter] const char *param, void* dst, int src) { ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o playtreeparser.o playtreeparser.c m_option.c:2047:40: warning: unused parameter 'src' [-Wunused-parameter] const char *url, void* dst, int src) { ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 5 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o subopt-helper.o subopt-helper.c 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af.o libaf/af.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_center.o libaf/af_center.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_channels.o libaf/af_channels.c In file included from playtreeparser.c:40: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ playtreeparser.c:105:46: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] while(strlen(p->buffer + p->buffer_end - r) != r) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ playtree.c:891:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i=0; ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] playtreeparser.c:557:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < strlen(line); i++) ~ ^ ~~~~~~~~~~~~ subopt-helper.c:89:46: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (!str || str[0] != QUOTE_CHAR || (len > strlen(str) - 1)) ~~~ ^ ~~~~~~~~~~~~~~~ 17 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] subopt-helper.c:335:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (!res && arg->len != strlen(str)) ~~~~~~~~ ^ ~~~~~~~~~~~ subopt-helper.c:343:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (!res && arg->len != strlen(str)) ~~~~~~~~ ^ ~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_comp.o libaf/af_comp.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_delay.o libaf/af_delay.c In file included from libaf/af.c:27: In file included from ./libmpcodecs/dec_audio.h:23: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 3 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_dummy.o libaf/af_dummy.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_equalizer.o libaf/af_equalizer.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_extrastereo.o libaf/af_extrastereo.c 6 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_format.o libaf/af_format.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_gate.o libaf/af_gate.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_hrtf.o libaf/af_hrtf.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_karaoke.o libaf/af_karaoke.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 116 warnings generated. libaf/af_karaoke.c:53:46: warning: unused parameter 'af' [-Wunused-parameter] static af_data_t* play(struct af_instance_s* af, af_data_t* data)clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_pan.o libaf/af_pan.c ^ 6 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_resample.o libaf/af_resample.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_scaletempo.o libaf/af_scaletempo.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_sinesuppress.o libaf/af_sinesuppress.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_stats.o libaf/af_stats.c 3 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_sub.o libaf/af_sub.c clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_surround.o libaf/af_surround.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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. libaf/af_resample.c:226:43: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if(s->up != af->data->rate/d || s->dn != n->rate/d){ ~~~~~ ^ ~~~~~~~~~ libaf/af_resample.c:226:14: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if(s->up != af->data->rate/d || s->dn != n->rate/d){ ~~~~~ ^ ~~~~~~~~~~~~~~~~ libaf/af_resample.c:253:11: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for(i=0;iup;i++){//Rows ~^~~~~~ libaf/af_scaletempo.c:471:12: warning: missing field 'type' initializer [-Wmissing-field-initializers] {NULL}, ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_sweep.o libaf/af_sweep.c 3 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_tools.o libaf/af_tools.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_volnorm.o libaf/af_volnorm.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_volume.o libaf/af_volume.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/filter.o libaf/filter.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/format.o libaf/format.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/reorder_ch.o libaf/reorder_ch.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/window.o libaf/window.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 11 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad.o libmpcodecs/ad.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libaf/reorder_ch.c:57:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_5(dest_8,src_8,samples,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:39:15: note: expanded from macro 'REORDER_COPY_5' for (i = 0; i < SAMPLES; i += 5) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:64:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_5(dest_16,src_16,samples,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:39:15: note: expanded from macro 'REORDER_COPY_5' for (i = 0; i < SAMPLES; i += 5) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:71:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += 15) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:94:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_5(dest_32,src_32,samples,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:39:15: note: expanded from macro 'REORDER_COPY_5' for (i = 0; i < SAMPLES; i += 5) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:101:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_5(dest_64,src_64,samples,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:39:15: note: expanded from macro 'REORDER_COPY_5' for (i = 0; i < SAMPLES; i += 5) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:133:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_6(dest_8,src_8,samples,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:114:15: note: expanded from macro 'REORDER_COPY_6' for (i = 0; i < SAMPLES; i += 6) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:140:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_6(dest_16,src_16,samples,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:114:15: note: expanded from macro 'REORDER_COPY_6' for (i = 0; i < SAMPLES; i += 6) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:147:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += 18) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:173:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_6(dest_32,src_32,samples,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:114:15: note: expanded from macro 'REORDER_COPY_6' for (i = 0; i < SAMPLES; i += 6) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:180:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_6(dest_64,src_64,samples,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:114:15: note: expanded from macro 'REORDER_COPY_6' for (i = 0; i < SAMPLES; i += 6) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:215:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_8(dest_8,src_8,samples,s0,s1,s2,s3,s4,s5,s6,s7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: note: expanded from macro 'REORDER_COPY_8' for (i = 0; i < SAMPLES; i += 8) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:222:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_8(dest_16,src_16,samples,s0,s1,s2,s3,s4,s5,s6,s7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: note: expanded from macro 'REORDER_COPY_8' for (i = 0; i < SAMPLES; i += 8) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:229:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += 24) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:261:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_8(dest_32,src_32,samples,s0,s1,s2,s3,s4,s5,s6,s7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: note: expanded from macro 'REORDER_COPY_8' for (i = 0; i < SAMPLES; i += 8) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:268:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_COPY_8(dest_64,src_64,samples,s0,s1,s2,s3,s4,s5,s6,s7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: note: expanded from macro 'REORDER_COPY_8' for (i = 0; i < SAMPLES; i += 8) {\ ~ ^ ~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libaf/reorder_ch.c:426:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_8,tmp,samples,6,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:429:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_8,tmp,samples,8,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:432:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_8,tmp,samples,5,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:441:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_16,tmp,samples,6,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:444:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:447:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:450:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_16,tmp,samples,5,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:458:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += chnum * 3) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:476:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_32,tmp,samples,6,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:479:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_32,tmp,samples,3,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:482:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_32,tmp,samples,4,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:485:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_32,tmp,samples,5,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:494:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_64,tmp,samples,6,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:497:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_64,tmp,samples,3,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:500:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_64,tmp,samples,4,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:503:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2(src_64,tmp,samples,5,s0,s1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: note: expanded from macro 'REORDER_SELF_SWAP_2' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:535:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_8,tmp,samples,6,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:538:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_8,tmp,samples,5,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:547:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_16,tmp,samples,6,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:550:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_16,tmp,samples,5,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:558:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += chnum * 3) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:579:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_32,tmp,samples,6,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:582:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_32,tmp,samples,5,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:591:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_64,tmp,samples,6,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:594:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3(src_64,tmp,samples,5,s0,s1,s2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: note: expanded from macro 'REORDER_SELF_SWAP_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:627:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,6,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:630:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,8,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:633:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,5,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:642:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,6,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:645:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,8,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:648:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,5,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:656:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += chnum * 3) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:680:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_32,tmp,samples,6,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:683:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_32,tmp,samples,8,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:686:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_32,tmp,samples,5,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:695:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_64,tmp,samples,6,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:698:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_64,tmp,samples,8,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:701:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_4_STEP_1(src_64,tmp,samples,5,s0,s1,s2,s3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: note: expanded from macro 'REORDER_SELF_SWAP_4_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:734:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += chnum * 3) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:786:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:789:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,8,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:792:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,5,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:801:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:804:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,8,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:807:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,5,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:815:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += chnum * 3) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:842:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:845:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,8,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:848:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,5,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:857:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:860:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,8,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:863:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,5,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: note: expanded from macro 'REORDER_SELF_SWAP_5_STEP_1' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:897:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:877:15: note: expanded from macro 'REORDER_SELF_SWAP_2_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:904:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_3(src_16,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:877:15: note: expanded from macro 'REORDER_SELF_SWAP_2_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:911:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += 18) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:940:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:877:15: note: expanded from macro 'REORDER_SELF_SWAP_2_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:947:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:877:15: note: expanded from macro 'REORDER_SELF_SWAP_2_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:981:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:960:15: note: expanded from macro 'REORDER_SELF_SWAP_3_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:988:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3_3(src_16,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:960:15: note: expanded from macro 'REORDER_SELF_SWAP_3_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:995:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += 18) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:1027:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:960:15: note: expanded from macro 'REORDER_SELF_SWAP_3_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1034:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_3_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:960:15: note: expanded from macro 'REORDER_SELF_SWAP_3_3' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1069:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_8,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1071:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_8,tmp,samples,8,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1080:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_16,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1082:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_16,tmp,samples,8,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1090:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < samples * 3; i += chnum * 3) { ~ ^ ~~~~~~~~~~~ libaf/reorder_ch.c:1123:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_32,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1125:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_32,tmp,samples,8,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1134:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_64,tmp,samples,6,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ libaf/reorder_ch.c:1136:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] REORDER_SELF_SWAP_2_4(src_64,tmp,samples,8,s0,s1,s2,s3,s4,s5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: note: expanded from macro 'REORDER_SELF_SWAP_2_4' for (i = 0; i < SAMPLES; i += CHNUM) {\ ~ ^ ~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c In file included from libmpcodecs/ad.c:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 22 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 3 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_hwmpa.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c 4 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/dec_teletext.o libmpcodecs/dec_teletext.c 1 warning generated. In file included from libmpcodecs/ad_alaw.c:24: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c In file included from libmpcodecs/ad_dvdpcm.c:26: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/mp_image.o libmpcodecs/mp_image.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/pullup.o libmpcodecs/pullup.c clang-16clang-16: : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 5 warnings generated. libmpcodecs/ad_alaw.c:58:32: warning: unused parameter 'sh' [-Wunused-parameter] static void uninit(sh_audio_t *sh) ^ libmpcodecs/ad_alaw.c:62:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_audio_t *sh,int cmd,void* arg, ...) ^ libmpcodecs/ad_alaw.c:78:80: warning: unused parameter 'maxlen' [-Wunused-parameter] ...*sh_audio,unsigned char *buf,int minlen,int maxlen) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd.o libmpcodecs/vd.c libmpcodecs/ad_dvdpcm.c:86:32: warning: unused parameter 'sh' [-Wunused-parameter] static void uninit(sh_audio_t *sh) ^ libmpcodecs/ad_dvdpcm.c:90:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_audio_t *sh,int cmd,void* arg, ...) ^ libmpcodecs/ad_dvdpcm.c:114:45: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = demux_read_data(sh_audio->ds, tmp, 10); ^~~ ./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_dvdpcm.c:138:45: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = demux_read_data(sh_audio->ds, tmp, 12); ^~~ ./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_dvdpcm.c:104:80: warning: unused parameter 'maxlen' [-Wunused-parameter] ...*sh_audio,unsigned char *buf,int minlen,int maxlen) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpcodecs/ad_pcm.c:24: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.hclang-16:: 291:warning: 20: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpcodecs/ad_hwmpa.c:30: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpcodecs/ad_hwac3.c:34: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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... ^~~~~~~~~~~~~~~~~~~~~ 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_rat... ^ libmpcodecs/ad_hwac3.c:129:29: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] length = a52_syncinfo(sh_audio->a_in_buffer, &sample_rate, &bit_rate); ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.c:55:35: note: passing argument to parameter 'buf' here static int a52_syncinfo (uint8_t *buf, int *sample_rate, int *bit_rate) ^ libmpcodecs/ad_hwac3.c:148:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] demux_read_data(sh_audio->ds, sh_audio->a_in_buffer + 12, length - 12); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_hwac3.c:185:32: warning: unused parameter 'sh' [-Wunused-parameter] static void uninit(sh_audio_t *sh) ^ libmpcodecs/ad_hwac3.c:189:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_audio_t *sh,int cmd,void* arg, ...) ^ 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, unsigne... ^ libmpcodecs/ad_hwac3.c:202:69: warning: unused parameter 'minlen' [-Wunused-parameter] static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int ... ^ 6 warnings generated. libmpcodecs/ad_hwac3.c:439:51: warning: unused parameter 'flags' [-Wunused-parameter] static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rat... ^ In file included from libmpcodecs/dec_audio.c:29: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/pullup.c:165:55: warning: unused parameter 'b' [-Wunused-parameter] static int var_y_mmx(unsigned char *a, unsigned char *b, int s) ^ In file included from libmpcodecs/dec_video.c:27: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 38 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_hmblck.o libmpcodecs/vd_hmblck.c libmpcodecs/ad_pcm.c:128:32: warning: unused parameter 'sh' [-Wunused-parameter] static void uninit(sh_audio_t *sh) ^ libmpcodecs/ad_pcm.c:132:51: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_audio_t *sh, int cmd, void *arg, ...) ^ libmpcodecs/ad_pcm.c:150:13: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (len > maxlen) ~~~ ^ ~~~~~~ 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_la... ^~~~~~~~~~~~~~~~~~~~~~~ ./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* sp... ^ 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... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_hwmpa.c:118:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...l = demux_read_data(sh->ds,&sh->a_in_buffer[sh->a_in_buffer_len], l); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:382:55: note: passing argument to parameter 'mem' here int demux_read_data(demux_stream_t *ds,unsigned char* mem,int len); ^ libmpcodecs/ad_hwmpa.c:100:63: warning: unused parameter 'minlen' [-Wunused-parameter] static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) ^ libmpcodecs/ad_hwmpa.c:142:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_audio_t *sh,int cmd,void* arg, ...) ^ libmpcodecs/ad_hwmpa.c:166:32: warning: unused parameter 'sh' [-Wunused-parameter] static void uninit(sh_audio_t *sh) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_lzo.o libmpcodecs/vd_lzo.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:112:30: note: passing argument to parameter here int snprintf(char *__restrict, size_t, const char *__restrict, ...); ^ libmpcodecs/dec_teletext.c:1187:66: warning: unused parameter 'magAddr' [-Wunused-parameter] static int decode_pkt30(priv_vbi_t* priv,unsigned char* data,int magAddr) ^ libmpcodecs/dec_teletext.c:1575:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < sizeof(data); i++) ~ ^ ~~~~~~~~~~~~ 8 warnings generated. 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, ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mpegpes.c 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_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; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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); ^~~~ In file included from libmpcodecs/vd.c:32: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE;libmpcodecs/dec_video.c :157 ^~~~~~~~~~~~~~: 34: ./libmpdemux/demuxer.h:warning: 98:29shifting: a note: negative expandedsigned fromvalue macrois undefined'MP_NOPTS_VALUE' [-Wshift-negative-value] sh_video->last_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./mp_global.h:27./libmpdemux/demuxer.h::29290:: 14: note: expandedwarning: from shiftingmacro a 'MP_NOPTS_VALUE'negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ./libmpdemux/demuxer.h ~~~~^: 98:629 warning:s generated. note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/pullup.c:300:56: warning: unused parameter 'b' [-Wunused-parameter] static int var_y_sse2(unsigned char *a, unsigned char *b, int s) ^ libmpcodecs/pullup.c:360:51: warning: parameter 'b' set but not used [-Wunused-but-set-parameter] static int var_y(unsigned char *a, unsigned char *b, int s) ^ libmpcodecs/dec_video.c:413:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (correct_pts && pts != MP_NOPTS_VALUE ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/dec_video.c:466:29: warning: shifting a negative signed value is undefined [-Wshift-negative-value] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_mtga.o libmpcodecs/vd_mtga.c 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 ab... ~~~~^ libmpcodecs/dec_video.c:467:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] sh_video->endpts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/pullup.c:725:57: warning: unused parameter 'c' [-Wunused-parameter] static void print_aff_and_breaks(struct pullup_context *c, struct pullup... ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_null.o libmpcodecs/vd_null.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpcodecs/vd_hmblck.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpcodecs/vd_lzo.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 9 warnings generated. libmpcodecs/vd_hmblck.c:74:32: warning: unused parameter 'sh' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd, void *arg,...){ ^ libmpcodecs/vd_hmblck.c:74:39: warning: unused parameter 'cmd' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd, void *arg,...){ ^ libmpcodecs/vd_hmblck.c:74:50: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd, void *arg,...){ ^ In file included from libmpcodecs/vd_mpegpes.c:26: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab...libmpcodecs/vd_hmblck.c :99 ~~~~^: 32: ./libmpdemux/demuxer.hwarning: :291:unused20 :parameter 'sh'warning: [-Wunused-parameter]shifting a negative signed value static void uninit(sh_video_t *sh){is undefined ^ [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vd_hmblck.c:104:65: warning: unused parameter 'flags' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ ^ libmpcodecs/vd_lzo.c:98:65: warning: unused parameter 'flags' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_raw.o libmpcodecs/vd_raw.c In file included from libmpcodecs/vd_mtga.c:35: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_sgi.o libmpcodecs/vd_sgi.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_black.o libmpcodecs/vd_black.c libmpcodecs/vd_mpegpes.c:44:32: warning: unused parameter 'sh' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ libmpcodecs/vd_mpegpes.c:44:39: warning: unused parameter 'cmd' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ libmpcodecs/vd_mpegpes.c:44:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ In file included from libmpcodecs/vd_null.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vd_mpegpes.c./libmpdemux/demuxer.h::54290::3214:: warning: warning: unusedshifting parametera negative'sh' [-Wunused-parameter]signed value is undefinedstatic void uninit(sh_video_t *sh){ [-Wshift-negative-value] ^ dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vd_mpegpes.c:58:65: warning: unused parameter 'flags' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vd_mtga.c:81:32: warning: unused parameter 'sh' [-Wunused-parameter] static int control(sh_video_t *sh, int cmd, void *arg, ...) ^ libmpcodecs/vd_mtga.c:86:25: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (*((int *) arg) == out_fmt) return CONTROL_TRUE; ~~~~~~~~~~~~~~ ^ ~~~~~~~ libmpcodecs/vd_mtga.c:1934: warning67s: generated . warning: unused parameter 'flags' [-Wunused-parameter] static mp_image_t *decode(sh_video_t *sh, void *raw, int len, int flags) ^ libmpcodecs/vd_mtga.c:229:67: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (last_w != info->width || last_h != info->height || last_c != out_fmt) ~~~~~~ ^ ~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf.o libmpcodecs/vf.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vd_null.c:39:32: warning: unused parameter 'sh' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ libmpcodecs/vd_null.c:39:39: warning: unused parameter 'cmd' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ libmpcodecs/vd_null.c:39:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ libmpcodecs/vd_null.c:50:32: warning: unused parameter 'sh' [-Wunused-parameter] static void uninit(sh_video_t *sh){ ^ libmpcodecs/vd_null.c:54:39: warning: unused parameter 'sh' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ ^ libmpcodecs/vd_null.c8: warning54s: generated4811. : warning s generated. warning: unused parameter 'data' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ ^ libmpcodecs/vd_null.c:54:57: warning: unused parameter 'len' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ ^ libmpcodecs/vd_null.c:54:65: warning: unused parameter 'flags' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_1bpp.o libmpcodecs/vf_1bpp.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_2xsai.o libmpcodecs/vf_2xsai.c In file included from libmpcodecs/vd_raw.c:25: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 11 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_blackframe.o libmpcodecs/vf_blackframe.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 3 warnings generated. In file included from libmpcodecs/vd_sgi.c:28: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpcodecs/vd_black.c:26: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 8 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.c 10 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vd_raw.c:70:32: warning: unused parameter 'sh' [-Wunused-parameter] static void uninit(sh_video_t *sh){ ^ libmpcodecs/vd_raw.c:76:65: warning: unused parameter 'flags' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ ^ 5 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vd_sgi.c:69:21: warning: unused parameter 'sh' [-Wunused-parameter] control(sh_video_t* sh, int cmd, void *arg, ...) ^ 7 warnings generated. libmpcodecs/vd_black.c:57:32: warning: unused parameter 'sh' [-Wunused-parameter] static int control(sh_video_t *sh, int cmd, void *arg, ...) ^ libmpcodecs/vd_sgi.c:275:60: warning: unused parameter 'flags' [-Wunused-parameter] mp_image_t *decode(sh_video_t *sh, void *raw, int len, int flags) ^ libmpcodecs/vd_black.c:164:49: warning: unused parameter 'data' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh, void *data, int len, int flags) ^ libmpcodecs/vd_black.c:164:59: warning: unused parameter 'len' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh, void *data, int len, int flags) ^ libmpcodecs/vd_black.c:164:68: warning: unused parameter 'flags' [-Wunused-parameter] static mp_image_t* decode(sh_video_t *sh, void *data, int len, int flags) ^ libmpcodecs/vf_1bpp.c:189:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ libmpcodecs/vf_2xsai.c:100:64: warning: unused parameter 'sbpp' [-Wunused-parameter] uint32_t width, uint32_t height, int sbpp) ^ libmpcodecs/vf_2xsai.c:320:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vf.c:358:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] mpi->type=mp_imgtype; ^ libmpcodecs/vf.c:355:3: note: previous statement is here if (!mpi) ^ clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vf.c:655:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] || (vf->fmt.orig_fmt != outfmt)) { ~~~~~~~~~~~~~~~~ ^ ~~~~~~ 5 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c In file included from libmpcodecs/vf_crop.c:29: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 7 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_detc.o libmpcodecs/vf_detc.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_dint.o libmpcodecs/vf_dint.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]libmpcodecs/vf_delogo.c :324:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ libmpcodecs/vf_crop.c:157:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 5 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_divtc.o libmpcodecs/vf_divtc.c libmpcodecs/vf_detc.c:147:67: warning: unused parameter 'new' [-Wunused-parameter] static int analyze_fixed_pattern(struct vf_priv_s *p, mp_image_t *new, mp_image... ^ libmpcodecs/vf_detc.c:147:84: warning: unused parameter 'old' [-Wunused-parameter] ...vf_priv_s *p, mp_image_t *new, mp_image_t *old) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_detc.c:316:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_detc.c:316:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 1 warning generated. 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; ^ ~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_down3dright.o libmpcodecs/vf_down3dright.c 4 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_dsize.o libmpcodecs/vf_dsize.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_dvbscale.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vf_divtc.c:111:57: warning: unused parameter 'arg' [-Wunused-parameter] int w, int h, int os, int ns, int arg) ^ 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:101:29: 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:121:34: note: passing argument to parameter here int sscanf(const char *__restrict, const char *__restrict, ...); ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_eq.o libmpcodecs/vf_eq.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_eq2.o libmpcodecs/vf_eq2.c 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_expand.o libmpcodecs/vf_expand.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_field.o libmpcodecs/vf_field.c 2 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_fil.o libmpcodecs/vf_fil.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_fixpts.o libmpcodecs/vf_fixpts.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 1 warning generated. In file included from 1libmpcodecs/vf_expand.c warning: generated. 31: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_flip.o libmpcodecs/vf_flip.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_format.o libmpcodecs/vf_format.c libmpcodecs/vf_eq.c:261:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args) ^ In file included from libmpcodecs/vf_filmdint.c:31: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab...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' clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_framestep.o libmpcodecs/vf_framestep.c #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_eq2.c:205:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < w - 15; i += 16) ~ ^ ~~~~~~ libmpcodecs/vf_eq2.c:218:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (; i < w; i++) ~ ^ ~ libmpcodecs/vf_eq2.c:289:51: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if ((eq2->buf_w[0] != src->w) || (eq2->buf_h[0] != src->h)) { ~~~~~~~~~~~~~ ^ ~~~~~~ libmpcodecs/vf_eq2.c:289:22: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if ((eq2->buf_w[0] != src->w) || (eq2->buf_h[0] != src->h)) { ~~~~~~~~~~~~~ ^ ~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_gradfun.o libmpcodecs/vf_gradfun.c libmpcodecs/vf_expand.c:350:25: warning: unused parameter 'src' [-Wunused-parameter] unsigned char** src, int* stride, in... ^ libmpcodecs/vf_expand.c:350:35: warning: unused parameter 'stride' [-Wunused-parameter] unsigned char** src, int* stride, in... ^ libmpcodecs/vf_expand.c:350:47: warning: unused parameter 'w' [-Wunused-parameter] ...unsigned char** src, int* stride, int w,int h, int x, int y){ ^ libmpcodecs/vf_expand.c:350:53: warning: unused parameter 'h' [-Wunused-parameter] ...unsigned char** src, int* stride, int w,int h, int x, int y){ ^ libmpcodecs/vf_expand.c:350:60: warning: unused parameter 'x' [-Wunused-parameter] ...unsigned char** src, int* stride, int w,int h, int x, int y){ ^ libmpcodecs/vf_expand.c:359:25: warning: unused parameter 'src' [-Wunused-parameter] unsigned char** src, int* stride, in... ^ libmpcodecs/vf_expand.c:359:35: warning: unused parameter 'stride' [-Wunused-parameter] unsigned char** src, int* stride, in... ^ libmpcodecs/vf_expand.c:359:47: warning: unused parameter 'w' [-Wunused-parameter] ...unsigned char** src, int* stride, int w,int h, int x, int y){ ^ libmpcodecs/vf_expand.c:359:60: warning: unused parameter 'x' [-Wunused-parameter] ...unsigned char** src, int* stride, int w,int h, int x, int y){ ^ libmpcodecs/vf_expand.c:477:45: warning: unused parameterclang-16clang-16 : : 'args'warning: warning: [-Wunused-parameter]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] static int vf_open(vf_instance_t *vf, char *args){ ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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/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:449:36: warning: unused parameter 'a' [-Wunused-parameter] block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, ^ libmpcodecs/vf_filmdint.c:449:54: warning: unused parameter 'b' [-Wunused-parameter] block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, ^ libmpcodecs/vf_filmdint.c:449:61: warning: unused parameter 'as' [-Wunused-parameter] block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, ^ libmpcodecs/vf_filmdint.c:449:69: warning: unused parameter 'bs' [-Wunused-parameter] block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, ^ libmpcodecs/vf_filmdint.c:450:25: warning: unused parameter 'lines' [-Wunused-parameter] int lines, struct vf_priv_s *p, struct frame_stats *s) ^ libmpcodecs/vf_filmdint.c:450:50: warning: unused parameter 'p' [-Wunused-parameter] int lines, struct vf_priv_s *p, struct frame_stats *s) ^ libmpcodecs/vf_filmdint.c:450:73: warning: unused parameter 's' [-Wunused-parameter] int lines, struct vf_priv_s *p, struct frame_stats *s) ^ libmpcodecs/vf_filmdint.c:462:12: warning: variable 'tm' is uninitialized when used here [-Wuninitialized] return tm; ^~ libmpcodecs/vf_filmdint.c:452:5: note: variable 'tm' is declared here struct metrics tm; ^ libmpcodecs/vf_flip.c:93:libmpcodecs/vf_format.c45::56 :44:warning: warning: unused parameterunused parameter'args' [-Wunused-parameter]'outfmt' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ unsigned flags, unsigned outfmt){ ^ ^ libmpcodecs/vf_format.c:60:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 4 warnings generated. libmpcodecs/vf_filmdint.c:1025:22: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (sad_comb_cmp == -2) ~~~~~~~~~~~~ ^ ~~ libmpcodecs/vf_filmdint.c:1058:22: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (sad_comb_cmp == -1 && s->sad.temp < 64) ~~~~~~~~~~~~ ^ ~~ libmpcodecs/vf_filmdint.c:1138:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_filmdint.c:1138:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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_NOPT... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vf_filmdint.c:1333:70: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...? 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 ab... ~~~~^ libmpcodecs/vf_filmdint.c:1384:23: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (!p->w || p->w > width ) p->w = width; ~~~~ ^ ~~~~~ libmpcodecs/vf_filmdint.c:1385:23: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (!p->h || p->h > height) p->h = height; ~~~~ ^ ~~~~~~ libmpcodecs/vf_filmdint.c:1386:26: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (p->crop_x + p->w > width ) p->crop_x = 0; ~~~~~~~~~~~~~~~~ ^ ~~~~~ libmpcodecs/vf_filmdint.c:1387:26: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] if (p->crop_y + p->h > height) p->crop_y = 0; ~~~~~~~~~~~~~~~~ ^ ~~~~~~ 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_halfpack.o libmpcodecs/vf_halfpack.c 6 warnings generated. 2 warnings generated. 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_harddup.o libmpcodecs/vf_harddup.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_hue.o libmpcodecs/vf_hue.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_il.o libmpcodecs/vf_il.c 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ilpack.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_ivtc.o libmpcodecs/vf_ivtc.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_harddup.c:76:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 61 warnings generated. libmpcodecs/vf_halfpack.c:195:38: warning: unused parameter 'outfmt' [-Wunused-parameter] unsigned int flags, unsigned int outfmt) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_kerndeint.c 86 warnings generated. libmpcodecs/vf_hue.c:166:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args) ^ 1 warning generated. libmpcodecs/vf_ilpack.c:392:44: warning: unused parameter 'outfmt' [-Wunused-parameter] unsigned int flags, unsigned int outfmt) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_mirror.o libmpcodecs/vf_mirror.c 3 warnings generated. 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_ivtc.c:458:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_ivtc.c:458:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_noformat.o libmpcodecs/vf_noformat.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_noise.o libmpcodecs/vf_noise.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_ow.o libmpcodecs/vf_ow.c libmpcodecs/vf_mirror.c:116:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ libmpcodecs/vf_noformat.c:49:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ 1 warning generated. 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_palette.o libmpcodecs/vf_palette.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_phase.o libmpcodecs/vf_phase.c 13 warnings generated. 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_pullup.o libmpcodecs/vf_pullup.c 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_rectangle.o libmpcodecs/vf_rectangle.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_remove_logo.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vf_phase.c:89:36: warning: unused parameter 'verbose' [-Wunused-parameter] int verbose, int fields) ^ libmpcodecs/vf_phase.c:199:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_phase.c:199:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vf_pullup.c:107:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_pullup.c:107:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_remove_logo.c:204:29: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (start_x = 0; start_x < filter->width && !did_we_find_a_logo_pixel... ~~~~~~~ ^ ~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:206:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (y = 0; y < filter->height; y++) ~ ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:217:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (y = 0; y < filter->height; y++) ~ ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:226:29: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (start_y = 0; start_y < filter->height && !did_we_find_a_logo_pixe... ~~~~~~~ ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:228:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 0; x < filter->width; x++) ~ ^ ~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:239:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 0; x < filter->width; x++) ~ ^ ~~~~~~~~~~~~~ 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:359:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 0; x < mask->height * mask->width; x++, current_pixel++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:373:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (y = 1; y < mask->height - 1; y++) ~ ^ ~~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:375:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 1; x < mask->width - 1; x++) ~ ^ ~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:396:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (y = 1; y < mask->height - 1; y++) ~ ^ ~~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:398:18: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 1; x < mask->width - 1; x++) ~ ^ ~~~~~~~~~~~~~~~ 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; w... ^ ~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rgbtest.c 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:616:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (y = 0; y < new_pgm->height; y++) ~ ^ ~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:617:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 0; x < new_pgm->width; x++) ~ ^ ~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:632:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 0; x < new_pgm->height * new_pgm->width; x++, current_pixel++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:646:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (y = 1; y < new_pgm->height - 1; y++) ~ ^ ~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:648:21: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 1; x < new_pgm->width - 1; x++) ~ ^ ~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_pp7.clibmpcodecs/vf_remove_logo.c::392664::10817:: warning: warning: passingcomparison 'char *'of to integers parameterof ofdifferent typesigns: 'uint8_t *''int' (aka 'unsigned char *')and converts'unsigned int' between[-Wsign-compare] pointers to for (y = 1; y < new_pgm->height - 1; y++)integer types ~ ^ ~~~~~~~~~~~~~~~~~~~ where one libmpcodecs/vf_remove_logo.cis: 666of: 18the: unique plainwarning: 'char' comparisontype ofand integersthe ofother differentis signs:not 'int'[-Wpointer-sign] and 'unsigned int' [-Wsign-compare] for (x = 1; x < new_pgm->width - 1; x++) ~ ^ ~~~~~~~~~~~~~~~~~~ ...dmpi->stride[0], mpi->stride[0], mpi->w, mpi->h, mpi->qscale, mpi->qstri... ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here ...dst_stride, int src_stride, int width, int height, uint8_t *qp_store, in... ^ 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] ...mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, m... ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here ...dst_stride, int src_stride, int width, int height, uint8_t *qp_store, in... ^ libmpcodecs/vf_remove_logo.c:696:126: libmpcodecs/vf_pp7.cwarning: :394:unused150 : parameter 'outfmt'warning: [-Wunused-parameter]passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is ...int d_width, int d_height, unsigned int flags, unsigned int outfmt)of the ^ unique plain 'char' type and the other is not [-Wpointer-sign] ...mpi->w>>mpi->chroma_x_shift, mpi->h>>mpi->chroma_y_shift, mpi->qscale, m... ^~~~~~~~~~~ libmpcodecs/vf_pp7.c:286:133: note: passing argument to parameter 'qp_store' here ...dst_stride, int src_stride, int width, int height, uint8_t *qp_store, in... ^ 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 ...vf_instance_t * const vf, const char * const source, const int source_st... ^ 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... ^ 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 ... ^~~~~~~~~~~~~~ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here ...vf_instance_t * const vf, const char * const source, const int source_st... ^ 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... ^ 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 andlibmpcodecs/vf_pp7.c : 210the: 18other: is notwarning: [-Wpointer-sign]unused variable 'thres' [-Wunused-const-variable] convert_yv12(vf, mpi->planes[2], mpi->stride[2], mpi, mpi->w ...static const int thres[16]={ ^~~~~~~~~~~~~~ ^ libmpcodecs/vf_remove_logo.c:728:77: note: passing argument to parameter 'source' here ...vf_instance_t * const vf, const char * const source, const int source_st... ^ 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... ^ libmpcodecs/vf_remove_logo.c:785:71: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (vf->priv->filter->width != mpi->w || vf->priv->filter->height != mpi->h) ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ libmpcodecs/vf_remove_logo.c:785:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (vf->priv->filter->width != mpi->w || vf->priv->filter->height != mpi->h) ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_rotate.o libmpcodecs/vf_rotate.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_scale.o libmpcodecs/vf_scale.c 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 6 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c In file included from libmpcodecs/vf_scale.c:30: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vf_softpulldown.c:38:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_softpulldown.c:38:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_softpulldown.c:145:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c In file included from libmpcodecs/vf_stereo3d.c:32: In file included from libmpcodecs/vd.h:25: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a libmpcodecs/vf_scale.cnegative: 62 :signed1 :value is warning: undefined [-Wshift-negative-value]missing field dp->stream_pts = MP_NOPTS_VALUE;'interlaced' initializer ^~~~~~~~~~~~~~ [-Wmissing-field-initializers] ./libmpdemux/demuxer.h:98:29: }; note: ^ expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_telecine.o libmpcodecs/vf_telecine.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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/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/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/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:454:47: warning: unused parameter 'w' [-Wunused-parameter] unsigned char** src, int* stride, int w,int h, int x, int y){ ^ libmpcodecs/vf_scale.c:454:60: warning: unused parameter 'x' [-Wunused-parameter] unsigned char** src, int* stride, int w,int h, int x, int y){ ^ libmpcodecs/vf_scale.c:547:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] return vf_next_control(vf,request,data); ^ libmpcodecs/vf_scale.c:498:3: note: previous statement is here if(vf->priv->ctx) ^ libmpcodecs/vf_scale.c:576:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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}, ^~~~~~~~~~~~ libmpcodecs/vf_softskip.c:86:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c libmpcodecs/vf_stereo3d.c:138:19: warning: missing field 'width' initializer [-Wmissing-field-initializers] {SIDE_BY_SIDE_LR}, ^ libmpcodecs/vf_stereo3d.c:139:22: warning: missing field 'width' initializer [-Wmissing-field-initializers] {ANAGLYPH_RC_DUBOIS} ^ libmpcodecs/vf_stereo3d.c:140:1: warning: missing field 'ana_matrix' initializer [-Wmissing-field-initializers] }; ^ libmpcodecs/vf_swapuv.c:90:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ libmpcodecs/vf_stereo3d.c:362:27: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (y = 0; y < vf->priv->out.height; y++) { ~ ^ ~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_stereo3d.c:366:31: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (x = 0; x < out_width; x++) { ~ ^ ~~~~~~~~~ libmpcodecs/vf_stereo3d.c:403:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c libmpcodecs/vf_telecine.c:36:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_telecine.c:36:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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 ab... ~~~~^ 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' 1#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... warning generated. ~~~~^ 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_VALU... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 9 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_tile.o libmpcodecs/vf_tile.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_tinterlace.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c libmpcodecs/vf_test.c:52:42: warning: unused parameter 'outfmt' [-Wunused-parameter] unsigned int flags, unsigned int outfmt){ ^ 4 warnings generated. libmpcodecs/vf_test.c:272:58: warning: unused parameter 'mpi' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts... ^ libmpcodecs/vf_test.c:310:62: warning: unused parameter 'fmt' [-Wunused-parameter] static int query_format(struct vf_instance *vf, unsigned int fmt){ ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpcodecs/vf_tfields.c:31: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vf_tile.c:88:46: warning: unused parameter 'd_width' [-Wunused-parameter] int width, int height, int d_width, int d_height, ^ libmpcodecs/vf_tile.c:88:59: warning: unused parameter 'd_height' [-Wunused-parameter] int width, int height, int d_width, int d_height, ^ libmpcodecs/vf_tile.c:110:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_tile.c:110:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_tinterlace.c:40:70: warning: unused parameter 'pts' [-Wunused-parameter] static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, doubl... ^ libmpcodecs/vf_tinterlace.c:40:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_tfields.c:331:82: warning: unused parameter 'endpts' [-Wunused-parameter] ...vf_instance *vf, mp_image_t *mpi, double pts, double endpts) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 5 warnings generated. 8 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c 9 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c In file included from libmpcodecs/vf_vo.c:25: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c In file included from libmpcodecs/vf_yadif.c:34: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 14 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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 ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c libmpcodecs/vf_yuvcsp.c:90:45: warning: unused parameter 'vf' [-Wunused-parameter] static int query_format(struct vf_instance *vf, unsigned int fmt){ ^ libmpcodecs/vf_yuvcsp.c:100:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ 6 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vf_yvu9.c:38:42: warning: unused parameter 'outfmt' [-Wunused-parameter] unsigned int flags, unsigned int outfmt){ ^ libmpcodecs/vf_yvu9.c:89:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args){ ^ 12 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 3 warnings generated. 2 warnings generated. In file included from libmpdemux/aviheader.c:29: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_audio.o libmpdemux/demux_audio.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/asfheader.c:32: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c clang-16clang-16: : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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:143:12: warning: variable 'avg_ft' set but not used [-Wunused-but-set-variable] uint64_t avg_ft; ^ In file included from libmpdemux/aviprint.c:27: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/asfheader.c:354:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer = &hdr[pos]; ^ ~~~~~~~~~ libmpdemux/asfheader.c:343:45: warning: unused parameter 'demuxer' [-Wunused-parameter] static int asf_init_audio_stream(demuxer_t *demuxer,struct asf_priv* asf... ^ libmpdemux/asfheader.c:356:13: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (pos > hdr_len) return 0; ~~~ ^ ~~~~~~~ 12 warnings generated. libmpdemux/asfheader.c:443:14: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer = &hdr[audio_pos]; ^ ~~~~~~~~~~~~~~~ libmpdemux/asfheader.c:478:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer = &hdr[pos]; ^ ~~~~~~~~~ libmpdemux/asfheader.c:440:30: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (streamh->type_size > hdr_len) goto len_err_out; ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ libmpdemux/asfheader.c:442:42: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (audio_pos + streamh->type_size > hdr_len) goto len_err_out; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ libmpdemux/asfheader.c:466:28: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (streamh->type_size > hdr_len) goto len_err_out; ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ libmpdemux/asfheader.c:503:59: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] ...> len && sh_video->bih->biSize > sizeof(*sh_video->bih)) ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/asfheader.c:503:28: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (sh_video->bih->biSize > len && sh_video->bih->biSize > sizeo... ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_demuxers.o libmpdemux/demux_demuxers.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 2 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/aviheader.c:277:65: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] ...> chunksize && sh_video->bih->biSize > sizeof(*sh_video->bih)) ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/aviheader.c:277:28: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (sh_video->bih->biSize > chunksize && sh_video->bih->biSize ... ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~ libmpdemux/aviheader.c:497:13: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (j=0; jnEntriesInUse; j++) { ~^~~~~~~~~~~~~~~~~~ libmpdemux/aviheader.c:517:16: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (k=0;kstdidx[j].nEntriesInUse; k++) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/aviheader.c:595:12: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (j=0;jnEntriesInUse;j++) ~^~~~~~~~~~~~~~~~~~ libmpdemux/aviheader.c:627:14: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (i=0; iidx_size;i++) { ~^~~~~~~~~~~~~~~ libmpdemux/aviheader.c:737:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for (i=0; iidx_size; i++) { ~^~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_film.o libmpdemux/demux_film.c In file included from libmpdemux/demuxer.c:33: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negativeIn file included from libmpdemux/demux_aac.c :signed28 : value libmpdemux/demuxer.his: 289undefined: 11[-Wshift-negative-value]: warning: dp->endpts=MP_NOPTS_VALUE; shifting ^~~~~~~~~~~~~~a negative ./libmpdemux/demuxer.hsigned: 98value: 29is: undefined [-Wshift-negative-value]note: expanded from macro 'MP_NOPTS_VALUE' dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^libmpdemux/demuxer.h :98:29./libmpdemux/demuxer.h:: 291:20note: : expanded fromwarning: macro shifting 'MP_NOPTS_VALUE'a negative signed value is undefined [-Wshift-negative-value] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... dp->stream_pts = MP_NOPTS_VALUE; ~~~~^ ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:libmpdemux/demuxer.h98::29029::14 : note: warning: expanded fromshifting macroa negative'MP_NOPTS_VALUE' signed value is undefined [-Wshift-negative-value] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/aviprint.c:119:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (h->biSize > sizeof(*h)) ~~~~~~~~~ ^ ~~~~~~~~~~ libmpdemux/aviprint.c:124:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < h->biSize-sizeof(*h); i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~ libmpdemux/aviprint.c:142:14: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (i=0; inbFieldPerFrame; i++) { ~^~~~~~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_fli.o libmpdemux/demux_fli.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/demux_asf.c:33: In file included from libmpdemux/asfheader.h:23: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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:139:70: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_aac_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) ^ 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) ^ libmpdemux/demux_aac.c:205:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_aac_seek(demuxer_t *demuxer, float rel_seek_secs, float audio_dela... ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/demux_asf.c:78:11: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for(x=0;xscrambling_w;x++) ~^~~~~~~~~~~~~~~~~~ libmpdemux/demux_asf.c:79:13: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] for(y=0;yscrambling_h;y++){ ~^~~~~~~~~~~~~~~~~~ In file included from libmpdemux/demux_avi.c:31: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: libmpdemux/demux_asf.cwarning: :111:shifting123 :a negative warning: signed unusedvalue parameteris undefined'dur' [-Wshift-negative-value][-Wunused-parameter] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' ...char *data,int len,int id,int seq,uint64_t time,unsigned short dur,int o... ^ #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 32 warnings generated. libmpdemux/demux_asf.c:330:26: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if (payload_time != -1) ~~~~~~~~~~~~ ^ ~~ 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) ^ libmpdemux/demux_asf.c:342:68: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_asf_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ ^ libmpdemux/demux_asf.c:374:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i=0;ipacketsize);i++) printf(" %02X"... ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_asf.c:519:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] len2 = FFMIN(len2, asf->packetsize); ^ ~~~~ ~~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ libmpdemux/demux_asf.c:534:27: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] len = FFMIN(len, asf->packetsize); ^ ~~~ ~~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ libmpdemux/demux_asf.c:548:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_seek_asf(demuxer_t *demuxer,float rel_seek_secs,float audio_d... ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_lmlm4.o libmpdemux/demux_lmlm4.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/demux_audio.c:26: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ In file included from libmpdemux/demux_demuxers.c:26: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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 ab... ~~~~^ 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_avi.c:232:68: warning: unused parameter 'dsds' [-Wunused-parameter] static int demux_avi_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ ^ libmpdemux/demux_audio.c:547:33: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); ~ ^ ~~~~~~~~~~ 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_avi.c:519:24:libmpdemux/demux_audio.c :720:warning: 20: absolute valuewarning: functionpassing 'abs' 'unsigned char *'given toan parameterargument ofof typetype 'char *''off_t' converts(aka 'long') betweenbut pointershas toparameter integerof typestypelibmpdemux/demuxer.c 'int':where 632 which: 31may: one cause istruncation warning: ofof thepassingvalue unique 'unsigned char *'[-Wabsolute-value]plain to 'char' parametertype ofand if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB typethe ^'char *' otherconverts isbetween notpointers [-Wpointer-sign] to integer types where one is of the unique plain 'char' if (stream_read(s,dp->buffer + 4,l-4) != l-4)type and ^~~~~~~~~~~~~~ the other./stream/stream.h :is284 :not50 :[-Wpointer-sign] note: passing argument to len = stream_read(stream, dp->buffer, len); parameter ^~~~~~~~~~ 'mem' here ./stream/stream.h:284:50: static inline int stream_read(stream_t *s, char *mem, int total) libmpdemux/demux_avi.c:note: ^519 :passing24 :argument to note: parameteruse 'mem'function here'labs' instead static inline int stream_read(stream_t *s, char *mem, int total) ^ if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB ^~~ labs 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 ab... ~~~~^ In file included from libmpdemux/demux_film.c:37: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab...libmpdemux/demux_audio.c :libmpdemux/demux_avi.c771: ~~~~^:482 33::38 :libmpdemux/demuxer.h :warning: 291:warning: 20passing: comparison'uint8_t[4]' ofwarning: (aka 'unsigned char[4]') tointegersshifting parameterofa ofdifferentnegative typesigns: signed'char *''uint64_t' value (aka 'unsigned long') converts is and between undefined 'off_t' pointers [-Wshift-negative-value] to(aka 'long') integer[-Wsign-compare] dp->stream_pts = MP_NOPTS_VALUE;types where ^~~~~~~~~~~~~~ one is libmpdemux/demuxer.hof: 98the AVI_IDX_OFFSET(priv->idx + 1)movi_start )&& !priv->isodml): 29unique: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ plain note: 'char' expandedtype libmpdemux/demux_avi.c from:and 481 macro:the 38 :other'MP_NOPTS_VALUE' is warning: not [-Wpointer-sign]comparison#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... of ~~~~^ integers stream_read(demuxer->stream,hdr,4); of ^~~different signs: 'uint64_t' ./stream/stream.h(aka 'unsigned long'): 284and: 50'off_t': (aka 'long')libmpdemux/demuxer.c :note: [-Wsign-compare]701:passing 27 :argument to if((AVI_IDX_OFFSET(priv->idx + 0)movi_start || warning: parameter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ shifting'mem' ahere negative signed value is undefinedstatic inline int stream_read(stream_t *s, char *mem, int total) [-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 ab... ~~~~^ 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 ab... ~~~~^ libmpdemux/demux_audio.c:783:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_audio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio... ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 3 warnings generated. In file included from libmpdemux/demux_fli.c:31: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] libmpdemux/demuxer.c: dp->endpts=MP_NOPTS_VALUE;1217 :62 ^~~~~~~~~~~~~~: warning: libmpdemux/demuxer.h:98passing: 29 :'unsigned char *' to note: parameter expandedof fromtype macro'char *' converts'MP_NOPTS_VALUE' between pointers to integer types where one is#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... of ~~~~^the unique libmpdemux/demuxer.hplain: 291'char': 20type: and thewarning: othershifting isa notnegative [-Wpointer-sign] signed value is undefined [-Wshift-negative-value] ass_process_codec_private(sh->ass_track, sh->extradata, ^~~~~~~~~~~~~ dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ /usr/include/ass/ass.h:libmpdemux/demuxer.h683::9856::29 : note: note: passing expandedargument fromto macro parameter 'MP_NOPTS_VALUE''data' here void ass_process_codec_private(ASS_Track *track, char *data, int size);#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ^ ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mf.o libmpdemux/demux_mf.c 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 ab... ~~~~^ libmpdemux/demux_film.c:64:76: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_seek_film(demuxer_t *demuxer, float rel_seek_secs, float audio_del... ^ 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 betweenlibmpdemux/demuxer.c :pointers1543 : 32to: integer typeswarning: where shiftingone ais negativeof thesigned uniquevalue plainis 'char'undefined type[-Wshift-negative-value] and the other is not [-Wpointer-sign] if (demuxer->stream_pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: if (stream_read(demuxer->stream, dp->buffer, 10) != 10) note: ^~~~~~~~~~expanded from macro ./stream/stream.h :'MP_NOPTS_VALUE'284: 50: note: passing argument to parameter 'mem' here #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ static inline int stream_read(stream_t *s, char *mem, int total)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 ab... ~~~~^ libmpdemux/demuxer.c:1547:43: libmpdemux/demux_film.cwarning: :190:shifting40 :a negative warning: signed passingvalue is'unsigned char *' undefinedto [-Wshift-negative-value]parameter of type 'char *' converts between pointers else if (sh_audio && sh_audio->pts != MP_NOPTS_VALUE) to ^~~~~~~~~~~~~~integer types where./libmpdemux/demuxer.h :one98 :is29 :of the note: unique expandedplain from'char' macrotype and'MP_NOPTS_VALUE' the other is not [-Wpointer-sign] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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) ^ libmpdemux/demux_film.c:101:71: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_film_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) ^ 6 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c In file included from libmpdemux/demux_lmlm4.c:33: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demux_fli.c:41:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_seek_fli(demuxer_t *demuxer,float rel_seek_secs,float audio_d... ^ libmpdemux/demux_fli.c:60:70: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_fli_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ ^ libmpdemux/demux_fli.c:100:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, header + sizeof(BITMAPINFOHEADER), 128); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mov.o libmpdemux/demux_mov.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/demux_lmlm4.c:225:70: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_lmlm4_fill_buffer(demuxer_t *demux, demux_stream_t *ds) ^ libmpdemux/demux_lmlm4.c:355:42: warning: unused parameter 'demuxer' [-Wunused-parameter] static void demux_close_lmlm4(demuxer_t *demuxer) ^ 3 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_mpg.o libmpdemux/demux_mpg.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/demux_mf.c:33: libmpdemux/demuxer.h:289:In file included from 11libmpdemux/demux_mov.c:: 54: warning: ./loader/qtx/qtxsdk/components.h:705shifting: 6a: negative warning: signed valueassigning is toundefined 'unsigned char *'[-Wshift-negative-value] from 'char *' converts between pointers dp->pts=MP_NOPTS_VALUE; to ^~~~~~~~~~~~~~integer types where libmpdemux/demuxer.hone: 98is: 29of: the uniquenote: plainexpanded 'char'from typemacro and 'MP_NOPTS_VALUE'the other is not [-Wpointer-sign] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290: x=((char*)(&id->clutID))+2;14 : ^~~~~~~~~~~~~~~~~~~~~~~~~ warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./loader/qtx/qtxsdk/components.h:706:18: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned long' [-Wsign-compare] if(id->idSize>sizeof(ImageDescription)){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./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; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./loader/qtx/qtxsdk/components.h:762:14: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for(i=0;ipts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/demux_mf.c:37:72: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_seek_mf(demuxer_t *demuxer,float rel_seek_secs,float audio_de... ^ libmpdemux/demux_mf.c:52:69: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_mf_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ ^ libmpdemux/demux_mf.c:66:44: warning: comparison of integers of different signs: 'unsigned long' and 'off_t' (aka 'long') [-Wsign-compare] if ( fread( dp->buffer,1,fs.st_size,f ) != fs.st_size ) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ In file included from libmpdemux/demux_mov.c:61: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 9 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_nsv.o libmpdemux/demux_nsv.c libmpdemux/demux_mkv.c:209:15: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if (nelem > UINT_MAX / elsize - 32) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:256:24: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'const int' [-Wsign-compare] while (sample_rate < srates[i]) ~~~~~~~~~~~ ^ ~~~~~~~~~ libmpdemux/demux_mkv.c:358:28: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (dstlen > SIZE_MAX - padding) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:377:28: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (dstlen > (SIZE_MAX - padding)/2) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ 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) ^ In file included from libmpdemux/demux_mpg.c:29: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demux_mov.c:200:7: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] last=FFMIN(trak->chunkmap[i].first, trak->chunks_size); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ libmpdemux/demux_mov.c:258:11: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i=0;idurmap[j].num;i++){ ~^~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mov.c:271:11: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i=0;ichunks[j].size;i++){ ~^~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mov.c:299:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(pts<=trak->samples[sample].pts) break; ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mov.c:307:9: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(ptssamples[sample].pts) break; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:1329:36: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] mkv_d->parsed_seekhead_num > SIZE_MAX/sizeof(off_t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ 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) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/demux_mov.c:632:32: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(trak->editlist[0].pos == -1) { ~~~~~~~~~~~~~~~~~~~~~ ^ ~~ libmpdemux/demux_mkv.c:1899:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (flavor < FF_ARRAY_ELEMS(atrc_fl2bps)) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:1908:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (flavor < FF_ARRAY_ELEMS(cook_fl2bps)) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:1917:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (flavor < FF_ARRAY_ELEMS(sipr_fl2bps)) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mpg.c:207:5: warning: misleading indentation; statement is not part of the previous 'while' [-Wmisleading-indentation] mpg_d->last_pts = -1.0; ^ libmpdemux/demux_mpg.c:205:3: note: previous statement is here while (demuxer->video->packs + demuxer->audio->packs < 2) ^ libmpdemux/demux_mkv.c:2291:51: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if (num == EBML_UINT_INVALID || *size < l) goto err_out; ~~~~~ ^ ~ libmpdemux/demux_mkv.c:2299:55: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if (snum == EBML_INT_INVALID || *size < l) goto err_out; ~~~~~ ^ ~ libmpdemux/demux_mkv.c:2320:63: warning: unused parameter 'track' [-Wunused-parameter] static void handle_subtitles(demuxer_t *demuxer, mkv_track_t *track, ^ libmpdemux/demux_mov.c:962:32: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(trak->editlist[0].pos == -1) { ~~~~~~~~~~~~~~~~~~~~~ ^ ~~ libmpdemux/demux_mov.c:1248:33: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (trak->stream_header_len > 0xffffffff - sizeof(*sh->bih)) { ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_mov.c:1452:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,cmov_buf,cmov_sz); ^~~~~~~~ ./stream/stream.h:284:50: libmpdemux/demux_mpg.c:note: 603:passing35 :argument to warning: parameter passing'mem' here'unsigned char *' to parameter of type 'char *' convertsstatic inline int stream_read(stream_t *s, char *mem, int total) 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:298:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] int d; ^ libmpdemux/demux_mpg.c:303:22: warning: variable 'dts' set but not used [-Wunused-but-set-variable] unsigned long long dts=0; ^ 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 ab... ~~~~^ 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_mpg.c:688:7: warning: variable 'pes' set but not used [-Wunused-but-set-variable] int pes=1; ^ libmpdemux/demux_mpg.c:754:71: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_mpg_es_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ ^ 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 libmpdemux/demux_mov.c:1640:36: static inline int stream_read(stream_t *s, char *mem, int total) 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 libmpdemux/demux_mpg.c :other790 :is25 :not [-Wpointer-sign]warning: passing 'unsigned char *' to parameter of type stream_read(demuxer->stream, trak->tkdata, trak->tkdata_len);'char *' converts ^~~~~~~~~~~~ between pointers ./stream/stream.hto: 284integer: 50types: where onenote: ispassing ofargument theto unique parameterplain 'mem''char' heretype and the other is not [-Wpointer-sign]static inline int stream_read(stream_t *s, char *mem, int total) ^ 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 tolibmpdemux/demux_mkv.c :integer2813 :types40 :where one warning: is ofpassing the 'uint8_t *'unique (aka 'unsigned char *')plain to'char' parametertype ofand typethe 'char *' otherconverts is betweennot pointers[-Wpointer-sign] to integer types where one is of the len = stream_read(demux->stream, pack->buffer, STREAM_BUFFER_SIZE);unique plain ^~~~~~~~~~~~ 'char' type and./stream/stream.h :the284 :other50 :is not note: [-Wpointer-sign]passing argument to parameter 'mem' here if (stream_read(s, block, block_length) != ^~~~~ static inline int stream_read(stream_t *s, char *mem, int total)./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:2709:70: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_mkv_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) ^ libmpdemux/demux_mov.c:1758:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream, trak->stdata, trak->stdata_len); ^~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mpg.c:832:68: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_mpg_fill_buffer(demuxer_t *demux, demux_stream_t *ds) ^ libmpdemux/demux_mpg.c:870:26: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'off_t' (aka 'long') [-Wsign-compare] if (end_pos && end_pos < demux->filepos) ~~~~~~~ ^ ~~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:2853:34: warning: unused parameter 'audio_delay' [-Wunused-parameter] float audio_delay, int flags) ^ 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-... ^ libmpdemux/demux_mpg.c:1020:27: note: use function 'fabsf' instead if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d-... ^~~ fabsf libmpdemux/demux_mpg.c:930:34: warning: unused parameter 'audio_delay' [-Wunused-parameter] float audio_delay, int flags) ^ 65 warning warningss generated generated. . libmpdemux/demux_mov.c:2194:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,dp->buffer+trak->stream_header_len,x); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_mov.c:2205:5: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] ++trak->pos; ^ libmpdemux/demux_mov.c:2202:3: note: previous statement is here } else ^ libmpdemux/demux_mov.c:2244:72: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] ...&& trak->chunks[trak->pos].samplepos; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ libmpdemux/demux_mov.c:2277:63: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_seek_mov(demuxer_t *demuxer,float pts,float audio_dela... ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_pva.o libmpdemux/demux_pva.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c In file included from libmpdemux/demux_nsv.c:35: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 6 warnings generated. 7 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_rawvideo.o libmpdemux/demux_rawvideo.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_realaud.o libmpdemux/demux_realaud.c libmpdemux/demux_nsv.c:52:41: warning: unused parameter 'demuxer' [-Wunused-parameter] static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, fl... ^ libmpdemux/demux_nsv.c:52:56: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, fl... ^ libmpdemux/demux_nsv.c:52:77: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_de... ^ libmpdemux/demux_nsv.c:52:94: warning: unused parameter 'flags' [-Wunused-parameter] ...demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) ^ 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:58:72: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_nsv_fill_buffer ( demuxer_t *demuxer, demux_stream_t *ds ) ^ 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:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ 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)){//&&s... ^~~~~ /usr/include/string.h:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ 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:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ libmpdemux/demux_nsv.c:240:45: warning: passing 'unsigned char[10]' to parameter of type 'char *' converts between pointers toclang-16 : integer warning: types whereargument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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: clang-16: passingwarning: 'unsigned char[10]'argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/demux_pva.c:40: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' In file included from #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab...libmpdemux/demux_rawaudio.c :29 ~~~~^: libmpdemux/demuxer.h:libmpdemux/demuxer.h289::29111::20 : warning: warning: shifting shiftinga anegative negative signed signedvalue valueis isundefined undefined[-Wshift-negative-value] [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:libmpdemux/demuxer.h29::98 :29:note: expanded note: from expandedmacro from 'MP_NOPTS_VALUE'macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 13 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_real.o libmpdemux/demux_real.c In file included from libmpdemux/demux_rawvideo.c:29: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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_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) ^ 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_rawaudio.c:99:78: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_rawaudio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_d... ^ libmpdemux/demux_rawaudio.c:128:1: warning: missing field 'control' initializer [-Wmissing-field-initializers] }; ^ 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) ^ libmpdemux/demux_pva.c:374:70: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_pva_fill_buffer (demuxer_t * demux, demux_stream_t *ds) ^ libmpdemux/demux_pva.c:459:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,float audio_... ^ libmpdemux/demux_pva.c:459:90: warning: unused parameter 'flags' [-Wunused-parameter] ...* demuxer,float rel_seek_secs,float audio_delay,int flags) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/demux_realaud.c:31: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demux_rawvideo.c:138:78: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_rawvideo_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_d... ^ 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_pa... ^~~~~~~~~~~~~~~~~~ ./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] ...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) ^ libmpdemux/demux_realaud.c:90:69: warning: unused parameter 'dsds' [-Wunused-parameter] static int demux_ra_fill_buffer(demuxer_t *demuxer, demux_stream_t *dsds) ^ libmpdemux/demux_realaud.c:268:3: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] sh->channels = 1; ^ libmpdemux/demux_realaud.c:264:8: note: previous statement is here } else ^ 16 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_roq.o libmpdemux/demux_roq.c In file included from libmpdemux/demux_real.c:49: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a 6negative warning s generatedsigned. value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 4 warnings generated. libmpdemux/demux_real.c:230:33: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (entries <= 0 || entries > MAX_INDEX_ENTRIES) ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ libmpdemux/demux_real.c:275:43: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (priv->index_table_size[stream_id] >= MAX_INDEX_ENTRIES) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_smjpeg.o libmpdemux/demux_smjpeg.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_ts.o libmpdemux/demux_ts.c 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 ...int timestamp, unsigned int format, int64_t *kf_base, int *kf_pts, doubl... ^ libmpdemux/demux_real.c:626:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] stream_skip(demuxer->stream,14); ^ libmpdemux/demux_real.c:624:5: note: previous statement is here if (priv->is_multirate) ^ 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_... ^~~~~~~~~~ ./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] ...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:884:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] return 1; ^ libmpdemux/demux_real.c:881:5: note: previous statement is here if (audioreorder_getnextpk) ^ 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:578:71: warning: unused parameter 'dsds' [-Wunused-parameter] static int demux_real_fill_buffer(demuxer_t *demuxer, demux_stream_t *dsds) ^ libmpdemux/demux_real.c:801:86: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...= (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 ab... ~~~~^ libmpdemux/demux_real.c:984:44: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if(dp_hdr->chunktab+8*(1+dp_hdr->chunks)>dp->len){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ libmpdemux/demux_real.c:1016:12: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] ...if (len > dp->len - sizeof(dp_hdr_t) - dp_hdr->len) len = dp->len - size... ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_real.c:1039:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (len > dp->len - sizeof(dp_hdr_t)) len = dp->len ... ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_real.c:1047:19: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (vpkg_length > len) { ~~~~~~~~~~~ ^ ~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/demux_real.c:1469:8: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] break; ^ libmpdemux/demux_real.c:1466:8: note: previous statement is here else ^ 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) ^ clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/demux_real.c:1943:6: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (streams & 1) {// use the video index if we have one ^ libmpdemux/demux_real.c:1939:5: note: previous statement is here if ((streams & 2) && priv->current_apacket >= priv->index_table_size[aid]) ^ libmpdemux/demux_real.c:1903:76: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_seek_real(demuxer_t *demuxer, float rel_seek_secs, float audio_del... ^ 22 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_ty.o libmpdemux/demux_ty.c In file included from libmpdemux/demux_roq.c:33: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpdemux/demux_ts.c:31: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpdemux/demux_smjpeg.c:34: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demux_roq.c:79:70: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_roq_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) ^ libmpdemux/demux_roq.c:123:9: warning: unused variable 'chunk_arg' [-Wunused-variable] int chunk_arg = stream_read_word_le(demuxer->stream); ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 21 warnings generated. libmpdemux/demux_smjpeg.c:74:71: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_smjpeg_fill_buffer(demuxer_t *demux, demux_stream_t *ds) ^ libmpdemux/demux_smjpeg.c:107:29: warning: variable 'hleng' set but not used [-Wunused-but-set-variable] unsigned int htype = 0, hleng; libmpdemux/demux_ts.c: ^259 :10: warning: 17 enumeration values not handled in switch: 'UNKNOWN', 'SPU_DVD', 'SPU_DVB'... [-Wswitch] switch (type) { ^~~~ libmpdemux/demux_smjpeg.c:libmpdemux/demux_ts.c180::27643::10 : warning: warning: unused 18parameter enumeration 'demuxer' values[-Wunused-parameter] not handled in switch: 'UNKNOWN', 'AUDIO_MP2', 'AUDIO_A52'... [-Wswitch]static void demux_close_smjpeg(demuxer_t *demuxer) ^ 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] ...priv->last_aid, es->pid, pid_lang_from_pmt(priv, es->pid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/stheader.h:144:77: note: passing argument to parameter 'lang' here ...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 9the warning sunique generated . plain 'char' type and the other is not [-Wpointer-sign] ...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) { ^~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_ty_osd.o libmpdemux/demux_ty_osd.c 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:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ 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); ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_viv.o libmpdemux/demux_viv.c 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 ab... ~~~~^ libmpdemux/demux_ts.c:1243:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] pes_es->is_synced = 1; ^ libmpdemux/demux_ts.c:1237:3: note: previous statement is here if(sl->random_accesspoint) ^ 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)) ^~ = In file included from libmpdemux/demux_ty.c:42: In file included from ./libmpcodecs/dec_audio.h:23: In file included from ./libmpdemux/stheader.h:22: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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]; ^ ~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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 ab... ~~~~^ 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) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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 s... ^ 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... ^ libmpdemux/demux_ts.c:2785:15: warning: variable 'cc_ok' set but not used [-Wunused-but-set-variable] int len, cc, cc_ok, afc, retv = 0, is_video, is_audio, is_sub; ^ 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 ab... ~~~~^ libmpdemux/demux_ts.c:3256:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_... ^ libmpdemux/demux_ts.c:3351:70: warning: unused parameter 'ds' [-Wunused-parameter] static int demux_ts_fill_buffer(demuxer_t * demuxer, demux_stream_t *ds) ^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpdemux/demux_ty.c:379:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers libmpdemux/demux_ty_osd.cto: 85integer: 60types: where onewarning: is unusedof parameterthe unique'fgColor' plain[-Wunused-parameter] 'char' type and the other static void ty_DrawChar( int *x, int *y, char disChar, int fgColor, int ...is not ^ [-Wpointer-sign] libmpdemux/demux_ty_osd.c:85:73: readSize = stream_read( demux->stream, chunk, CHUNKSIZE ); warning: ^~~~~ unused parameter 'bgColor'./stream/stream.h :[-Wunused-parameter]284: 50: note: passing argument to parameter 'mem' ...ty_DrawChar( int *x, int *y, char disChar, int fgColor, int bgColor ) 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_osd.c:155:31: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] if ( TY_CC_ptr - TY_CC_buf > sizeof( TY_CC_buf ) - 1 ) ~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ 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:333:68: warning: unused parameter 'dsds' [-Wunused-parameter] static int demux_ty_fill_buffer( demuxer_t *demux, demux_stream_t *dsds ) ^ libmpdemux/demux_ty.c:381:24: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if ( readSize >= sizeof( TMF_SIG ) && ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ libmpdemux/demux_ty.c:717:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_seek_ty( demuxer_t *demuxer, float rel_seek_secs, float audio_dela... ^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpdemux/demux_ty_osd.c:865:56: warning: unused parameter 'len' [-Wunused-parameter] void ty_processuserdata( const unsigned char* buf, int len ) ^ In file included from libmpdemux/demux_viv.c:34: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demux_viv.c:273:33: warning: passing 'unsigned char[2304]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demuxer->stream,buf,len); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_viv.c:280:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strncmp(buf+i,"Version:Vivo/",13)) return 0; // bad version/type! ^~~~~ /usr/include/string.h:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ libmpdemux/demux_viv.c:420:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream,dp->buffer+dp->len,len); ^~~~~~~~~~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_viv.c:432:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream_read(demux->stream,dp->buffer,len); ^~~~~~~~~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_viv.c:311:69: warning: unused parameter 'dsds' [-Wunused-parameter] static int demux_vivo_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ ^ 7 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_vqf.o libmpdemux/demux_vqf.c 5 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c 11 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/ebml.o libmpdemux/ebml.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 8 warnings generated. 6 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/extension.o libmpdemux/extension.c In file included from libmpdemux/demux_y4m.c:36: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mf.o libmpdemux/mf.c In file included from libmpdemux/demux_vqf.c:29: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demux_vqf.c:79:37: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(stream_read(s,buf,chunk_size)!=chunk_size) return NULL; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~ 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) ^ libmpdemux/demux_vqf.c:207:39: warning: unused parameter 'demuxer' [-Wunused-parameter] static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float ... ^ libmpdemux/demux_vqf.c:207:53: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float ... ^ libmpdemux/demux_vqf.c:207:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_d... ^ libmpdemux/demux_vqf.c:207:89: warning: unused parameter 'flags' [-Wunused-parameter] ...*demuxer,float rel_seek_secs,float audio_delay,int flags){ ^ libmpdemux/demux_vqf.c:224:40: warning: unused parameter 'demuxer' [-Wunused-parameter] static void demux_close_vqf(demuxer_t* demuxer) {} ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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) ^ libmpdemux/demux_y4m.c:84:68: warning: unused parameter 'dsds' [-Wunused-parameter] static int demux_y4m_fill_buffer(demuxer_t *demux, demux_stream_t *dsds) { ^ libmpdemux/demux_y4m.c:272:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] ...demux_seek_y4m(demuxer_t *demuxer, float rel_seek_secs, float audio_dela... ^ libmpdemux/demux_y4m.c:272:92: warning: unused parameter 'flags' [-Wunused-parameter] ...*demuxer, float rel_seek_secs, float audio_delay, int flags) { ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 10 warnings generated. In file included from libmpdemux/extension.c:27: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mp3_hdr.o libmpdemux/mp3_hdr.c libmpdemux/extension.c:103:17: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for( i=0 ; i<(sizeof(extensions_table)/sizeof(extensions_table[0])) ; i+... ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 warnings generated. libmpdemux/mf.c:125:15: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] for( i=0;i < gg.gl_pathc;i++ ) ~ ^ ~~~~~~~~~~~ 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_hdr.c 18 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c clang-16clang-16: : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/parse_es.o libmpdemux/parse_es.c libmpdemux/mpeg_packetizer.c:165:28: warning: unused parameter 'id' [-Wunused-parameter] int id, uint64_t pts, int freq_id, ^ 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c libmpdemux/mp_taglists.c:230:16: warning: '&&' within '||' [-Wlogical-op-parentheses] if (audio && old_tag != MKTAG('m', 'p', '4', 'a') || ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ libmpdemux/mp_taglists.c:230:16: note: place parentheses around the '&&' expression to silence this warning if (audio && old_tag != MKTAG('m', 'p', '4', 'a') || ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/mp_taglists.c:231:16: warning: '&&' within '||' [-Wlogical-op-parentheses] !audio && old_tag != MKTAG('m', 'p', '4', 'v')) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/mp_taglists.c:231:16: note: place parentheses around the '&&' expression to silence this warning !audio && old_tag != MKTAG('m', 'p', '4', 'v')) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 2 warnings generated. 1 warning generated. 10 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/video.o libmpdemux/video.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c 14 warnings generated. In file included from libmpdemux/parse_es.c:31: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o osdep/getch2.o osdep/getch2.c 9 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o osdep/timer-linux.o osdep/timer-linux.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 3 warnings generated. 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/open.o stream/open.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream.o stream/stream.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/video.c:35: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ osdep/getch2.c:103:38: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (getch2_keys[getch2_key_db].len >= sizeof(getch2_keys[getch2_key_db].chars)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) ^ clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_bd.o stream/stream_bd.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_cue.o stream/stream_cue.c 16 warnings generated. 8 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_file.o stream/stream_file.c 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->pt... ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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->p... ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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->... ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_mf.o stream/stream_mf.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_null.o stream/stream_null.c clang-16clang-16: : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from stream/open.c:37: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from stream/stream.c:46: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 3 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/url.o stream/url.c 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:273:69: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...stream_write_buffer(s->capture_stream, s->buffer, s->buf_len) != s->buf_len) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ 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); ^~~ 2 warnings generated. stream/stream_cue.c:534:54: warning: unused parameter 'size' [-Wunused-parameter] static int cue_read(stream_t *stream, char *mem, int size) { ^ stream/stream_null.c:26:40: warning: unused parameter 'mode' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/stream_null.c:26:52: warning: unused parameter 'opts' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/stream_null.c:26:63: warning: unused parameter 'file_format' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/stream_cue.c:608:63: warning: unused parameter 'file_format' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ In file included from stream/stream_mf.c:29: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/eosd.o sub/eosd.c stream/stream_mf.c:32:39: warning: unused parameter 'mode' [-Wunused-parameter] mf_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ stream/stream_mf.c:32:51: warning: unused parameter 'opts' [-Wunused-parameter] mf_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ In file included from stream/stream_file.c:40: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 3 warnings generated. stream/stream.c:716:43: warning: unused parameter 'conf' [-Wunused-parameter] int parse_chapter_range(const m_option_t *conf, const char *range) { ^ In file included from stream/stream_bd.c:30: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ 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:34:22: note: passing argument to parameter here int open(const char *, int, ...); ^ 5 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/find_sub.o sub/find_sub.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/osd.o sub/osd.c stream/stream_bd.c:279:13: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if (pos < file_size) { ~~~ ^ ~~~~~~~~~ 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) ^ stream/stream_bd.c:449:25: warning: variable 'index_offset' set but not used [-Wunused-but-set-variable] int langmap_offset, index_offset, end_offset; ^ stream/stream_bd.c:449:39: warning: variable 'end_offset' set but not used [-Wunused-but-set-variable] int langmap_offset, index_offset, end_offset; ^ stream/stream_bd.c:507:44: warning: unused parameter 'mode' [-Wunused-parameter] static int bd_stream_open(stream_t *s, int mode, void* opts, int* file_format) ^ stream/stream_bd.c:507:67: warning: unused parameter 'file_format' [-Wunused-parameter] static int bd_stream_open(stream_t *s, int mode, void* opts, int* file_format) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 8 warnings generated. In file included from sub/eosd.c:22: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/spudec.o sub/spudec.c 1 warning generated. In file included from sub/find_sub.c:31: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/sub.o sub/sub.c sub/find_sub.c:55:29: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (movement > 0 && key < subs[current_sub].start) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ sub/find_sub.c:57:29: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (movement < 0 && key >= subs[current_sub].end) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ sub/find_sub.c:86:35: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(key>=vo_sub->start && key<=vo_sub->end) return; // OK! ~~~^ ~~~~~~~~~~~ sub/find_sub.c:86:13: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(key>=vo_sub->start && key<=vo_sub->end) return; // OK! ~~~^ ~~~~~~~~~~~~~ sub/find_sub.c:104:42: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(key>subs[current_sub].end && keysubs[current_sub].end && key=new_sub->start && key<=new_sub->end) goto update; // OK! ~~~^ ~~~~~~~~~~~~ sub/find_sub.c:113:13: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(key>=new_sub->start && key<=new_sub->end) goto update; // OK! ~~~^ ~~~~~~~~~~~~~~ sub/find_sub.c:125:15: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(keystart) j=current_sub-1; ~~~^~~~~~~~~~~~~~~ sub/find_sub.c:126:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] else if(key>new_sub->end) i=current_sub+1; ~~~^~~~~~~~~~~~~ sub/find_sub.c:132:11: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(keystart){ ~~~^~~~~~~~~~~~~~~ sub/find_sub.c:142:42: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(key>subs[current_sub].end && keysubs[current_sub].end && keyend) printf("JAJJ! "); else ~~~^ ~~~~~~~~~~~~ sub/find_sub.c:161:42: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(key>subs[current_sub].end && keysubs[current_sub].end && keypts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 3 warnings generated. sub/spudec.c:225:19: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (this->width > stride) // just a safeguard ~~~~~~~~~~~ ^ ~~~~~~ sub/spudec.c:481:36: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] start_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; ~~~~~~~ ^ ~~~~ sub/spudec.c:489:36: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/subreader.o sub/subreader.c start_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; ~~~~~~~ ^ ~~~~ sub/spudec.c:497:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] end_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; ~~~~~~~ ^ ~~~~ sub/spudec.c:518:7: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] a = FFMAX(a, this->alpha[0]); ^ ~ ~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:103:25: note: expanded from macro 'FFMAX' #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) ~ ^ ~ sub/spudec.c:519:7: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] b = FFMAX(b, this->alpha[1]); ^ ~ ~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:103:25: note: expanded from macro 'FFMAX' #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) ~ ^ ~ sub/spudec.c:520:7: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] c = FFMAX(c, this->alpha[2]); ^ ~ ~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:103:25: note: expanded from macro 'FFMAX' #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) ~ ^ ~ sub/spudec.c:521:7: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] d = FFMAX(d, this->alpha[3]); ^ ~ ~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:103:25: note: expanded from macro 'FFMAX' #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) ~ ^ ~ sub/spudec.c:566:28: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] end_pts = 1 - pts100 >= end_pts ? 0 : pts100 + end_pts - 1; ~~~~~~~~~~ ^ ~~~~~~~ sub/spudec.c:842:24: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] table[t].position= FFMIN(src >> 16, end_src - 1); ^ ~~~~~~~~~ ~~~~~~~~~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ 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/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ 6 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ 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_fr... ^~~~~~~ /usr/include/stdio.h:121:34: 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:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ 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:121:34: 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/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:40:26: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ 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:121:34: 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:45:27: note: passing argument to parameter here char *strchr (const char *, int); ^ 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); ^~~~~~~~~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] sub/sub.c:112:6: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(hpic_a[font]->h) h=vo_font->pic_a[font]->h; ~^~~~~~~~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/vobsub.o sub/vobsub.c 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/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 ab... ~~~~^ 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:sub/sub.c29::223 :4:note: expanded warning: from macro assigning 'MP_NOPTS_VALUE'to 'const char *' from 'unsigned char *' converts between pointers to integer types where#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... one ~~~~^is of the unique plain 'char' type and the other is not [-Wpointer-sign] cp=vo_osd_text; ^~~~~~~~~~~~ sub/sub.c:200:62: warning: unused parameter 'dxs' [-Wunused-parameter] static inline void vo_update_text_osd(mp_osd_obj_t *obj, int dxs, int dys) ^ sub/sub.c:200:71: warning: unused parameter 'dys' [-Wunused-parameter] static inline void vo_update_text_osd(mp_osd_obj_t *obj, int dxs, int dys) ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:733:8: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (k==MAX_UCS){ ^ sub/sub.c:731:13: note: previous statement is here else if ((c = *t++) >= 0x80 && sub_unicode) ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/sub.c:769:37: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (sub_font->pic_a[font]->h > h) { ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ sub/sub.c:1045:35: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] sub_font->pic_a[font]->h+ydys ? sub_f... ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 3 warnings generated. 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/font_load.o sub/font_load.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_cdda.o stream/stream_cdda.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from sub/subreader.c:37: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/cdinfo.o stream/cdinfo.c clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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, u... ^~~~ ./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] ...(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:415:21: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (len >= sizeof(full_line) - j - 2) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sub/vobsub.c:36: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative sub/subreader.c :signed447 :value29 :is undefined warning: [-Wshift-negative-value] passing 'char[1001]' to dp->stream_pts = MP_NOPTS_VALUE; parameter ^~~~~~~~~~~~~~ of type./libmpdemux/demuxer.h :'uint8_t *'98 :(aka 'unsigned char *')29 :converts between note: pointersexpanded tofrom integermacro types 'MP_NOPTS_VALUE'where one is of the unique plain #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab...'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, "fpath=strdup(p[0]); ^~~~ /usr/include/string.h:70:27: note: passing argument to parameter here char *strdup (const char *); ^ sub/font_load.c:203:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(pdb==2 && strcmp(p[0],"alpha")==0){ ^~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ sub/font_load.c:205:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(cp=malloc(strlen(desc->fpath)+strlen(p[1])+2))) goto fail_out; ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:207:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(cp,strlen(desc->fpath)+strlen(p[1])+2,"%s" FONT_PATH_... ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:211:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(cp=malloc(strlen(default_dir)+strlen(p[1])+2))) ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:213:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(cp,strlen(default_dir)+strlen(p[1])+2,"%s" FONT... ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:224:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(pdb==2 && strcmp(p[0],"bitmap")==0){ ^~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ sub/font_load.c:226:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(cp=malloc(strlen(desc->fpath)+strlen(p[1])+2))) goto fail_out; ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:228:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(cp,strlen(desc->fpath)+strlen(p[1])+2,"%s" FONT_PATH_... ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:232:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(cp=malloc(strlen(default_dir)+strlen(p[1])+2))) ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:234:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(cp,strlen(default_dir)+strlen(p[1])+2,"%s" FONT... ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/subreader.c:1543:10: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (l >= strlen(exts[k]) && !av_strcasecmp(filen... ~ ^ ~~~~~~~~~~~~~~~ sub/font_load.c:248:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(pdb==2 && strcmp(p[0],"name")==0){ ^~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ sub/font_load.c:249:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] desc->name=strdup(p[1]); ^~~~ /usr/include/string.h:70:27: note: passing argument to parameter here char *strdup (const char *); ^ sub/font_load.c:252:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(pdb==2 && strcmp(p[0],"descversion")==0){ ^~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ sub/font_load.c:258:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(pdb==2 && strcmp(p[0],"spacewidth")==0){ ^~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ sub/font_load.c:259:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] desc->spacewidth=atoi(p[1]); ^~~~ /usr/include/stdlib.h:23:23: note: passing argument to parameter here int atoi (const char *); ^ sub/font_load.c:262:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(pdb==2 && strcmp(p[0],"charspace")==0){ ^~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ sub/font_load.c:263:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] desc->charspace=atoi(p[1]); ^~~~ /usr/include/stdlib.h:23:23: note: passing argument to parameter here int atoi (const char *); ^ sub/font_load.c:266:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(pdb==2 && strcmp(p[0],"height")==0){ ^~~~ /usr/include/string.h:39:25: note: passing argument to parameter here int strcmp (const char *, const char *); ^ sub/font_load.c:267:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] desc->height=atoi(p[1]); ^~~~ /usr/include/stdlib.h:23:23: note: passing argument to parameter here int atoi (const char *); ^ sub/font_load.c:275:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int start=atoi(p[1]); ^~~~ /usr/include/stdlib.h:23:23: note: passing argument to parameter here int atoi (const char *); ^ sub/font_load.c:276:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int end=atoi(p[2]); ^~~~ /usr/include/stdlib.h:23:23: note: passing argument to parameter here int atoi (const char *); ^ sub/font_load.c:278:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(strlen(p[0])!=1) chr=strtol(p[0],NULL,0); ^~~~ /usr/include/string.h:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ sub/font_load.c:278:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(strlen(p[0])!=1) chr=strtol(p[0],NULL,0); ^~~~ /usr/include/stdlib.h:32:36: note: passing argument to parameter here long strtol (const char *__restrict, char **__restrict, int); ^ sub/vobsub.c:1003:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (vobsubid == vob->spu_streams_current || ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ sub/vobsub.c:1044:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0, j = 0; i < vob->spu_streams_size; ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ sub/vobsub.c:1046:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (j == index) ~ ^ ~~~~~ sub/vobsub.c:1057:37: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (vob == NULL || id < 0 || id >= vob->spu_streams_size) ~~ ^ ~~~~~~~~~~~~~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:40:40: note: passing argument to parameter here int strncmp (const char *, const char *, size_t); ^ sub/vobsub.c:1072:23: warning: comparison of In file included from integersstream/stream_cdda.c :of40 : different./libmpdemux/demuxer.h :signs:289 :'int'11 :and 'unsigned int' warning: [-Wsign-compare] shifting a negative signed value is undefined for (i = 0; i < vob->spu_streams_size; i++)[-Wshift-negative-value] ~ ^ ~~~~~~~~~~~~~~~~~~~~~ dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ sub/vobsub.c:1096:35: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] while (queue->current_index >= i ~~~~~~~~~~~~~~~~~~~~ ^ ~ sub/vobsub.c:1099:32: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (queue->current_index >= i ~~~~~~~~~~~~~~~~~~~~ ^ ~ stream/stream_cdda.c:102:59: warning: initializing 'void *' with an expression of type 'const m_obj_params_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "span", ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, ^~~~~~~~~~~~~~~~~~ stream/stream_cdda.c:104:62: warning: initializing 'void *' with an expression of type 'const m_obj_params_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ...ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, ^~~~~~~~~~~~~~~~~~ stream/stream_cdda.c:128:62: warning: initializing 'void *' with an expression of type 'const m_obj_params_t *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ...&cdda_dflts.span, CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, ^~~~~~~~~~~~~~~~~~ stream/stream_cdda.c:135:42: warning: unused parameter 'inpos' [-Wunused-parameter] static void cdparanoia_callback(long int inpos, paranoia_cb_mode_t function) { ^ stream/stream_cdda.c:135:68: warning: unused parameter 'function' [-Wunused-parameter] static void cdparanoia_callback(long int inpos, paranoia_cb_mode_t function) { ^ stream/stream_cdda.c:139:55: warning: unused parameter 'max_len' [-Wunused-parameter] static int fill_buffer(stream_t* s, char* buffer, int max_len) { ^ stream/stream_cdda.c:243:42: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare] if (p->cd->disc_toc[i].dwStartSector <= sector) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ stream/stream_cdda.c:273:17: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (track > end_track) { ~~~~~ ^ ~~~~~~~~~ sub/subreader.c:2656:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { ^~~~~~~~~~~~~~ sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) ~~~~^ sub/subreader.c:2656:45: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { ^~~~~~~~~~~~~~ sub/subreader.c:2643:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) ~~~~^ 7 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_dvdnav.o stream/stream_dvdnav.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_dvd.o stream/stream_dvd.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c In file included from stream/stream_cddb.c:75: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] stream/stream_cddb.c:491:9: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] ret = mkdir(cddb_data->cache_dir, 0755); ^ stream/stream_cddb.c:487:5: note: previous statement is here if (cddb_data == NULL || cddb_data->cache_dir == NULL) ^ stream/stream_cddb.c:623:15: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] len = FFMIN(sizeof(album_title) - 1, len); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ stream/stream_cddb.c:663:19: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare] len = FFMIN(sizeof(album_title) - 1, len); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] stream/stream_cddb.c:969:17: warning: variable 'audiolen' is uninitialized when used here [-Wuninitialized] audiolen++; // <-- audiolen++ to shut up gcc warning ^~~~~~~~ stream/stream_cddb.c:939:26: note: initialize the variable 'audiolen' to silence this warning unsigned int audiolen; ^ = 0 In file included from stream/stream_dvdnav.c:30: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 12 warnings generated. In file included from stream/stream_dvd.c:43: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libvo/aclib.o libvo/aclib.c stream/stream_dvd_common.c:96:13: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (speed == -1) ~~~~~ ^ ~~ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ stream/stream_dvd.c:268:20: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] if(d->cur_pack != d->dsi_pack.dsi_gi.nv_pck_lbn ) { ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/stream_dvd.c:344:17: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] d->cur_packcur_pgc->cell_playback[ d->cur_cell ].first_sector) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/stream_dvd.c:353:21: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] if(d->cur_packfirst_sector) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 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) ^ 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/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/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_dvd.c:734:40: warning: unused parameter 'mode' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/stream_dvdnav.c:167:25: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (hlev->buttonN == btnum + 1) { ~~~~~~~~~~~~~ ^ ~~~~~~~~~ stream/stream_dvd.c:1050:63: warning: unused parameter 'opts' [-Wunused-parameter] static int ifo_stream_open (stream_t *stream, int mode, void *opts, int *file_f... ^ stream/stream_dvdnav.c:248:43: warning: unused parameter 'but' [-Wunused-parameter] static int fill_buffer(stream_t *s, char *but, int len) ^ 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... ^~~~~ /usr/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... ^~~~~~~ /usr/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... ^~~~~ /usr/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... ^~~~~~~ /usr/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... ^~~~~ /usr/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... ^~~~~~~ /usr/include/dvdnav/dvdnav.h:704:48: note: passing argument to parameter 'number_of_angles' here int32_t *number_of_angles); ^ stream/stream_dvdnav.c:480:21: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] if(new_angle>angles || new_angle<1) ~~~~~~~~~^~~~~~~ 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/include/dvdnav/dvdnav.h:290:70: note: passing argument to parameter 'titles' here clang-16: dvdnav_status_t dvdnav_get_number_of_titles(dvdnav_t *self, int32_t *titles); ^ warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 1 warning generated. stream/stream_dvdnav.c:591:40: warning: unused parameter 'mode' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/stream_dvdnav.c:750:28: warning: passing 'const unsigned char *' to parameter of type 'const char *' convertsclang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o av_helpers.o av_helpers.c 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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/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); ^ 11 warnings generated. stream/stream_dvdnav.c:883:26: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] if (title > 0 && title <= titles) ~~~~~ ^ ~~~~~~ 28 warnings generated. 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o av_opts.o av_opts.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] av_helpers.c:155:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 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/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/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_... ^~~~~~~~~ /usr/include/libswresample/swresample.h:307:49: note: passing argument to parameter 'in' here const uint8_t **in , int in_count); ^ libaf/af_lavcac3enc.c:130:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < FF_ARRAY_ELEMS(ac3_bit_rates); ++i) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/af_lavcac3enc.c:133:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (i >= FF_ARRAY_ELEMS(ac3_bit_rates)) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c In file included from libmpcodecs/ad_ffmpeg.c:28: In file included from libmpcodecs/ad_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 7 warnings generated. 3 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_geq.c libmpcodecs/ad_ffmpeg.c:77:24: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] samplerate == 2*sh_audio->wf->nSamplesPerSec) { ~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~~~~In file included from libmpcodecs/ad_spdif.c:23: In file included from libmpcodecs/ad_internal.h:26: libmpcodecs/ad_internal.h./libmpdemux/demuxer.h::35289::5511:: note: warning: passing shiftingargument ato negative parameter signed'buffer' valuehere is undefined [-Wshift-negative-value] static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,... dp->pts=MP_NOPTS_VALUE; ^ ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ad_ffmpeg.c:206:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_audio_t *sh,int cmd,void* arg, ...) ^ libmpcodecs/ad_ffmpeg.c:349:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/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 ab... ~~~~^ libmpcodecs/ad_ffmpeg.c:352:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavc.c 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_lavcdeint.c libmpcodecs/ad_spdif.c:51:30: warning: unused parameter 'p' [-Wunused-parameter] static int read_packet(void *p, uint8_t *buf, int buf_size) ^ libmpcodecs/ad_spdif.c:51:42: warning: unused parameter 'buf' [-Wunused-parameter] static int read_packet(void *p, uint8_t *buf, int buf_size) ^ libmpcodecs/ad_spdif.c:51:51: warning: unused parameter 'buf_size' [-Wunused-parameter] static int read_packet(void *p, uint8_t *buf, int buf_size) ^ libmpcodecs/ad_spdif.c:68:27: warning: unused parameter 'p' [-Wunused-parameter] static int64_t seek(void *p, int64_t offset, int whence) ^ libmpcodecs/ad_spdif.c:68:38: warning: unused parameter 'offset' [-Wunused-parameter] static int64_t seek(void *p, int64_t offset, int whence) ^ libmpcodecs/ad_spdif.c:68:50: warning: unused parameter 'whence' [-Wunused-parameter] static int64_t seek(void *p, int64_t offset, int whence) ^ libmpcodecs/ad_spdif.c:145:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ad_spdif.c:260:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ libmpcodecs/ad_spdif.c:245:42: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ds_parse(sh->ds, &start, &x, MP_NOPTS_VALUE, 0); ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ad_spdif.c:266:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (pts != MP_NOPTS_VALUE) { ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ad_spdif.c:278:51: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_audio_t *sh, int cmd, void* arg, ...) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpcodecs/vd_ffmpeg.c:38: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 21 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_screenshot.o libmpcodecs/vf_screenshot.c libmpcodecs/vf_lavcdeint.c:36:24: warning: unused parameter 'vf' [-Wunused-parameter] vf_open(vf_instance_t *vf, char *args) ^ 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) { ^~~ 1 warning generated. libmpcodecs/vd_ffmpeg.c:427:41: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (!sh->bih || sh->bih->biSize <= sizeof(*sh->bih)) ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:451:27: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(sh->bih->biSizebih)+8){ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:539:36: warning: unused parameter 'type' [-Wunused-parameter] int y, int type, int height){ ^ libmpcodecs/vd_ffmpeg.c:616:34: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (sh->codec->outfmt[i] == imgfmt) ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/demux_lavf.o libmpdemux/demux_lavf.c libmpcodecs/vd_ffmpeg.c:900:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/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 ^~~~~~~~~~~~~~~ libmpcodecs/vf_lavc.c:50:35: warning: unused parameter 'outfmt' [-Wunused-parameter] unsigned int flags, unsigned int outfmt){ ^ libmpcodecs/vd_ffmpeg.c:917:44: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] sh->bih_size - sh->bih->biSize > palsize) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ libmpcodecs/vd_ffmpeg.c:1136:60: warning: unused parameter 's' [-Wunused-parameter] static void mpcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic) ^ libmpcodecs/vd_ffmpeg.c:1147:55: warning: unused parameter 'data' [-Wunused-parameter] static void compat_free_buffer(void *opaque, uint8_t *data) ^ libmpcodecs/vd_ffmpeg.c:1154:58: warning: unused parameter 'data' [-Wunused-parameter] static void compat_release_buffer(void *opaque, uint8_t *data) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 20 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_ffmpeg.o stream/stream_ffmpeg.c 14 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/av_sub.o sub/av_sub.c 9 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/font_load_ft.o sub/font_load_ft.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_bmovl.o libmpcodecs/vf_bmovl.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libaf/af_export.o libaf/af_export.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... ^~~ /usr/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-... ^~~~~~~~~~~ /usr/include/libswscale/swscale.h:217:58: note: passing argument to parameter 'srcSlice' here int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/demux_lavf.c:33: In file included from libmpdemux/aviprint.h:23: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpdemux/demux_lavf.c:92:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret=stream_read(stream, buf, size); ^~~ ./stream/stream.h:284:50: note: passing argument to parameter 'mem' here static inline int stream_read(stream_t *s, char *mem, int total) ^ libmpdemux/demux_lavf.c:115:18: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int64_t' (aka 'long') [-Wsign-compare] if (size > stream->end_pos) ~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:133:75: warning: unused parameter 'flags' [-Wunused-parameter] ...mp_read_seek(void *opaque, int stream_idx, int64_t ts, int flags) { ^ libmpdemux/demux_lavf.c:188:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_size = stream_read(demuxer->stream, avpd.buf + probe_data_size, rea... ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./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] ...AV_PKT_DATA_REPLAYGAIN, &rg_size); ^~~~~~~~ /usr/include/libavformat/avformat.h:2107:71: note: passing argument to parameter 'size' here enum AVPacketSideDataType type, int *size); ^ In file included from stream/stream_ffmpeg.c:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vf_bmovl.c:128:34: warning: unused parameter 'vf' [-Wunused-parameter] query_format(struct vf_instance *vf, unsigned int fmt){ ^ 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/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/include/libavformat/avio.h:480:54: note: passing argument to parameter 'buf' here void avio_write(AVIOContext *s, const unsigned char *buf, int size); ^ libmpdemux/demux_lavf.c:608: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/include/libavformat/avformat.h:2226:90: note: passing argument to parameter 'fmt' here ...**ps, const char *url, ff_const59 AVInputFormat *fmt, AVDictionary **opt... ^ libmpdemux/demux_lavf.c:636:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i=0; i < avfc->nb_chapters; i++) { ~ ^ ~~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:644:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i=0; inb_streams; i++) ~^~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:650:23: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (p = 0; p < avfc->nb_programs; p++) { ~ ^ ~~~~~~~~~~~~~~~~~ stream/stream_ffmpeg.c:91:53: warning: unused parameter 'opts' [-Wunused-parameter] static int open_f(stream_t *stream, int mode, void *opts, int *file_format) ^ libmpdemux/demux_lavf.c:713:85: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'int *' [-Wincompatible-pointer-types] ...*pal = av_packet_get_side_data(&pkt, AV_PKT_DATA_PALETTE, &size); ^~~~~ /usr/include/libavcodec/packet.h:628:39: note: passing argument to parameter 'size' here int *size); ^ libmpdemux/demux_lavf.c:674:69: warning: unused parameter 'dsds' [-Wunused-parameter] static int demux_lavf_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ ^ libmpdemux/demux_lavf.c:680:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value] double stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demux_lavf.c:689:41: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (id = priv->nb_streams_last; id < priv->avfc->nb_streams; id++) ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_bmovl.c:220:59: warning: unused parameter 'pts' [-Wunused-parameter] put_image(struct vf_instance *vf, mp_image_t* mpi, double pts, double endpts){libmpdemux/demux_lavf.c :882 ^: 24: libmpcodecs/vf_bmovl.c:220warning: :71:4 enumeration warning: values unusednot parameterhandled in'endpts' switch:[-Wunused-parameter] 'AVMEDIA_TYPE_UNKNOWN', 'AVMEDIA_TYPE_DATA', 'AVMEDIA_TYPE_ATTACHMENT'... [-Wswitch] put_image(struct vf_instance *vf, mp_image_t* mpi, double pts, double endpts){ ^ ...priv->avfc->streams[program->stream_index[i]]->codecpar->codec_type) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_bmovl.c:267:77: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VAL... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/vf_bmovl.clibmpdemux/demux_lavf.c::267864::9324:: warning: warning: shiftingcomparison aof negative integers signedof valuedifferent issigns: undefined'int' [-Wshift-negative-value]and 'unsigned int' [-Wsign-compare] ...) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); ^~~~~~~~~~~~~~ while(pavfc->nb_programs && priv->avfc->programs[..../mp_global.h :27 ~^~~~~~~~~~~~~~~~~~~~~~~~: 29: libmpdemux/demux_lavf.cnote: :870expanded: 27from: macro warning: 'MP_NOPTS_VALUE' comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ for(i=0; iavfc->nb_programs; i++)libmpcodecs/vf_bmovl.c :270 ~^~~~~~~~~~~~~~~~~~~~~~~~: 43: libmpdemux/demux_lavf.c:warning: 873:21shifting: a negativewarning: signedcomparison valueof is integersundefined of[-Wshift-negative-value] different signs: 'int' and 'unsigned int' [-Wsign-compare] ...return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); if(i==priv->avfc->nb_programs) ^~~~~~~~~~~~~~ ~^ ~~~~~~~~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: note: libmpdemux/demux_lavf.c:expanded880 :from23 :macro 'MP_NOPTS_VALUE'warning: comparison of integers of different signs: 'int' and#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... 'unsigned int' ~~~~^[-Wsign-compare] libmpcodecs/vf_bmovl.c:270:59: warning: shifting a for(i=0; inb_stream_indexes; i++)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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ libmpcodecs/vf_bmovl.c:408:58: 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 ab... ~~~~^ libmpcodecs/vf_bmovl.c:408:74: warning: shifting a In file included from negativesub/av_sub.c : 20signed: In file included from value./libmpdemux/stheader.h :is22 : undefined ./libmpdemux/demuxer.h[-Wshift-negative-value]:289 :11: warning: shifting a ...return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); negative ^~~~~~~~~~~~~~ signed value ./mp_global.his: 27undefined: 29[-Wshift-negative-value]: note: expanded from macro 'MP_NOPTS_VALUE' dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... note: ~~~~^expanded from macro 'MP_NOPTS_VALUE'libmpcodecs/vf_bmovl.c: 463:40: warning: shifting a negative signed value is#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... undefined ~~~~^[-Wshift-negative-value] ./libmpdemux/demuxer.h:290:14: return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); warning: ^~~~~~~~~~~~~~ shifting a ./mp_global.hnegative: 27 :signed29 :value is note: undefined expanded[-Wshift-negative-value] from macro 'MP_NOPTS_VALUE' dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... from ~~~~^macro 'MP_NOPTS_VALUE'libmpcodecs/vf_bmovl.c: 463:56: warning: shifting a negative signed value#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... is ~~~~^undefined [-Wshift-negative-value] ./libmpdemux/demuxer.h:291:20: warning: shifting a return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE);negative ^~~~~~~~~~~~~~signed value ./mp_global.his: 27undefined: 29[-Wshift-negative-value]: note: dp->stream_pts = MP_NOPTS_VALUE;expanded from ^~~~~~~~~~~~~~ macro ./libmpdemux/demuxer.h'MP_NOPTS_VALUE':98 :29: note: expanded from macro 'MP_NOPTS_VALUE'#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 12 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o osdep/mmap_anon.o osdep/mmap_anon.c In file included from sub/font_load_ft.c:51: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ sub/av_sub.c:103:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_ass.o libmpcodecs/vf_ass.c 6 warnings generated. 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; ^ ~~~~~~~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] sub/font_load_ft.c:418:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src2*mwidth; ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:434:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src2*mwidth; ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:451:13: warning: initializing 'unsigned int *' with an expression of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned *m3= m2 + src2*mwidth; ^ ~~~~~~~~~~~~~~~~ sub/font_load_ft.c:604:7: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] desc->tables.gt2, desc->tables.g_r, ^~~~~~~~~~~~~~~~ sub/font_load_ft.c:358:7: note: passing argument to parameter 'm2' here int *m2, ^ sub/font_load_ft.c:546:29: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (glyph->bitmap.width > maxw) { ~~~~~~~~~~~~~~~~~~~ ^ ~~~~ sub/font_load_ft.c:577:24: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] glyph->bitmap.width <= maxw ? glyph->bitmap.width : maxw); ~~~~~~~~~~~~~~~~~~~ ^ ~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o sub/ass_mp.o sub/ass_mp.c sub/font_load_ft.c:781:18: warning: comparison of integers of different signs: 'FT_ULong' (aka 'unsigned long') and 'int' [-Wsign-compare] for (i = 0; ipts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from sub/ass_mp.c:26: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from stream/stream_rtsp.c:41: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ stream/stream_rtsp.c:51:26: warning: unused parameter 'fd' [-Wunused-parameter] rtsp_streaming_read (int fd, char *buffer, ^ stream/stream_rtsp.c:142:44: warning: unused parameter 'mode' [-Wunused-parameter] rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format) ^ stream/stream_rtsp.c:142:56: warning: unused parameter 'opts' [-Wunused-parameter] rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format) ^ stream/stream_rtsp.c:142:67: warning: unused parameter 'file_format' [-Wunused-parameter] rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format) ^ 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:148:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < FF_ARRAY_ELEMS(subrip_basic_tags); i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/subassconvert.c:190:30: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] && sp + 1 < FF_ARRAY_ELEMS(font_stack)) { ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/subassconvert.c:223:39: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] ...for (i = 0; i < FF_ARRAY_ELEMS(subrip_web_colors); i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/ass_mp.c:290:79: warning: unused parameter 'ctx' [-Wunused-parameter] ...message_callback(int level, const char *format, va_list va, void *ctx) ^ 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->src... ^ /usr/include/ass/ass.h:464:1: note: 'ass_set_aspect_ratio' has been explicitly marked deprecated here ASS_DEPRECATED("use 'ass_set_pixel_aspect' instead") ^ /usr/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 negativesub/subassconvert.c :signed363 : 35value: is undefinedwarning: [-Wshift-negative-value]assigning to 'const uint8_t *' (aka 'const unsigned char *') from 'char *' converts aimg = sub_visibility && ass_track && ts != MP_NOPTS_VALUE ? between ^~~~~~~~~~~~~~ pointers to ./mp_global.hinteger: 27types: 29where: one isnote: ofexpanded thefrom uniquemacro plain 'MP_NOPTS_VALUE''char' type and the other is not [-Wpointer-sign] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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; ^ ~ libmpcodecs/vf_ass.c:893:45: warning: unused parameter 'args' [-Wunused-parameter] static int vf_open(vf_instance_t *vf, char *args) ^ sub/subassconvert.c:432:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (i = 0; i < sizeof(MICRODVD_TAGS) - 1; i++) { ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ sub/subassconvert.c:438:33: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (sidx = 0; sidx < sizeof(MICRODVD_STYLES) - 1; sidx++) ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/freesdp/parser.c:287:20: warning: variable 'index2' set but not used [-Wunused-but-set-variable] unsigned int index2 = 0; ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/librtsp/rtsp.o stream/librtsp/rtsp.c 29 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 7 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_rtp.c 15 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/librtsp/rtsp_session.o stream/librtsp/rtsp_session.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_netstream.o stream/stream_netstream.c 14 warnings generated. stream/librtsp/rtsp.c:97:16: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] while (total < count) { ~~~~~ ^ ~~~~~ clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/asf_mmst_streaming.o stream/asf_mmst_streaming.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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; ~~~~^~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 15 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/asf_streaming.o stream/asf_streaming.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/cookies.o stream/cookies.c stream/stream_netstream.c:212:51: warning: unused parameter 'arg' [-Wunused-parameter] static int control(struct stream *s,int cmd,void* arg) { ^ In file included from stream/asf_mmst_streaming.c:43: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 6 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/http.o stream/http.c 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... ^ 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) ^ stream/asf_mmst_streaming.c:522:24: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i, packet_length; ^ stream/cookies.c:133:17: warning: comparison of integers of different signs: 'off_t' (aka 'long') and 'unsigned long' [-Wsign-compare] if (*length > SIZE_MAX - 1) { ~~~~~~~ ^ ~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/network.o stream/network.c In file included from stream/asf_streaming.c:29: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE'clang-16 : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 8 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/pnm.o stream/pnm.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 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_... ^ stream/asf_streaming.c:204:13: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (size > SIZE_MAX - buffer_size) ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ In file included from stream/http.c:41: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ stream/asf_streaming.c:811:40: warning: unused parameter 'mode' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/asf_streaming.c:811:52: warning: unused parameter 'opts' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/http.c:65:14: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (cp_len > len) ~~~~~~ ^ ~~~ stream/http.c:70:14: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] while (pos < len) { ~~~ ^ ~~~ 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:133:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for (i = 0; i < nlen; i++) ~ ^ ~~~~ stream/http.c:156:13: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (block > size) ~~~~~ ^ ~~~~ stream/http.c:164:15: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] while (done < size) { // now comes the metadata ~~~~ ^ ~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/rtp.o stream/rtp.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] stream/http.c:457:29: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if( pos_hdr_sep+hdr_sep_lenbuffer_size ) { ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. 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/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); ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/udp.o stream/udp.c In file included from stream/network.c:42: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ stream/http.c:893:41: warning: unused parameter 'mode' [-Wunused-parameter] static int open_s1(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/http.c:893:53: warning: unused parameter 'opts' [-Wunused-parameter] static int open_s1(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/http.c:919:41: warning: unused parameter 'mode' [-Wunused-parameter] static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/http.c:919:53: warning: unused parameter 'opts' [-Wunused-parameter] static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) { ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 22 warnings generated. stream/network.c:485:25: warning: unused parameter 'fd' [-Wunused-parameter] nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { ^ stream/network.c:485:37: warning: unused parameter 'pos' [-Wunused-parameter] nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { ^ stream/network.c:485:60: warning: unused parameter 'stream_ctrl' [-Wunused-parameter] nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { ^ In file included from stream/pnm.c:49: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/tcp.o stream/tcp.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] stream/pnm.c:225:16: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] while (total < count) { ~~~~~ ^ ~~~~~ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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 d... ^~~~~~~~~~~~~ /usr/include/libavutil/intreadwrite.h:405:39: note: expanded from macro 'AV_WB16' # define AV_WB16(p, v) AV_WB(16, p, v) ^ /usr/include/libavutil/intreadwrite.h:390:51: note: expanded from1 warningmacro generated . 'AV_WB' # define AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v)) ^ /usr/include/libavutil/intreadwrite.h:372:39: note: expanded from macro 'AV_WN16' # define AV_WN16(p, v) AV_WN(16, p, v) ^ /usr/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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ 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:54:28: note: passing argument to parameter here size_t strlen (const char *); ^ stream/pnm.c:417:49: warning: unused parameter 'bandwidth' [-Wunused-parameter] static void pnm_send_request(pnm_t *p, uint32_t bandwidth) { ^ 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:665:14: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if (size > sizeof(p->buffer) - 4) size = sizeof(p->buffer) - 4; ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ stream/pnm.c:718:8: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if (nrecv + 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; ^ ~~~~~~~~~~ stream/pnm.c:820:36: warning: unused parameter 'fd' [-Wunused-parameter] static int pnm_streaming_read( int fd, char *buffer, int size, streaming... ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_rtp.o stream/stream_rtp.c stream/pnm.c:824:40: warning: unused parameter 'mode' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ stream/pnm.c:824:52: warning: unused parameter 'opts' [-Wunused-parameter] static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 4 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/stream_udp.o stream/stream_udp.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/realrtsp/asmrp.o stream/realrtsp/asmrp.c stream/stream_rtp.c:37:49: warning: unused parameter 'streaming_ctrl' [-Wunused-parameter] int size, streaming_ctrl_t *streaming_ctrl) ^ stream/stream_rtp.c:72:40: warning: unused parameter 'mode' [-Wunused-parameter] rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ stream/stream_rtp.c:72:52: warning: unused parameter 'opts' [-Wunused-parameter] rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ stream/stream_rtp.c:72:63: warning: unused parameter 'file_format' [-Wunused-parameter] rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ 6 warnings generated. 4 warnings generated. stream/stream_udp.c:64:40: warning: unused parameter 'mode' [-Wunused-parameter] udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ stream/stream_udp.c:64:52: warning: unused parameter 'opts' [-Wunused-parameter] udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ stream/stream_udp.c:64:63: warning: unused parameter 'file_format' [-Wunused-parameter] udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/realrtsp/real.o stream/realrtsp/real.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/realrtsp/rmff.o stream/realrtsp/rmff.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/realrtsp/sdpplin.o stream/realrtsp/sdpplin.c 3 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/realrtsp/xbuffer.o stream/realrtsp/xbuffer.c clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vf_pp.o libmpcodecs/vf_pp.c 4 warnings generated. clang-16clang-16: : warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o stream/cache2.o stream/cache2.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 11 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/vd_xanim.o libmpcodecs/vd_xanim.c stream/realrtsp/sdpplin.c:67:14: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] for (j=0; j INT_MAX - XBUFFER_HEADER_SIZE - xbuf->chunk_size) ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/realrtsp/xbuffer.c:98:18: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (xbuf->size < size) { ~~~~~~~~~~ ^ ~~~~ stream/realrtsp/rmff.c:419:14: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (i=0; ifileheader->num_headers; i++) { ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/realrtsp/rmff.c:423:14: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (i=1; ifileheader->num_headers; i++) { ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 e... ^~~~~~ ./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:325:7: warning: variable 'unknown1' set but not used [-Wunused-but-set-variable] int unknown1; ^ stream/realrtsp/rmff.c:803:33: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if(h->fileheader->num_headers != num_headers) { ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ stream/realrtsp/rmff.c:811:30: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (h->prop->data_offset != header_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/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); ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpcodecs/vf_pp.c:33: In file included from libmpcodecs/dec_video.h:22: In file included from ./libmpdemux/stheader.h:22: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 2 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o osdep/shmem.o osdep/shmem.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 ab... ~~~~^ 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 ab... ~~~~^ stream/cache2.c:346:23: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int64_t' (aka 'long') [-Wsign-compare] (old_pos != s->stream->pos || old_eof != s->stream->eof)) ~~~~~~~ ^ ~~~~~~~~~~~~~~ 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/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/include/libpostproc/postprocess.h:72:36: note: passing argument to parameter 'QP_store' here const int8_t *QP_store, int QP_stride, ^ libmpcodecs/vf_pp.c:174:9: warning: variable 'hex_mode' set but not used [-Wunused-but-set-variable] int hex_mode=0; ^ stream/cache2.c:415:33: warning: unused parameter 'x' [-Wunused-parameter] static void exit_sighandler(int x){ ^ stream/cache2.c:420:34: warning: unused parameter 'x' [-Wunused-parameter] static void dummy_sighandler(int x) { ^ stream/cache2.c:468:12: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'unsigned long' [-Wsign-compare] if (size > SIZE_MAX) { ~~~~ ^ ~~~~~~~~ In file included from libmpcodecs/vd_xanim.c:35: In file included from libmpcodecs/vd_internal.h:26: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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_U... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/vd_xanim.c:386:45: warning: unused parameter 'anim_hdr' [-Wunused-parameter] void XA_Add_Func_To_Free_Chain(XA_ANIM_HDR *anim_hdr, void (*function)(void)) ^ libmpcodecs/vd_xanim.c:450:18: warning: unused parameter 'imagex' [-Wunused-parameter] unsigned int imagex, XA_2x2_Color *cmap2x2) ^ libmpcodecs/vd_xanim.c:467:18: warning: unused parameter 'imagex' [-Wunused-parameter] unsigned int imagex, XA_2x2_Color *cm0, XA_2x2_Color *cm1, XA_2x2_Co... ^ osdep/shmem.c:62:10: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'unsigned long' [-Wsign-compare] if (size > SIZE_MAX) { ~~~~ ^ ~~~~~~~~ libmpcodecs/vd_xanim.c:675:32: warning: unused parameter 'sh' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ libmpcodecs/vd_xanim.c:675:39: warning: unused parameter 'cmd' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ libmpcodecs/vd_xanim.c:675:49: warning: unused parameter 'arg' [-Wunused-parameter] static int control(sh_video_t *sh,int cmd,void* arg,...){ ^ 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); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o mencoder.o mencoder.c 22 warnings generated. 6 warnings generated. 1clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o parser-mecmd.o parser-mecmd.c warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o xvid_vbr.o xvid_vbr.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ae.o libmpcodecs/ae.c 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c 45 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ve.o libmpcodecs/ve.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] xvid_vbr.c:457:12: warning: unused parameter 'quant' [-Wunused-parameter] int quant, ^ xvid_vbr.c:458:12: warning: unused parameter 'intra' [-Wunused-parameter] int intra, ^ xvid_vbr.c:459:12: warning: unused parameter 'header_bytes' [-Wunused-parameter] int header_bytes, ^ xvid_vbr.c:460:12: warning: unused parameter 'total_bytes' [-Wunused-parameter] int total_bytes, ^ xvid_vbr.c:461:12: warning: unused parameter 'kblocks' [-Wunused-parameter] int kblocks, ^ xvid_vbr.c:462:12: warning: unused parameter 'mblocks' [-Wunused-parameter] int mblocks, ^ xvid_vbr.c:463:12: warning: unused parameter 'ublocks' [-Wunused-parameter] int ublocks) ^ xvid_vbr.c:472:35: warning: unused parameter 'state' [-Wunused-parameter] static int vbr_finish_dummy(void *state) ^ xvid_vbr.c:483:37: warning: unused parameter 'state' [-Wunused-parameter] static int vbr_getquant_1pass(void *state) ^ xvid_vbr.c:490:37: warning: unused parameter 'state' [-Wunused-parameter] static int vbr_getintra_1pass(void *state) ^ 19 warnings generated. xvid_vbr.c:542:38: warning: unused parameter 'state' [-Wunused-parameter] static int vbr_getquant_2pass1(void *state) ^ xvid_vbr.c:549:38: warning: unused parameter 'state' [-Wunused-parameter] static int vbr_getintra_2pass1(void *state) ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 16 warnings generated. xvid_vbr.c:638:28: warning: variable 'credits_frames' set but not used [-Wunused-but-set-variable] int c, n, pos_firstframe, credits_frames; ^ xvid_vbr.c:703:32: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] state->nb_keyframes >= 0x7fffffff / sizeof(int) || ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c In file included from mencoder.c:62: In file included from ./libmpcodecs/ae.h:22: In file included from ./libmpdemux/muxer.h:24: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ xvid_vbr.c:1490:13: warning: unused parameter 'header_bytes' [-Wunused-parameter] int header_bytes, ^ xvid_vbr.c:1492:13: warning: unused parameter 'kblocks' [-Wunused-parameter] int kblocks, ^ xvid_vbr.c:1493:13: warning: unused parameter 'mblocks' [-Wunused-parameter] int mblocks, ^ xvid_vbr.c:1494:13: warning: unused parameter 'ublocks' [-Wunused-parameter] int ublocks) ^ xvid_vbr.c:1643:42: warning: unused parameter 'state' [-Wunused-parameter] static int vbr_getintra_fixedquant(void *state) ^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/muxer.o libmpdemux/muxer.c 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c libmpcodecs/ve.c:82:47: warning: unused parameter 'opt' [-Wunused-parameter] int parse_forced_key_frames(const m_option_t *opt, const char *arg) ^ In file included from libmpcodecs/ae.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpcodecs/ae_pcm.c:27: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] libmpcodecs/ae_pcm.c:73:45: warning: unused parameter 'encoder' [-Wunused-parameter] static int set_decoded_len(audio_encoder_t *encoder, int len) ^ libmpcodecs/ae_pcm.c:78:39: warning: unused parameter 'encoder' [-Wunused-parameter] static int close_pcm(audio_encoder_t *encoder) ^ libmpcodecs/ae_pcm.c:83:44: warning: unused parameter 'encoder' [-Wunused-parameter] static int get_frame_size(audio_encoder_t *encoder) ^ mencoder.c:200:44: warning: unused parameter 'vo' [-Wunused-parameter] int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, ^ mencoder.c:200:57: warning: unused parameter 'width' [-Wunused-parameter] int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, ^ mencoder.c:200:73: warning: unused parameter 'height' [-Wunused-parameter] int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, ^ mencoder.c:201:31: warning: unused parameter 'd_width' [-Wunused-parameter] uint32_t d_width, uint32_t d_height, uint32_t flags, ^ mencoder.c:201:49: warning: unused parameter 'd_height'7 warning s[-Wunused-parameter] generated. uint32_t d_width, uint32_t d_height, uint32_t flags, ^ mencoder.c:201:68: warning: unused parameter 'flags' [-Wunused-parameter] uint32_t d_width, uint32_t d_height, uint32_t flags, ^ mencoder.c:202:28: warning: unused parameter 'title' [-Wunused-parameter] char *title, uint32_t format) { ^ mencoder.c:202:44: warning: unused parameter 'format' [-Wunused-parameter] char *title, uint32_t format) { ^ mencoder.c:211:26: warning: unused parameter 'code' [-Wunused-parameter] void mplayer_put_key(int code) ^ 3 warnings generated. 7 warnings generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c 1 warning generated. clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c 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_NO... ^~~~~~~~~~~~~ ./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] clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c { "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:435:15: warning: initializing 'void *' with an expression of type 'const m_option_t (*)[]' (aka 'const struct m_option (*)[]') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] { "cdda", &cdda_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: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:clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c 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, ... ^~~~~~~~~~~~~~ 6 warnings generated. 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: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: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}, ^~~~~~~~~~~~~ In file included from libmpcodecs/ve_raw.c:29: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mencoder.c:307:33: warning: unused parameter 'x' [-Wunused-parameter] static void exit_sighandler(int x){ ^ 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 ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c mencoder.c:465:109: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NO... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mencoder.c:465:125: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...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 ab... ~~~~^ 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... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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 ab... ~~~~^ 7 warnings generated. 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] ...&& 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] ...&& 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] ...&& 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] ...palette, &width, &height, 1, dvdsub_id, tmp) >= 0) ^~~ ./sub/vobsub.h:24:150: note: passing argument to parameter 'langid' here ...int *width, unsigned int *height, int force, int sid, char *langid); ^ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] In file included from libmpdemux/muxer_avi.c:28: In file included from ./mpcommon.h:25: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: clang-16: shiftingwarning: a argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./codec-cfg etc/codecs.conf > codecs.conf.h clang-16clang-16: : warning: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument]argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 4 warnings generated. Reading optional codecs config file etc/codecs.conf: In file included from libmpdemux/muxer.c:26: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mencoder.c:922:35: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] (mux_v->bih->biCompression != sh_video->format)) { ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ mencoder.c:1362:36: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(sz > 0 && mux_a->buffer_len >= sz) ~~~~~~~~~~~~~~~~~ ^ ~~ 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_... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mencoder.c:1403:71: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...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 ab... ~~~~^ mencoder.c:1407:22: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if(mux_a->buffer_len>=bytes_to_mux){ ~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~~ mencoder.c:1493:107: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...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 ab... ~~~~^ mencoder.c:1493:123: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...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 ab... ~~~~^ mencoder.c:1497:74: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_N... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mencoder.c:1497:90: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...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 ab... ~~~~^ mencoder.c:1506:52: warning: shifting a negative signed value is undefined [-Wshift-negative-value] drop_frame, MP_NOPTS_VALUE, MP_NO... ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ mencoder.c:1519:100: warning: shifting a negative signed value is undefined [-Wshift-negative-value] ...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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ clang -MMD -MP -W -Wall -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=amdfam10 -mcpu=amdfam10 -pipe -g3 -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fpie -DPIC -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DZLIB_CONST -I/usr/include/dvdcss -c -o mpcommon.o mpcommon.c libmpcodecs/ve_raw.c:112:15: warning: unused parameter 'flags' [-Wunused-parameter] unsigned int flags, unsigned int outfmt) ^ libmpcodecs/ve_raw.c:125:40: warning: unused parameter 'vf' [-Wunused-parameter] static int control(struct vf_instance *vf, int request, void *data) { ^ libmpcodecs/ve_raw.c:125:48: warning: unused parameter 'request' [-Wunused-parameter] static int control(struct vf_instance *vf, int request, void *data) { ^ libmpcodecs/ve_raw.c:125:63: warning: unused parameter 'data' [-Wunused-parameter] static int control(struct vf_instance *vf, int request, void *data) { ^ libmpcodecs/ve_raw.c:129:45: warning: unused parameter 'vf' [-Wunused-parameter] static int query_format(struct vf_instance *vf, unsigned int fmt) { ^ 25 warnings generated. libmpcodecs/ve_raw.c:166:19: error: incompatible function pointer types assigning to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' (aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)') from 'int (struct vf_instance *, mp_image_t *, double)' (aka 'int (struct vf_instance *, struct mp_image *, double)') [-Wincompatible-function-pointer-types] vf->put_image = put_image; ^ ~~~~~~~~~ libmpcodecs/ve_raw.c:186:1: warning: missing field 'opts' initializer [-Wmissing-field-initializers] }; ^ 9 warnings and 1 error generated. libmpdemux/muxer.c:127:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(dts == MP_NOPTS_VALUE) dts= s->timer; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/muxer.c:128:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts == MP_NOPTS_VALUE) pts= s->timer; // this is wrong ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 28 warnings generated. clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] make: *** [Makefile:730: libmpcodecs/ve_raw.o] Error 1 make: *** Waiting for unfinished jobs.... 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:515:89: warning: unused parameter 'dts' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts, double pts){ ^ libmpdemux/muxer_avi.c:515:101: warning: unused parameter 'pts' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts, double pts){ ^ 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); ^ libmpdemux/muxer_avi.c:579:14: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for (i=0; iavih.dwStreams; i++) { ~^~~~~~~~~~~~~~~~~~~~~~ clang-16: warning: argument unused during compilation: '-mcpu=amdfam10' [-Wunused-command-line-argument] 10 warnings generated. In file included from libmpdemux/muxer_rawaudio.c:27: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpdemux/muxer_mpeg.c:31: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ In file included from libmpdemux/muxer_rawvideo.c:29: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:291:20: warning: shifting a negative In file included from signedlibmpcodecs/ve_lavc.c :value44 : is ./libmpdemux/demuxer.hundefined: 289[-Wshift-negative-value]:11 : warning: dp->stream_pts = MP_NOPTS_VALUE; shifting ^~~~~~~~~~~~~~ a negativelibmpdemux/demuxer.h : 98signed: 29value: is undefinednote: [-Wshift-negative-value]expanded from macro 'MP_NOPTS_VALUE' dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... note: ~~~~^expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 226 audio & 469 video codecs libmpdemux/muxer_rawaudio.c:67:80: warning: unused parameter 'flags' [-Wunused-parameter] ...rawaudiofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags... ^ libmpdemux/muxer_rawaudio.c:67:94: warning: unused parameter 'dts' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts, double pts){ ^ libmpdemux/muxer_rawaudio.c:67:106: warning: unused parameter 'pts' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts, double pts){ ^ libmpdemux/muxer_rawaudio.c:75:48: warning: unused parameter 'muxer' [-Wunused-parameter] static void rawaudiofile_write_header(muxer_t *muxer){ ^ libmpdemux/muxer_rawaudio.c:79:47: warning: unused parameter 'muxer' [-Wunused-parameter] static void rawaudiofile_write_index(muxer_t *muxer){ ^ In file included from libmpcodecs/ae_lavc.c:28: In file included from ./libmpdemux/aviheader.h:28: ./libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ ./libmpdemux/demuxer.h:291:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/muxer_rawvideo.c:67:80: warning: unused parameter 'flags' [-Wunused-parameter] ...rawvideofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags... ^ libmpdemux/muxer_rawvideo.c:67:94: warning: unused parameter 'dts' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts, double pts){ ^ libmpdemux/muxer_rawvideo.c:67:106: warning: unused parameter 'pts' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts, double pts){ ^ libmpdemux/muxer_rawvideo.c:78:48: warning: unused parameter 'muxer' [-Wunused-parameter] static void rawvideofile_write_header(muxer_t *muxer){ ^ libmpdemux/muxer_rawvideo.c:82:47: warning: unused parameter 'muxer' [-Wunused-parameter] static void rawvideofile_write_index(muxer_t *muxer){ ^ 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].buf... ^~~~~~~~~~ libmpdemux/muxer_mpeg.c:539:43: note: passing argument to parameter 'b' here static void write_mpeg_std(unsigned char *b, unsigned int size, unsigne... ^ 5 warnings generated. 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:806:77: warning: unused parameter 'priv' [-Wunused-parameter] ...calc_pes_hlen(int format, muxer_headers_t *h, muxer_priv_t *priv) ^ 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:838:60: warning: unused parameter 's' [-Wunused-parameter] static int write_mpeg_pack(muxer_t *muxer, muxer_stream_t *s, stream_t *... ^ libmpdemux/muxer_mpeg.c:883:90: warning: unused parameter 'type' [-Wunused-parameter] ...*spriv, uint64_t dts, int framelen, int type) ^ In file included from libmpdemux/muxer_lavf.c:30: In file included from libmpdemux/aviheader.h:28: libmpdemux/demuxer.h:289:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/demuxer.h:290:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dp->endpts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:libmpdemux/muxer_mpeg.c98::94729::7 : note: warning: expanded fromcomparison macroof 'MP_NOPTS_VALUE'integers of different signs: 'size_t' (aka 'unsigned long') #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab...and 'int' ~~~~^ [-Wsign-compare]libmpdemux/demuxer.h :291:20: warning: shifting a negative signed value m = FFMIN(spriv->framebuf[n].size - frpos, psize - len); is ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:/usr/include/libavutil/common.h98::10529::25 : note: note: expanded expandedfrom frommacro macro'MP_NOPTS_VALUE' 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/muxer_mpeg.c:950:12: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if(frpos == spriv->framebuf[n].size) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:999:29: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] ...if(start + pes_hlen + m < priv->packet_size - threshold) ~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 In file included from parametermpcommon.c :'buff'31 : here./libmpdemux/demuxer.h :289:11: static int write_mpeg_pack_header(muxer_t *muxer, char *buff) warning: ^ shifting a negative signed value is undefined [-Wshift-negative-value] dp->pts=MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from libmpdemux/muxer_mpeg.cmacro: 1150 :'MP_NOPTS_VALUE'58: warning: passing 'unsigned char *' to parameter of type 'char *'#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... converts ~~~~^between pointers ./libmpdemux/demuxer.h :to290 :integer14 :types where warning: one isshifting ofa thenegative unique signedplain value'char' istype undefinedand [-Wshift-negative-value]the other is dp->endpts=MP_NOPTS_VALUE; not ^~~~~~~~~~~~~~[-Wpointer-sign] ./libmpdemux/demuxer.h:98:29: note: ...+= write_mpeg_system_header(muxer, &spriv->pack[spriv->pack_offset]);expanded from ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ macro libmpdemux/muxer_mpeg.c'MP_NOPTS_VALUE':596 :59: note: passing argument to #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab...parameter 'buff' ~~~~^ here ./libmpdemux/demuxer.h:291:20: warning: static int write_mpeg_system_header(muxer_t *muxer, char *buff) shifting ^a negative signed value is undefined [-Wshift-negative-value] dp->stream_pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' libmpdemux/muxer_mpeg.c:1156:48: #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... 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] ...+= 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:1239:7: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] ...m = FFMIN(frm->size - frm->pos, priv->packet_size - spriv->pack_offset); ^ ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libavutil/common.h:105:25: note: expanded from macro 'FFMIN' #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) ~ ^ ~ libmpdemux/muxer_mpeg.c:1308:15: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for(i = 0; i < muxer->avih.dwStreams; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. libmpdemux/muxer_mpeg.c:1405:15: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for(i = 0; i < muxer->avih.dwStreams; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ 8 warningslibmpdemux/muxer_mpeg.c generated:. 1415:15: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for(i = 0; i < muxer->avih.dwStreams; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ae_lavc.c:118:41: warning: unused parameter 'encoder' [-Wunused-parameter] static int encode_lavc(audio_encoder_t *encoder, uint8_t *dest, void *sr... ^ libmpcodecs/ae_lavc.c:127:40: warning: unused parameter 'encoder' [-Wunused-parameter] static int close_lavc(audio_encoder_t *encoder) ^ libmpcodecs/ae_lavc.c:133:44: warning: unused parameter 'encoder' [-Wunused-parameter] static int get_frame_size(audio_encoder_t *encoder) ^ libmpdemux/muxer_mpeg.c:1502:15: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for(i = 0; i < muxer->avih.dwStreams; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:1576:16: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] if(skip_cnt == muxer->avih.dwStreams) ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:1779:13: warning: variable 'adj' set but not used [-Wunused-but-set-variable] int j, n, adj = 0; ^ libmpdemux/muxer_mpeg.c:1654:14: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] while(i + 4 < len) ~~~~~ ^ ~~~ libmpdemux/muxer_mpeg.c:1662:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if(i + 11 > len) ~~~~~~ ^ ~~~ libmpdemux/muxer_mpeg.c:1682:15: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if(i + 9 > len) ~~~~~ ^ ~~~ libmpdemux/muxer_mpeg.c:1706:15: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] if(i + 5 > len) ~~~~~ ^ ~~~ libmpdemux/muxer_mpeg.c:1745:14: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if(temp_ref > spriv->max_tr || gop_reset) ~~~~~~~~ ^ ~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:444:39: error: incompatible integer to pointer conversion assigning to 'RcOverride *' (aka 'struct RcOverride *') from 'int' [-Wint-conversion] lavc_venc_context->rc_override= ^ libmpdemux/muxer_mpeg.c:1849:66: warning: unused parameter 'priv' [-Wunused-parameter] static size_t parse_mpeg4_video(muxer_stream_t *s, muxer_priv_t *priv, m... ^ libmpdemux/muxer_mpeg.c:1849:102: warning: unused parameter 'fps' [-Wunused-parameter] ...*s, muxer_priv_t *priv, muxer_headers_t *vpriv, float fps, size_t len) ^ libmpdemux/muxer_mpeg.c:1886:29: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare] ...if((delta > 0) && (delta > (vpriv->picture.timeinc_resolution/2))) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:1888:34: warning: comparison of integers of different signs: 'int32_t' (aka 'int') and 'unsigned int' [-Wsign-compare] ...if((delta < 0) && (delta < (-(vpriv->picture.timeinc_resolution/2)))) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2034:10: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] while(i < s->b_buffer_len + 3) ~ ^ ~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2039:63: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...> 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) ~~~~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2039:25: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...if(len > 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffe... ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:313:15: warning: unused parameter 'flags' [-Wunused-parameter] unsigned int flags, unsigned int outfmt){ ^ libmpcodecs/ve_lavc.c:313:35: warning: unused parameter 'outfmt' [-Wunused-parameter] unsigned int flags, unsigned int outfmt){ ^ libmpcodecs/ve_lavc.c:684:63: warning: unused parameter 'data' [-Wunused-parameter] static int control(struct vf_instance *vf, int request, void* data){ ^ libmpcodecs/ve_lavc.c:689:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] while(encode_frame(vf, NULL, MP_NOPTS_VALUE) > 0); ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ve_lavc.c:696:45: warning: unused parameter 'vf' [-Wunused-parameter] static int query_format(struct vf_instance *vf, unsigned int fmt){ ^ libmpcodecs/ve_lavc.c:703:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(lavc_param_format == fmt) ~~~~~~~~~~~~~~~~~ ^ ~~~ libmpdemux/muxer_mpeg.c:2062:108: warning: unused parameter 'drop' [-Wunused-parameter] ...int finalize, unsigned int *nf, double *timer, double delay, int drop) ^ libmpdemux/muxer_mpeg.c:2084:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(i + 3 >= s->b_buffer_len) ~~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2093:65: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...> 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len) ~~~~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2093:27: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...if(len > 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffe... ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2107:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(i + 6 >= s->b_buffer_len) ~~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2117:67: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) ~~~~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2117:29: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buf... ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2132:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] if(i + 7 >= s->b_buffer_len) ~~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2141:67: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) ~~~~~~~ ^ ~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2141:29: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] ...if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buf... ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:743:15: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts == MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ve_lavc.c:751:19: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if(pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ve_lavc.c:754:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] pic->pts= MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpcodecs/ve_lavc.c:776:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] dts = pts = MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./mp_global.h:27:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ libmpdemux/muxer_mpeg.c:2278:76: warning: unused parameter 'flags' [-Wunused-parameter] ...mpegfile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, do... ^ libmpdemux/muxer_mpeg.c:2278:90: warning: unused parameter 'dts_arg' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts_arg, double pts_arg) ^ libmpdemux/muxer_mpeg.c:2278:106: warning: unused parameter 'pts_arg' [-Wunused-parameter] ...*s,size_t len,unsigned int flags, double dts_arg, double pts_arg) ^ libmpdemux/muxer_mpeg.c:2288:30: warning: libmpcodecs/ve_lavc.c:877comparison: 18of: integers error: of differentincompatible signs:function 'size_t' pointer(aka 'unsigned long') typesand assigning'int' to [-Wsign-compare]'int (*)(struct vf_instance *, if(s->buffer == NULL || len == -1)mp_image_t *, ~~~ ^ ~~ double, double)' (aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)') from 'int (struct vf_instance *, mp_image_t *, double)' (aka 'int (struct vf_instance *, struct mp_image *, double)') [-Wincompatible-function-pointer-types] vf->put_image=put_image; ^~~~~~~~~~ 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_tim... ^~~ 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, doubl... ^ libmpdemux/muxer_mpeg.c:2389:15: warning: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare] for(i = 0; i < muxer->avih.dwStreams; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c:99:95: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int64_t' (aka 'long') [-Wsign-compare] ...STREAM_CTRL_GET_SIZE, &size) == STREAM_UNSUPPORTED || size < pos) ~~~~ ^ ~~~ libmpdemux/muxer_mpeg.c:2482:10: warning: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int' [-Wsign-compare] if(tfl >= source) ~~~ ^ ~~~~~~ libmpcodecs/ve_lavc.c:998:1: warning: missing field 'opts' initializer [-Wmissing-field-initializers] }; ^ 14 warnings and 2 errors generated. libmpdemux/muxer_lavf.c:232:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] if(stream->bih->biSize > sizeof(*stream->bih)) ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c:257:2: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] av_init_packet(&pkt); ^ /usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here attribute_deprecated ^ /usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated' # define attribute_deprecated __attribute__((deprecated)) ^ 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)) ^~ = libmpdemux/muxer_lavf.c:296:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] avformat_write_header(priv->oc, &opts); ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c:309:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] for(i = 0; i < priv->oc->nb_streams; i++) ~ ^ ~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:730: libmpcodecs/ve_lavc.o] Error 1 mpcommon.c:112:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] mp_msg(MSGT_CPLAYER,MSGL_V,"\n"); ^ mpcommon.c:110:1: note: previous statement is here if (HAVE_I686) ^ 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/include/ass/ass.h:674: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/include/ass/ass.h:699: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... ^ 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... ^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ 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 ab... ~~~~^ mpcommon.c:378:34: warning: unused parameter 'sh_video' [-Wunused-parameter] void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset) ^ mpcommon.c:378:68: warning: unused parameter 'reset' [-Wunused-parameter] void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset) ^ mpcommon.c:449:33: warning: unused parameter 'conf' [-Wunused-parameter] int cfg_inc_verbose(m_option_t *conf) ^ mpcommon.c:455:29: warning: unused parameter 'conf' [-Wunused-parameter] int cfg_include(m_option_t *conf, const char *filename) ^ mpcommon.c:669:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return MP_NOPTS_VALUE; ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mpcommon.c:675:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (sh_audio->pts_bytes && a_pts == MP_NOPTS_VALUE && ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ mpcommon.c:678:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] if (a_pts != MP_NOPTS_VALUE) ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: note: expanded from macro 'MP_NOPTS_VALUE' #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be ab... ~~~~^ 6 warnings generated. 19 warnings generated. 8 warnings generated. 23 warnings generated. 21 warnings generated. 58 warnings generated. 58 warnings generated. * ERROR: media-video/mplayer-1.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/mplayer-1.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mplayer-1.5::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/media-video/mplayer-1.5:20230225-010913.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/mplayer-1.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer-1.5/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mplayer-1.5/work/MPlayer-1.5' * S: '/var/tmp/portage/media-video/mplayer-1.5/work/MPlayer-1.5'