>>> mplayer: Building community/mplayer 1.4.0-r5 (using abuild 3.9.0_rc2-r1) started Tue, 16 Nov 2021 23:30:06 +0000 >>> mplayer: Checking sanity of /home/buildozer/aports/community/mplayer/APKBUILD... >>> mplayer: Analyzing dependencies... >>> mplayer: Installing for build: build-base libxxf86dga-dev libxv-dev libmad-dev lame-dev libao-dev libtheora-dev xvidcore-dev zlib-dev sdl2-dev freetype-dev libdvdread-dev x264-dev faac-dev fontconfig-dev libxvmc-dev alsa-lib-dev live-media-dev mesa-dev yasm libpng-dev libvdpau-dev libvpx-dev libcdio-paranoia-dev (1/123) Installing libxau (1.0.9-r0) (2/123) Installing libmd (1.0.3-r0) (3/123) Installing libbsd (0.11.3-r1) (4/123) Installing libxdmcp (1.1.3-r0) (5/123) Installing libxcb (1.14-r2) (6/123) Installing libx11 (1.7.2-r0) (7/123) Installing libxext (1.3.4-r0) (8/123) Installing libxxf86dga (1.1.5-r0) (9/123) Installing xorgproto (2021.5-r0) (10/123) Installing libxau-dev (1.0.9-r0) (11/123) Installing xcb-proto (1.14.1-r2) (12/123) Installing libxdmcp-dev (1.1.3-r0) (13/123) Installing libxcb-dev (1.14-r2) (14/123) Installing xtrans (1.4.0-r1) (15/123) Installing libx11-dev (1.7.2-r0) (16/123) Installing libxext-dev (1.3.4-r0) (17/123) Installing libxxf86dga-dev (1.1.5-r0) (18/123) Installing libxv (1.0.11-r2) (19/123) Installing libxv-dev (1.0.11-r2) (20/123) Installing libmad (0.15.1b-r9) (21/123) Installing libmad-dev (0.15.1b-r9) (22/123) Installing lame (3.100-r0) (23/123) Installing lame-dev (3.100-r0) (24/123) Installing alsa-lib (1.2.5.1-r1) (25/123) Installing libao (1.2.2-r1) (26/123) Installing libao-dev (1.2.2-r1) (27/123) Installing libogg (1.3.5-r0) (28/123) Installing libogg-dev (1.3.5-r0) (29/123) Installing libtheora (1.1.1-r16) (30/123) Installing libtheora-dev (1.1.1-r16) (31/123) Installing xvidcore (1.3.7-r1) (32/123) Installing xvidcore-dev (1.3.7-r1) (33/123) Installing zlib-dev (1.2.11-r3) (34/123) Installing libpciaccess (0.16-r0) (35/123) Installing libdrm (2.4.108-r0) (36/123) Installing libpng (1.6.37-r1) (37/123) Installing freetype (2.11.0-r0) (38/123) Installing tslib (1.22-r0) (39/123) Installing directfb (1.7.7-r3) (40/123) Installing directfb-dev (1.7.7-r3) (41/123) Installing linux-headers (5.10.41-r0) (42/123) Installing libpciaccess-dev (0.16-r0) (43/123) Installing libdrm-dev (2.4.108-r0) (44/123) Installing libxdamage (1.1.5-r1) (45/123) Installing libxfixes (6.0.0-r0) (46/123) Installing libxfixes-dev (6.0.0-r0) (47/123) Installing libxdamage-dev (1.1.5-r1) (48/123) Installing libxshmfence (1.3-r1) (49/123) Installing libxshmfence-dev (1.3-r1) (50/123) Installing mesa (21.2.5-r0) (51/123) Installing libffi (3.4.2-r1) (52/123) Installing wayland-libs-server (1.19.0-r1) (53/123) Installing mesa-gbm (21.2.5-r0) (54/123) Installing mesa-glapi (21.2.5-r0) (55/123) Installing wayland-libs-client (1.19.0-r1) (56/123) Installing mesa-egl (21.2.5-r0) (57/123) Installing libxxf86vm (1.1.4-r2) (58/123) Installing mesa-gl (21.2.5-r0) (59/123) Installing mesa-gles (21.2.5-r0) (60/123) Installing libxml2 (2.9.12-r2) (61/123) Installing llvm12-libs (12.0.1-r0) (62/123) Installing mesa-osmesa (21.2.5-r0) (63/123) Installing mesa-xatracker (21.2.5-r0) (64/123) Installing libxxf86vm-dev (1.1.4-r2) (65/123) Installing mesa-dev (21.2.5-r0) (66/123) Installing sdl2 (2.0.16-r4) (67/123) Installing sdl2-dev (2.0.16-r4) (68/123) Installing brotli-dev (1.0.9-r5) (69/123) Installing libpng-dev (1.6.37-r1) (70/123) Installing freetype-dev (2.11.0-r0) (71/123) Installing libdvdcss (1.4.3-r0) (72/123) Installing libdvdread (6.1.2-r0) (73/123) Installing libdvdcss-dev (1.4.3-r0) (74/123) Installing libdvdread-dev (6.1.2-r0) (75/123) Installing x264-libs (20210613-r0) (76/123) Installing x264-dev (20210613-r0) (77/123) Installing faac (1.30-r1) (78/123) Installing faac-dev (1.30-r1) (79/123) Installing libuuid (2.37.2-r1) (80/123) Installing fontconfig (2.13.1-r4) (81/123) Installing expat-dev (2.4.1-r0) (82/123) Installing util-linux (2.37.2-r1) (83/123) Installing libblkid (2.37.2-r1) (84/123) Installing libeconf (0.4.1-r0) (85/123) Installing libfdisk (2.37.2-r1) (86/123) Installing libmount (2.37.2-r1) (87/123) Installing libsmartcols (2.37.2-r1) (88/123) Installing util-linux-misc (2.37.2-r1) (89/123) Installing linux-pam (1.5.2-r0) (90/123) Installing runuser (2.37.2-r1) (91/123) Installing hexdump (2.37.2-r1) (92/123) Installing uuidgen (2.37.2-r1) (93/123) Installing blkid (2.37.2-r1) (94/123) Installing sfdisk (2.37.2-r1) (95/123) Installing mcookie (2.37.2-r1) (96/123) Installing wipefs (2.37.2-r1) (97/123) Installing cfdisk (2.37.2-r1) (98/123) Installing flock (2.37.2-r1) (99/123) Installing lsblk (2.37.2-r1) (100/123) Installing libcap-ng (0.8.2-r0) (101/123) Installing setpriv (2.37.2-r1) (102/123) Installing logger (2.37.2-r1) (103/123) Installing partx (2.37.2-r1) (104/123) Installing findmnt (2.37.2-r1) (105/123) Installing util-linux-dev (2.37.2-r1) (106/123) Installing fontconfig-dev (2.13.1-r4) (107/123) Installing libxvmc (1.0.12-r0) (108/123) Installing libxvmc-dev (1.0.12-r0) (109/123) Installing alsa-lib-dev (1.2.5.1-r1) (110/123) Installing live-media (2020.04.24-r1) (111/123) Installing live-media-dev (2020.04.24-r1) (112/123) Installing yasm (1.3.0-r2) (113/123) Installing libvdpau (1.4-r0) (114/123) Installing libvdpau-dev (1.4-r0) (115/123) Installing libvpx (1.10.0-r0) (116/123) Installing libvpx-dev (1.10.0-r0) (117/123) Installing libcdio (2.1.0-r0) (118/123) Installing libcdio-paranoia (2.0.0-r2) (119/123) Installing libcdio++ (2.1.0-r0) (120/123) Installing libcdio-dev (2.1.0-r0) (121/123) Installing libcdio-paranoia-dev (2.0.0-r2) (122/123) Installing .makedepends-mplayer (20211116.233008) (123/123) Installing util-linux-openrc (2.37.2-r1) Executing busybox-1.34.1-r2.trigger OK: 532 MiB in 222 packages >>> mplayer: Cleaning up srcdir >>> mplayer: Cleaning up pkgdir >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/MPlayer-1.4.tar.xz >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/MPlayer-1.4.tar.xz >>> mplayer: Checking sha512sums... MPlayer-1.4.tar.xz: OK x11-libs.patch: OK mplayer_alpine_aarch64.patch: OK >>> mplayer: Unpacking /var/cache/distfiles/v3.15/MPlayer-1.4.tar.xz... >>> mplayer: x11-libs.patch patching file configure Hunk #1 succeeded at 4731 (offset 337 lines). >>> mplayer: mplayer_alpine_aarch64.patch patching file configure patching file ffmpeg/libavcodec/aarch64/idctdsp_init_aarch64.c patching file ffmpeg/libavcodec/Makefile Checking for ffmpeg/libavcodec/allcodecs.c ... found Checking for ffmpeg/libavcodec/hwaccels.h ... found Checking for ffmpeg/libavformat/allformats.c ... found Checking for ffmpeg/libavcodec/bitsteram_filters.c ... found Checking for ffmpeg/libavformat/protocols.c ... found Checking for ffmpeg/libavfilter/allfilters.c ... found Checking for gcc version ... 10.3.1 Checking for working compiler ... yes Detected operating system: Linux Detected host architecture: x86_64 Checking for cross compilation ... no Checking for host cc ... gcc Checking for GCC & CPU optimization abilities ... Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for relocatable binary ... yes (fast PIC) Checking for PIC ... yes Checking for .align is a power of two ... no Checking for ebx availability ... yes Checking for yasm ... yasm Checking for bswap ... yes Checking for xmm clobbers ... yes Checking for langinfo ... yes Checking for language ... messages: en - man pages: cs de en es fr hu it pl ru zh_CN - documentation: cs de en es fr hu it pl ru zh_CN Checking for enable sighandler ... yes Checking for runtime cpudetection ... yes Checking for restrict keyword ... restrict Checking for __builtin_expect ... yes Checking for kstat ... no Checking for atanf ... yes Checking for cbrt ... yes Checking for cbrtf ... yes Checking for cosf ... yes Checking for expf ... yes Checking for exp2 ... yes Checking for exp2f ... yes Checking for isnan ... yes Checking for isfinite ... yes Checking for isinf ... yes Checking for llrint ... yes Checking for llrintf ... yes Checking for log2 ... yes Checking for log2f ... yes Checking for log10f ... yes Checking for lrint ... yes Checking for lrintf ... yes Checking for rint ... yes Checking for round ... yes Checking for roundf ... yes Checking for sinf ... yes Checking for trunc ... yes Checking for truncf ... yes Checking for erf ... yes Checking for atan2f ... yes Checking for fminf ... yes Checking for ldexpf ... yes Checking for powf ... yes Checking for hypot ... yes Checking for mkstemp ... yes Checking for gmtime_r ... yes Checking for localtime_r ... yes Checking for nanosleep ... yes Checking for 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 inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.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 windows.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 ... no 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 ... yes 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 ... yes Checking for md5sum support ... yes Checking for yuv4mpeg support ... yes Checking for bl ... no Checking for DirectFB ... yes Checking for X11 headers presence ... yes Checking for X11 ... yes Checking for Xss screensaver extensions ... no Checking for DPMS ... yes (using Xdpms 4) Checking for Xv ... yes Checking for XvMC ... yes (using XvMCW) Checking for Video Decode Acceleration (VDA) ... no Checking for VDPAU ... yes Checking for Xinerama ... no Checking for Xxf86vm ... yes Checking for XF86keysym ... yes Checking for DGA ... yes (using DGA 2.0) Checking for xmga ... no Checking for 3dfx ... no Checking for VIDIX ... yes Checking for VIDIX PCI device name database ... yes Checking for VIDIX dhahelper support ... no Checking for VIDIX svgalib_helper support ... 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 ... yes Checking for DVB ... yes Checking for PNG support ... yes Checking for MNG support ... no Checking for JPEG support ... no Checking for OpenJPEG (JPEG 2000) support ... no Checking for PNM support ... yes Checking for GIF support ... no Checking for VESA support ... no Checking for SDL ... no Checking for SDL image ... no Checking for OpenGL ... yes (backends: x11 egl_x11) Checking for MatrixView ... yes Checking for DXR2 ... no Checking for DXR3/H+ ... no Checking for IVTV TV-Out (pre linux-2.6.24) ... no Checking for V4L2 MPEG Decoder ... yes Checking for OSS Audio ... yes Checking for aRts ... no Checking for EsounD ... no Checking for NAS ... no Checking for pulse ... no Checking for JACK ... no Checking for OpenAL ... no Checking for ALSA audio ... yes Checking for Sun audio ... no Checking for sndio audio ... no Checking for VCD support ... yes 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 Checking for ENCA ... no Checking for zlib ... yes Checking for bzlib ... no Checking for RTC ... yes Checking for liblzo2 support ... no Checking for mad support ... yes 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 ... yes Checking for mpg123 support ... no Checking for liba52 support ... no Checking for libmpeg2 support ... no Checking for libdca support ... no Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no Checking for FAAC support ... yes Checking for FAAD2 support ... no Checking for libilbc support ... no Checking for libopus decoding support ... no Checking for LADSPA plugin support ... no Checking for libbs2b audio filter support ... no Checking for Win32 codecs ... no Checking for XAnim codecs ... yes (dynamic loader support needed) Checking for RealPlayer codecs ... yes (dynamic loader support needed) Checking for QuickTime codecs ... auto 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 Checking for libpostproc ... yes Checking for libopencore_amr narrowband ... no Checking for libopencore_amr wideband ... no Checking for libdv-0.9.5+ ... no Checking for CrystalHD ... no Checking for Xvid ... yes Checking for Xvid two pass plugin ... yes Checking for x264 ... yes (in FFmpeg: yes) Checking for libvpx ... yes Checking for libnut ... no Checking for zr ... no Checking for libmp3lame ... yes (in FFmpeg: yes) Checking for mencoder ... yes Checking for UnRAR executable ... yes Checking for TV interface ... yes Checking for DirectShow TV interface ... no Checking for Video 4 Linux TV interface ... no Checking for Video 4 Linux 2 TV interface ... yes Checking for Radio interface ... yes Checking for Capture for Radio interface ... yes Checking for Video 4 Linux 2 Radio interface ... yes Checking for Video 4 Linux Radio interface ... no Checking for Video 4 Linux 2 MPEG PVR interface ... yes Checking for ftp ... yes Checking for vstream client ... no Checking for OSD menu ... no Checking for Subtitles sorting ... yes Checking for XMMS inputplugin support ... no Checking for GUI ... no Checking for automatic gdb attach ... no Checking for compiler support for noexecstack ... yes Checking for linker support for --nxcompat --no-seh --dynamicbase ... no Checking for linker support for --large-address-aware ... no Checking for linker support for --version-script ... yes Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Checking for DVD support (libdvdnav) ... Package dvdnav was not found in the pkg-config search path. Perhaps you should add the directory containing `dvdnav.pc' to the PKG_CONFIG_PATH environment variable Package 'dvdnav', required by 'virtual:world', not found Package dvdnav was not found in the pkg-config search path. Perhaps you should add the directory containing `dvdnav.pc' to the PKG_CONFIG_PATH environment variable Package 'dvdnav', required by 'virtual:world', not found no Checking for XML catalogs ... No SGML catalog found. Checking for XML chunked stylesheet ... not found, using default Checking for XML monolithic stylesheet ... not found, using default Checking for XML DTD ... not found, using default Checking for valid XSLT processor ... xsltproc not found Creating config.mak Creating config.h Config files successfully generated by ./configure --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-gif --disable-arts --enable-x11 --confdir=/etc/mplayer --disable-nas --enable-gl --disable-tv-v4l1 --enable-tv-v4l2 --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --language=all --disable-esd --disable-mga --disable-lirc --enable-debug --enable-radio --enable-radio-capture --extra-cflags=-I/usr/lib/live-media -O2 -fno-PIC -fno-PIE --extra-ldflags=-no-pie --disable-nemesi --enable-freetype --enable-xvmc ! Install prefix: /usr Data directory: /usr/share/mplayer Config direct.: /etc/mplayer Byte order: little-endian Optimizing for: Runtime CPU-Detection enabled Languages: Messages/GUI: en Manual pages: cs de en es fr hu it pl ru zh_CN Documentation: cs de en es fr hu it pl ru zh_CN Enabled optional drivers: Input: ftp pvr radio tv-v4l2 tv cddb cdda dvdread vcd dvb networking Codecs: libvpx x264 xvid ffmpeg(internal) real xanim faac libtheora libmad Audio output: alsa oss v4l2 mpegpes(dvb) Video output: v4l2 matrixview opengl pnm mpegpes(dvb) fbdev xvidix cvidix dga vdpau xvmc xv x11 xover directfb dfbmga yuv4mpeg md5sum tga Disabled optional drivers: Input: dvdnav vstream tv-v4l1 tv-dshow librtmp live555 nemesi bluray smb Codecs: crystalhd libdv libopencore_amrwb libopencore_amrnb qtx win32 libopus ilbc faad2 musepack libdca libmpeg2 liba52 mpg123 libgsm speex libvorbis toolame twolame liblzo gif OpenJPEG Audio output: sndio sun openal jack pulse nas esd arts ivtv dxr2 sdl Video output: zr zr2 ivtv dxr3 dxr2 sdl vesa gif89a jpeg mng svga caca aa ggi winvidix 3dfx xmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. Please check MTRR settings at /proc/mtrr (see DOCS/HTML/ cs de en es fr hu it pl ru zh_CN/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/ cs de en es fr hu it pl ru zh_CN/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. help/help_create.sh help/help_mp-en.h UTF-8 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o command.o command.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_property.o m_property.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mixer.o mixer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mp_fifo.o mp_fifo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mplayer.o mplayer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o parser-mpcmd.o parser-mpcmd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o pnm_loader.o pnm_loader.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o input/input.o input/input.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_null.o libao2/ao_null.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_pcm.o libao2/ao_pcm.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/audio_out.o libao2/audio_out.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/aspect.o libvo/aspect.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/geometry.o libvo/geometry.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/video_out.o libvo/video_out.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_null.o libvo/vo_null.c mp_fifo.c: In function 'mplayer_get_key': mp_fifo.c:61:25: warning: unused parameter 'fd' [-Wunused-parameter] 61 | int mplayer_get_key(int fd){ | ~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/spuenc.o sub/spuenc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_alsa.o libao2/ao_alsa.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o input/appleir.o input/appleir.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_dga.o libvo/vo_dga.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_directfb2.o libvo/vo_directfb2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_dfbmga.o libvo/vo_dfbmga.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_fbdev.o libvo/vo_fbdev.c libao2/ao_null.c: In function 'control': libao2/ao_null.c:65:24: warning: unused parameter 'cmd' [-Wunused-parameter] 65 | static int control(int cmd,void *arg){ | ~~~~^~~ libao2/ao_null.c:65:34: warning: unused parameter 'arg' [-Wunused-parameter] 65 | static int control(int cmd,void *arg){ | ~~~~~~^~~ libao2/ao_null.c: In function 'init': libao2/ao_null.c:71:54: warning: unused parameter 'flags' [-Wunused-parameter] 71 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ libao2/ao_null.c: In function 'uninit': libao2/ao_null.c:88:24: warning: unused parameter 'immed' [-Wunused-parameter] 88 | static void uninit(int immed){ | ~~~~^~~~~ libao2/ao_null.c: In function 'play': libao2/ao_null.c:119:23: warning: unused parameter 'data' [-Wunused-parameter] 119 | static int play(void* data,int len,int flags){ | ~~~~~~^~~~ libao2/ao_null.c:119:40: warning: unused parameter 'flags' [-Wunused-parameter] 119 | static int play(void* data,int len,int flags){ | ~~~~^~~~~ sub/spuenc.c: In function 'encode_do_control': sub/spuenc.c:41:23: warning: unused parameter 'x' [-Wunused-parameter] 41 | encode_do_control(int x,int y, encodedata* ed, pixbuf* pb) { | ~~~~^ sub/spuenc.c:41:29: warning: unused parameter 'y' [-Wunused-parameter] 41 | encode_do_control(int x,int y, encodedata* ed, pixbuf* pb) { | ~~~~^ sub/spuenc.c: In function 'pixbuf_encode_rle': sub/spuenc.c:217:65: warning: unused parameter 'stride' [-Wunused-parameter] 217 | pixbuf_encode_rle(int x, int y, int w, int h, char *inbuf, int stride,encodedata *ed){ | ~~~~^~~~~~ In file included from mpcommon.h:25, from m_property.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from command.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/vo_null.c: In function 'draw_slice': libvo/vo_null.c:47:32: warning: unused parameter 'image' [-Wunused-parameter] 47 | 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] 47 | 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] 47 | 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] 47 | 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] 47 | 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] 47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vo_null.c: In function 'config': libvo/vo_null.c:71:50: warning: unused parameter 'd_width' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ libvo/vo_null.c:71:68: warning: unused parameter 'd_height' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~ libvo/vo_null.c:71:87: warning: unused parameter 'flags' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_null.c:71:100: warning: unused parameter 'title' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_null.c:71:116: warning: unused parameter 'format' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ m_property.c: In function 'm_property_int_ro': m_property.c:223:41: warning: unused parameter 'prop' [-Wunused-parameter] 223 | int m_property_int_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ libvo/vo_mpegpes.c: In function 'config': libvo/vo_mpegpes.c:79:17: warning: unused parameter 's_width' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ libvo/vo_mpegpes.c:79:54: warning: unused parameter 'width' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_mpegpes.c:79:70: warning: unused parameter 'height' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ libvo/vo_mpegpes.c:79:87: warning: unused parameter 'flags' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_mpegpes.c:79:100: warning: unused parameter 'title' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_mpegpes.c:79:116: warning: unused parameter 'format' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ libao2/ao_pcm.c: In function 'control': m_property.c: In function 'm_property_float_ro': libao2/ao_pcm.c:134:24: warning: unused parameter 'cmd' [-Wunused-parameter] 134 | static int control(int cmd,void *arg){ | ~~~~^~~ libao2/ao_pcm.c:134:34: warning: unused parameter 'arg' [-Wunused-parameter] 134 | static int control(int cmd,void *arg){ | ~~~~~~^~~ libao2/ao_mpegpes.c: In function 'preinit': m_property.c:288:43: warning: unused parameter 'prop' [-Wunused-parameter] 288 | int m_property_float_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ libao2/ao_mpegpes.c:148:32: warning: unused parameter 'arg' [-Wunused-parameter] 148 | static int preinit(const char *arg) | ~~~~~~~~~~~~^~~ libao2/ao_mpegpes.c: In function 'init': libao2/ao_mpegpes.c:237:30: warning: unused parameter 'channels' [-Wunused-parameter] 237 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~~~~ libao2/ao_pcm.c: In function 'init': libao2/ao_pcm.c:140:54: warning: unused parameter 'flags' [-Wunused-parameter] 140 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ libao2/ao_mpegpes.c:237:54: warning: unused parameter 'flags' [-Wunused-parameter] 237 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ libao2/ao_mpegpes.c: In function 'uninit': libao2/ao_mpegpes.c:280:24: warning: unused parameter 'immed' [-Wunused-parameter] 280 | static void uninit(int immed){ | ~~~~^~~~~ In file included from ./mp_core.h:27, from libao2/audio_out.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': m_property.c: In function 'm_property_double_ro': libao2/ao_pcm.c: In function 'uninit': libao2/ao_pcm.c:202:24: warning: unused parameter 'immed' [-Wunused-parameter] 202 | static void uninit(int immed){ | ~~~~^~~~~ m_property.c:335:44: warning: unused parameter 'prop' [-Wunused-parameter] 335 | int m_property_double_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libao2/ao_mpegpes.c: In function 'play': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libao2/ao_mpegpes.c:320:40: warning: unused parameter 'flags' [-Wunused-parameter] 320 | static int play(void* data,int len,int flags){ | ~~~~^~~~~ libao2/ao_pcm.c: In function 'play': libao2/ao_pcm.c:254:40: warning: unused parameter 'flags' [-Wunused-parameter] 254 | static int play(void* data,int len,int flags){ | ~~~~^~~~~ m_property.c: In function 'm_property_string_ro': m_property.c:376:44: warning: unused parameter 'prop' [-Wunused-parameter] 376 | int m_property_string_ro(const m_option_t* prop,int action,void* arg,const char* str) { | ~~~~~~~~~~~~~~~~~~^~~~ m_property.c: In function 'm_property_do': m_property.c:74:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 74 | if((r = do_action(prop_list,name,M_PROPERTY_PRINT,arg,ctx)) >= 0) | ^ m_property.c:77:5: note: here 77 | case M_PROPERTY_TO_STRING: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_fbdev2.o libvo/vo_fbdev2.c input/appleir.c: In function 'mp_input_appleir_read': input/appleir.c:130:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 130 | if (r <= 0 || r < sizeof (struct input_event)) | ^ In file included from ./mp_core.h:27, from gui/interface.h:23, from mplayer.c:75: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ input/input.c:75:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 75 | { MP_CMD_RADIO_STEP_CHANNEL, "radio_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:76:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 76 | { MP_CMD_RADIO_SET_CHANNEL, "radio_set_channel", 1, { { MP_CMD_ARG_STRING, {0}}, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:77:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 77 | { MP_CMD_RADIO_SET_FREQ, "radio_set_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:78:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 78 | { MP_CMD_RADIO_STEP_FREQ, "radio_step_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:80:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 80 | { MP_CMD_SEEK, "seek", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:81:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 81 | { MP_CMD_EDL_LOADFILE, "edl_loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:82:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 82 | { MP_CMD_EDL_MARK, "edl_mark", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_png.o libvo/vo_png.c input/input.c:83:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 83 | { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:84:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 84 | { MP_CMD_SPEED_INCR, "speed_incr", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:85:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 85 | { MP_CMD_SPEED_MULT, "speed_mult", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:86:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 86 | { MP_CMD_SPEED_SET, "speed_set", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:87:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 87 | { MP_CMD_QUIT, "quit", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:88:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 88 | { MP_CMD_STOP, "stop", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:89:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 89 | { MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:90:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 90 | { MP_CMD_FRAME_STEP, "frame_step", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:91:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 91 | { MP_CMD_PLAY_TREE_STEP, "pt_step",1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:92:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 92 | { MP_CMD_PLAY_TREE_UP_STEP, "pt_up_step",1, { { MP_CMD_ARG_INT,{0} }, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:93:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 93 | { MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:94:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 94 | { MP_CMD_LOOP, "loop", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:95:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 95 | { MP_CMD_SUB_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:96:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 96 | { MP_CMD_SUB_STEP, "sub_step",1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:97:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 97 | { MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:98:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 98 | { MP_CMD_OSD_SHOW_TEXT, "osd_show_text", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:99:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 99 | { MP_CMD_OSD_SHOW_PROPERTY_TEXT, "osd_show_property_text",1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:100:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 100 | { MP_CMD_OSD_SHOW_PROGRESSION, "osd_show_progression", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:101:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 101 | { MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:102:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 102 | { MP_CMD_BALANCE, "balance", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:103:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 103 | { MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:104:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 104 | { MP_CMD_MUTE, "mute", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:105:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 105 | { MP_CMD_CONTRAST, "contrast",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:106:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 106 | { MP_CMD_GAMMA, "gamma", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:107:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 107 | { MP_CMD_BRIGHTNESS, "brightness",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:108:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 108 | { MP_CMD_HUE, "hue",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:109:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 109 | { MP_CMD_SATURATION, "saturation",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:110:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 110 | { MP_CMD_FRAMEDROPPING, "frame_drop",0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:111:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 111 | { MP_CMD_SUB_POS, "sub_pos", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/waitqueue.h:41:25: warning: redundant redeclaration of 'direct_waitqueue_init' [-Wredundant-decls] 41 | DirectResult DIRECT_API direct_waitqueue_init ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:55:1: note: previous definition of 'direct_waitqueue_init' was here 55 | direct_waitqueue_init( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~ input/input.c:112:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 112 | { MP_CMD_SUB_ALIGNMENT, "sub_alignment",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/waitqueue.h:43:25: warning: redundant redeclaration of 'direct_waitqueue_wait' [-Wredundant-decls] 43 | DirectResult DIRECT_API direct_waitqueue_wait ( DirectWaitQueue *queue, DirectMutex *mutex ); | ^~~~~~~~~~~~~~~~~~~~~ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:64:1: note: previous definition of 'direct_waitqueue_wait' was here 64 | direct_waitqueue_wait( DirectWaitQueue *queue, DirectMutex *mutex ) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/waitqueue.h:45:25: warning: redundant redeclaration of 'direct_waitqueue_wait_timeout' [-Wredundant-decls] 45 | DirectResult DIRECT_API direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:73:1: note: previous definition of 'direct_waitqueue_wait_timeout' was here 73 | direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input/input.c:113:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 113 | { MP_CMD_SUB_VISIBILITY, "sub_visibility", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/waitqueue.h:47:25: warning: redundant redeclaration of 'direct_waitqueue_signal' [-Wredundant-decls] 47 | DirectResult DIRECT_API direct_waitqueue_signal ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:95:1: note: previous definition of 'direct_waitqueue_signal' was here 95 | direct_waitqueue_signal( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/waitqueue.h:49:25: warning: redundant redeclaration of 'direct_waitqueue_broadcast' [-Wredundant-decls] 49 | DirectResult DIRECT_API direct_waitqueue_broadcast ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:104:1: note: previous definition of 'direct_waitqueue_broadcast' was here 104 | direct_waitqueue_broadcast( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ input/input.c:114:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 114 | { MP_CMD_SUB_LOAD, "sub_load", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/waitqueue.h:51:25: warning: redundant redeclaration of 'direct_waitqueue_deinit' [-Wredundant-decls] 51 | DirectResult DIRECT_API direct_waitqueue_deinit ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:113:1: note: previous definition of 'direct_waitqueue_deinit' was here 113 | direct_waitqueue_deinit( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ input/input.c:115:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 115 | { MP_CMD_SUB_REMOVE, "sub_remove", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:116:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 116 | { MP_CMD_SUB_SELECT, "vobsub_lang", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, // for compatibility | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:117:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 117 | { MP_CMD_SUB_SELECT, "sub_select", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ In file included from libvo/vo_dga.c:39: /usr/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future." [-Wcpp] 9 | #warning "xf86dga.h is obsolete and may be removed in the future." | ^~~~~~~ input/input.c:118:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 118 | { MP_CMD_SUB_SOURCE, "sub_source", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ /usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include instead." [-Wcpp] 10 | #warning "include instead." | ^~~~~~~ input/input.c:119:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 119 | { MP_CMD_SUB_VOB, "sub_vob", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:120:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 120 | { MP_CMD_SUB_DEMUX, "sub_demux", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:121:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 121 | { MP_CMD_SUB_FILE, "sub_file", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:122:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 122 | { MP_CMD_SUB_LOG, "sub_log", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:123:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 123 | { MP_CMD_SUB_SCALE, "sub_scale",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:125:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 125 | { MP_CMD_ASS_USE_MARGINS, "ass_use_margins", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:127:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 127 | { MP_CMD_GET_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:128:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 128 | { MP_CMD_GET_TIME_POS, "get_time_pos", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:129:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 129 | { MP_CMD_GET_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:130:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 130 | { MP_CMD_GET_FILENAME, "get_file_name", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:131:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 131 | { MP_CMD_GET_VIDEO_CODEC, "get_video_codec", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:132:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 132 | { MP_CMD_GET_VIDEO_BITRATE, "get_video_bitrate", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:133:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 133 | { MP_CMD_GET_VIDEO_RESOLUTION, "get_video_resolution", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:134:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 134 | { MP_CMD_GET_AUDIO_CODEC, "get_audio_codec", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:135:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 135 | { MP_CMD_GET_AUDIO_BITRATE, "get_audio_bitrate", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:136:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 136 | { MP_CMD_GET_AUDIO_SAMPLES, "get_audio_samples", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:137:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 137 | { MP_CMD_GET_META_TITLE, "get_meta_title", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:138:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 138 | { MP_CMD_GET_META_ARTIST, "get_meta_artist", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:139:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 139 | { MP_CMD_GET_META_ALBUM, "get_meta_album", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:140:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 140 | { MP_CMD_GET_META_YEAR, "get_meta_year", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:141:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 141 | { MP_CMD_GET_META_COMMENT, "get_meta_comment", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:142:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 142 | { MP_CMD_GET_META_TRACK, "get_meta_track", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:143:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 143 | { MP_CMD_GET_META_GENRE, "get_meta_genre", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:144:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 144 | { MP_CMD_SWITCH_AUDIO, "switch_audio", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:145:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 145 | { MP_CMD_SWITCH_ANGLE, "switch_angle", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:146:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 146 | { MP_CMD_SWITCH_TITLE, "switch_title", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:148:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 148 | { MP_CMD_TV_START_SCAN, "tv_start_scan", 0, { {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:149:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 149 | { MP_CMD_TV_STEP_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:150:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 150 | { MP_CMD_TV_STEP_NORM, "tv_step_norm",0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:151:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 151 | { MP_CMD_TV_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:152:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 152 | { MP_CMD_TV_SET_CHANNEL, "tv_set_channel", 1, { { MP_CMD_ARG_STRING, {0}}, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:153:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 153 | { MP_CMD_TV_LAST_CHANNEL, "tv_last_channel", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:154:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 154 | { MP_CMD_TV_SET_FREQ, "tv_set_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:155:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 155 | { MP_CMD_TV_STEP_FREQ, "tv_step_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:156:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 156 | { MP_CMD_TV_SET_NORM, "tv_set_norm", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:157:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 157 | { MP_CMD_TV_SET_BRIGHTNESS, "tv_set_brightness", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:158:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 158 | { MP_CMD_TV_SET_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:159:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 159 | { MP_CMD_TV_SET_HUE, "tv_set_hue", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:160:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 160 | { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:162:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 162 | { MP_CMD_SUB_FORCED_ONLY, "forced_subs_only", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:164:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 164 | { MP_CMD_DVB_SET_CHANNEL, "dvb_set_channel", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:166:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 166 | { MP_CMD_SWITCH_RATIO, "switch_ratio", 0, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:167:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 167 | { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:168:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 168 | { MP_CMD_VO_ONTOP, "vo_ontop", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:169:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 169 | { MP_CMD_FILE_FILTER, "file_filter", 1, { { MP_CMD_ARG_INT, {0}}, {-1,{0}}}}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:170:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 170 | { MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:171:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 171 | { MP_CMD_VO_BORDER, "vo_border", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/gl_common.o libvo/gl_common.c In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:172:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 172 | { MP_CMD_SCREENSHOT, "screenshot", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:173:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 173 | { MP_CMD_PANSCAN, "panscan",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:174:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 174 | { MP_CMD_SWITCH_VSYNC, "switch_vsync", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:175:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 175 | { MP_CMD_LOADFILE, "loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:176:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 176 | { MP_CMD_LOADLIST, "loadlist", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:177:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 177 | { MP_CMD_RUN, "run", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:178:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 178 | { MP_CMD_CAPTURING, "capturing", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:179:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 179 | { MP_CMD_VF_CHANGE_RECTANGLE, "change_rectangle", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}}, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:180:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 180 | { MP_CMD_TV_TELETEXT_ADD_DEC, "teletext_add_dec", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:181:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 181 | { MP_CMD_TV_TELETEXT_GO_LINK, "teletext_go_link", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:182:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 182 | { MP_CMD_OVERLAY_ADD, "overlay_add", 5, { {MP_CMD_ARG_STRING,{0}}, {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:183:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 183 | { MP_CMD_OVERLAY_REMOVE, "overlay_remove", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:197:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 197 | { MP_CMD_GET_VO_FULLSCREEN, "get_vo_fullscreen", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:198:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 198 | { MP_CMD_GET_SUB_VISIBILITY, "get_sub_visibility", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:199:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 199 | { MP_CMD_KEYDOWN_EVENTS, "key_down_event", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:200:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 200 | { MP_CMD_SET_PROPERTY, "set_property", 2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:201:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 201 | { MP_CMD_GET_PROPERTY, "get_property", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:202:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 202 | { MP_CMD_STEP_PROPERTY, "step_property", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:204:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 204 | { MP_CMD_SEEK_CHAPTER, "seek_chapter", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:205:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 205 | { MP_CMD_SET_MOUSE_POS, "set_mouse_pos", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:207:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 207 | { MP_CMD_AF_SWITCH, "af_switch", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:208:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 208 | { MP_CMD_AF_ADD, "af_add", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:209:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 209 | { MP_CMD_AF_DEL, "af_del", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:210:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 210 | { MP_CMD_AF_CLR, "af_clr", 0, { {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:211:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 211 | { MP_CMD_AF_CMDLINE, "af_cmdline", 2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:213:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 213 | { MP_CMD_GUI, "gui", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:215:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 215 | { 0, "", 0, {} } | ^ In file included from input/input.c:33: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_gl.o libvo/vo_gl.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/csputils.o libvo/csputils.c libvo/vo_dga.c: In function 'config': libvo/vo_dga.c:749:35: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 749 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ libvo/vo_dga.c:749:59: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 749 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ libao2/audio_out.c: In function 'init_best_audio_out': libao2/audio_out.c:150:62: warning: unused parameter 'use_plugin' [-Wunused-parameter] 150 | const ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate,int channels,int format,int flags){ | ~~~~^~~~~~~~~~ libvo/vo_dga.c:828:35: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 828 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ libvo/vo_dga.c:828:59: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 828 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ input/input.c:634:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 634 | { "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ libvo/vo_dga.c:508:46: warning: unused parameter 'title' [-Wunused-parameter] 508 | uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_dga.c: In function 'get_image': libvo/vo_dga.c:939:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 939 | (IMGFMT_BGR_DEPTH(mpi->imgfmt) != | ^~ input/input.c: In function 'mp_input_get_cmd_from_keys': input/input.c:1090:49: warning: unused parameter 'paused' [-Wunused-parameter] 1090 | mp_input_get_cmd_from_keys(int n,int* keys, int paused) { | ~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/x11_common.o libvo/x11_common.c input/input.c: In function 'read_events': input/input.c:1234:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1234 | for (i = 0; i < num_key_fd; i++) | ^ input/input.c:1239:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1239 | for (i = 0; i < num_cmd_fd; i++) | ^ input/input.c:1250:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1250 | for (i = 0; i < num_key_fd; i++) { | ^ input/input.c:1258:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1258 | for (i = 0; i < num_cmd_fd; i++) { | ^ libvo/vo_fbdev.c: In function 'find_best_mode': input/input.c:1290:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1290 | for (i = 0; i < num_key_fd; i++) { | ^ libvo/vo_fbdev.c:466:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 466 | if (best->xres < xres || best->yres < yres) { | ^ libvo/vo_fbdev.c:466:45: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 466 | if (best->xres < xres || best->yres < yres) { | ^ libvo/vo_fbdev.c:478:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 478 | (curr->xres >= xres && curr->yres >= yres)) { | ^~ libvo/vo_fbdev.c:478:51: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 478 | (curr->xres >= xres && curr->yres >= yres)) { | ^~ libvo/vo_fbdev.c:483:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 483 | if (curr->xres < xres || curr->yres < yres) | ^ libvo/vo_fbdev.c:483:49: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 483 | if (curr->xres < xres || curr->yres < yres) | ^ input/input.c:1327:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1327 | for (i = 0; i < num_cmd_fd; i++) { | ^ libvo/vo_fbdev.c: At top level: libvo/vo_fbdev.c:582:15: warning: missing initializer for field 'transp' of 'struct fb_cmap' [-Wmissing-field-initializers] 582 | static struct fb_cmap fb_oldcmap = { 0, 256, fb_ored, fb_ogreen, fb_oblue }; | ^~~~~~~ In file included from libvo/vo_fbdev.c:40: /usr/include/linux/fb.h:286:9: note: 'transp' declared here 286 | __u16 *transp; /* transparency, can be NULL */ | ^~~~~~ input/input.c: In function 'mp_input_get_key_name': input/input.c:1470:14: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1470 | return key_names[i].name; | ^~~~~~~~~ libao2/ao_alsa.c: In function 'init': libao2/ao_alsa.c:341:60: warning: unused parameter 'flags' [-Wunused-parameter] 341 | static int init(int rate_hz, int channels, int format, int flags) | ~~~~^~~~~ libvo/vo_fbdev.c: In function 'config': libvo/vo_fbdev.c:924:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 924 | if (vo_doublebuffering && fb_size < 2 * fb_yres * fb_line_len) | ^ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/waitqueue.h:41:25: warning: redundant redeclaration of 'direct_waitqueue_init' [-Wredundant-decls] 41 | DirectResult DIRECT_API direct_waitqueue_init ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:55:1: note: previous definition of 'direct_waitqueue_init' was here 55 | direct_waitqueue_init( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/waitqueue.h:43:25: warning: redundant redeclaration of 'direct_waitqueue_wait' [-Wredundant-decls] 43 | DirectResult DIRECT_API direct_waitqueue_wait ( DirectWaitQueue *queue, DirectMutex *mutex ); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:64:1: note: previous definition of 'direct_waitqueue_wait' was here 64 | direct_waitqueue_wait( DirectWaitQueue *queue, DirectMutex *mutex ) | ^~~~~~~~~~~~~~~~~~~~~ libvo/vo_fbdev.c:944:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 944 | if (fb_xres > image_width) | ^ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/waitqueue.h:45:25: warning: redundant redeclaration of 'direct_waitqueue_wait_timeout' [-Wredundant-decls] 45 | DirectResult DIRECT_API direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:73:1: note: previous definition of 'direct_waitqueue_wait_timeout' was here 73 | direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/waitqueue.h:47:25: warning: redundant redeclaration of 'direct_waitqueue_signal' [-Wredundant-decls] 47 | DirectResult DIRECT_API direct_waitqueue_signal ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:95:1: note: previous definition of 'direct_waitqueue_signal' was here 95 | direct_waitqueue_signal( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/waitqueue.h:49:25: warning: redundant redeclaration of 'direct_waitqueue_broadcast' [-Wredundant-decls] 49 | DirectResult DIRECT_API direct_waitqueue_broadcast ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:104:1: note: previous definition of 'direct_waitqueue_broadcast' was here 104 | direct_waitqueue_broadcast( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/waitqueue.h:51:25: warning: redundant redeclaration of 'direct_waitqueue_deinit' [-Wredundant-decls] 51 | DirectResult DIRECT_API direct_waitqueue_deinit ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ input/input.c: In function 'mp_input_init': libvo/vo_fbdev.c:948:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 948 | if (fb_yres > image_height) | ^ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36, from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:113:1: note: previous definition of 'direct_waitqueue_deinit' was here 113 | direct_waitqueue_deinit( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ input/input.c:1803:54: warning: cast between incompatible function types from 'int (*)(int)' to 'void (*)(int)' [-Wcast-function-type] 1803 | mp_input_add_key_fd(fd,1,mp_input_appleir_read,(mp_close_func_t)close); | ^ input/input.c:1817:45: warning: cast between incompatible function types from 'int (*)(int)' to 'void (*)(int)' [-Wcast-function-type] 1817 | mp_input_add_cmd_fd(in_file_fd,1,NULL,(mp_close_func_t)close); | ^ input/input.c: In function 'mp_input_print_key_list': libvo/vo_fbdev.c:767:60: warning: unused parameter 'title' [-Wunused-parameter] 767 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ input/input.c:1859:48: warning: unused parameter 'cfg' [-Wunused-parameter] 1859 | static int mp_input_print_key_list(m_option_t* cfg) { | ~~~~~~~~~~~~^~~ input/input.c: In function 'mp_input_print_cmd_list': input/input.c:1867:48: warning: unused parameter 'cfg' [-Wunused-parameter] 1867 | static int mp_input_print_cmd_list(m_option_t* cfg) { | ~~~~~~~~~~~~^~~ libvo/vo_fbdev.c: In function 'get_image': libvo/vo_fbdev.c:1156:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1156 | IMGFMT_BGR_DEPTH(mpi->imgfmt) != fb_bpp || | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_gl_tiled.o libvo/vo_gl_tiled.c input/input.c: In function 'mp_input_read_cmd': input/input.c:955:2: warning: this statement may fall through [-Wimplicit-fallthrough=] 955 | mp_msg(MSGT_INPUT,MSGL_ERR,MSGTR_INPUT_INPUT_ErrReadingCmdFd,mp_fd->fd,strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input/input.c:956:7: note: here 956 | case MP_INPUT_NOTHING: | ^~~~ libvo/vo_directfb2.c: In function 'test_format_callback': libvo/vo_directfb2.c:338:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 338 | if ((layer_id == -1 )||(layer_id == id)) { | ^~ libvo/vo_directfb2.c: In function 'config': libvo/vo_directfb2.c:811:15: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 811 | if (((s_width==out_width)&&(s_height==out_height)) || (params.scale)) { | ^~ libvo/vo_directfb2.c:811:38: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 811 | if (((s_width==out_width)&&(s_height==out_height)) || (params.scale)) { | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_matrixview.o libvo/vo_matrixview.c libvo/vo_directfb2.c:466:44: warning: unused parameter 'title' [-Wunused-parameter] 466 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ In file included from libvo/vo_directfb2.c:30: libvo/vo_directfb2.c: In function 'draw_slice': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libvo/vo_directfb2.c:1180:6: note: in expansion of macro 'FFMIN' 1180 | p = FFMIN(w, pitch); | ^~~~~ ffmpeg/libavutil/common.h:96:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libvo/vo_directfb2.c:1180:6: note: in expansion of macro 'FFMIN' 1180 | p = FFMIN(w, pitch); | ^~~~~ libvo/vo_directfb2.c: In function 'put_image': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libvo/vo_directfb2.c:1276:6: note: in expansion of macro 'FFMIN' 1276 | p = FFMIN(mpi->w, pitch); | ^~~~~ libvo/vo_fbdev2.c:103:15: warning: missing initializer for field 'transp' of 'struct fb_cmap' [-Wmissing-field-initializers] 103 | static struct fb_cmap fb_oldcmap = { 0, 256, fb_ored, fb_ogreen, fb_oblue }; | ^~~~~~~ ffmpeg/libavutil/common.h:96:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libvo/vo_directfb2.c:1276:6: note: in expansion of macro 'FFMIN' 1276 | p = FFMIN(mpi->w, pitch); | ^~~~~ In file included from libvo/vo_fbdev2.c:31: /usr/include/linux/fb.h:286:9: note: 'transp' declared here 286 | __u16 *transp; /* transparency, can be NULL */ | ^~~~~~ libvo/vo_fbdev2.c: In function 'config': libvo/vo_fbdev2.c:224:20: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 224 | if (fb_vinfo.xres < in_width || fb_vinfo.yres < in_height) { | ^ libvo/vo_fbdev2.c:224:48: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 224 | if (fb_vinfo.xres < in_width || fb_vinfo.yres < in_height) { | ^ command.c: In function 'mp_property_osdlevel': command.c:234:44: warning: unused parameter 'mpctx' [-Wunused-parameter] 234 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ command.c: In function 'mp_property_playback_speed': command.c:259:61: warning: unused parameter 'mpctx' [-Wunused-parameter] 259 | void *arg, MPContext *mpctx) | ~~~~~~~~~~~^~~~~ command.c: In function 'mp_property_path': command.c:282:40: warning: unused parameter 'mpctx' [-Wunused-parameter] 282 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ libvo/vo_fbdev2.c:211:44: warning: unused parameter 'title' [-Wunused-parameter] 211 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ command.c: In function 'mp_property_filename': command.c:289:44: warning: unused parameter 'mpctx' [-Wunused-parameter] 289 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ command.c: In function 'mp_property_stream_start': command.c:331:49: warning: unused parameter 'prop' [-Wunused-parameter] 331 | static int mp_property_stream_start(m_option_t *prop, int action, | ~~~~~~~~~~~~^~~~ command.c: In function 'mp_property_stream_end': command.c:345:47: warning: unused parameter 'prop' [-Wunused-parameter] 345 | static int mp_property_stream_end(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ command.c: In function 'mp_property_stream_length': command.c:359:50: warning: unused parameter 'prop' [-Wunused-parameter] 359 | static int mp_property_stream_length(m_option_t *prop, int action, | ~~~~~~~~~~~~^~~~ In file included from libmpcodecs/vf.h:118, from command.c:41: command.c: In function 'mp_property_stream_time_pos': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/matrixview.o libvo/matrixview.c ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ command.c:377:58: note: in expansion of macro 'MP_NOPTS_VALUE' 377 | if (!mpctx->demuxer || mpctx->demuxer->stream_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libvo/vo_fbdev2.c: In function 'set_bpp': libvo/vo_fbdev2.c:61:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 61 | p->transp.length = 8; | ~~~~~~~~~~~~~~~~~^~~ libvo/vo_fbdev2.c:63:3: note: here 63 | case 24: | ^~~~ command.c: In function 'mp_property_metadata': command.c:611:45: warning: unused parameter 'prop' [-Wunused-parameter] 611 | static int mp_property_metadata(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_md5sum.o libvo/vo_md5sum.c command.c: In function 'mp_property_audio': command.c:896:42: warning: unused parameter 'prop' [-Wunused-parameter] 896 | static int mp_property_audio(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ In file included from ./mp_core.h:27, from libvo/vo_png.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_video': command.c:958:42: warning: unused parameter 'prop' [-Wunused-parameter] 958 | static int mp_property_video(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ command.c: In function 'mp_property_program': command.c:1019:44: warning: unused parameter 'prop' [-Wunused-parameter] 1019 | static int mp_property_program(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o udp_sync.o udp_sync.c command.c: In function 'mp_property_vsync': command.c:1330:41: warning: unused parameter 'mpctx' [-Wunused-parameter] 1330 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ libvo/vo_dfbmga.c: In function 'preinit': libvo/vo_dfbmga.c:194:22: warning: unused parameter 'arg' [-Wunused-parameter] 194 | preinit( const char *arg ) | ~~~~~~~~~~~~^~~ command.c: In function 'mp_property_sub_pos': command.c:1433:43: warning: unused parameter 'mpctx' [-Wunused-parameter] 1433 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ command.c: In function 'mp_property_sub': command.c:1448:40: warning: unused parameter 'prop' [-Wunused-parameter] 1448 | static int mp_property_sub(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ libvo/vo_dfbmga.c: In function 'config': libvo/vo_dfbmga.c:550:15: warning: unused parameter 'title' [-Wunused-parameter] 550 | char *title, | ~~~~~~^~~~~ command.c: In function 'mp_property_sub_forced_only': command.c:1888:62: warning: unused parameter 'mpctx' [-Wunused-parameter] 1888 | void *arg, MPContext *mpctx) | ~~~~~~~~~~~^~~~~ command.c: In function 'mp_property_sub_scale': command.c:1912:42: warning: unused parameter 'mpctx' [-Wunused-parameter] 1912 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_oss.o libao2/ao_oss.c In file included from ./mp_core.h:27, from libvo/vo_md5sum.c:45: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libvo/vo_png.c: In function 'config': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/vo_png.c:113:50: warning: unused parameter 'd_width' [-Wunused-parameter] 113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/vo_png.c:113:68: warning: unused parameter 'd_height' [-Wunused-parameter] 113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/vo_png.c:113:87: warning: unused parameter 'flags' [-Wunused-parameter] 113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_png.c:113:100: warning: unused parameter 'title' [-Wunused-parameter] 113 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_png.c: In function 'draw_image': libvo/vo_png.c:186:5: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] 186 | res = avcodec_encode_video2(avctx, &pkt, pic, &got_pkt); | ^~~ In file included from libvo/vo_png.c:43: ffmpeg/libavcodec/avcodec.h:5449:5: note: declared here 5449 | int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, | ^~~~~~~~~~~~~~~~~~~~~ libvo/vo_png.c:196:5: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] 196 | av_free_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from libvo/vo_png.c:43: ffmpeg/libavcodec/avcodec.h:4463:6: note: declared here 4463 | void av_free_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ libvo/vo_png.c: In function 'preinit': libvo/vo_png.c:254:5: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations] 254 | avcodec_register_all(); | ^~~~~~~~~~~~~~~~~~~~ In file included from libvo/vo_png.c:43: ffmpeg/libavcodec/avcodec.h:4149:6: note: declared here 4149 | void avcodec_register_all(void); | ^~~~~~~~~~~~~~~~~~~~ In file included from ./libmpcodecs/vf.h:118, from libmenu/menu.h:24, from mplayer.c:80: mplayer.c: At top level: ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:147:22: note: in expansion of macro 'MP_NOPTS_VALUE' 147 | double start_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:158:23: note: in expansion of macro 'MP_NOPTS_VALUE' 158 | .begin_skip = MP_NOPTS_VALUE, | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:208:29: note: in expansion of macro 'MP_NOPTS_VALUE' 208 | static double seek_to_sec = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_pnm.o libvo/vo_pnm.c In file included from libmpcodecs/vf.h:118, from command.c:41: command.c: In function 'run_command': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_tga.o libvo/vo_tga.c ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ command.c:2707:42: note: in expansion of macro 'MP_NOPTS_VALUE' 2707 | if (mpctx->begin_skip == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ command.c:2718:41: note: in expansion of macro 'MP_NOPTS_VALUE' 2718 | mpctx->begin_skip = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from cfg-mplayer.h:27, from mplayer.c:336: cfg-common.h:301:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 301 | {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~ libvo/x11_common.c: In function 'vo_wm_detect': libvo/x11_common.c:321:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 321 | for (i = 0; i < nitems; i++) | ^ cfg-common.h:314:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 314 | {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL}, | ^~~~~~~~~~~~~ libvo/x11_common.c:346:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 346 | for (i = 0; i < nitems; i++) | ^ In file included from cfg-mplayer.h:27, from mplayer.c:336: cfg-common.h:431:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:432:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:435:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 435 | { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:448:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, | ^~~~~~~~~~~ cfg-common.h:450:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 450 | {"radio", radioopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:455:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-common.h:460:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | {"pvr", pvropts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~ cfg-common.h:464:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 464 | {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-common.h:466:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 466 | {"dvbin", dvbin_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~ libvo/vo_md5sum.c: In function 'config': libvo/vo_md5sum.c:137:28: warning: unused parameter 'width' [-Wunused-parameter] 137 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~ libvo/vo_md5sum.c:137:44: warning: unused parameter 'height' [-Wunused-parameter] 137 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~ libvo/vo_md5sum.c:137:61: warning: unused parameter 'd_width' [-Wunused-parameter] 137 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~~ libvo/vo_md5sum.c:138:33: warning: unused parameter 'd_height' [-Wunused-parameter] 138 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ libvo/vo_md5sum.c:138:52: warning: unused parameter 'flags' [-Wunused-parameter] 138 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~ libvo/vo_md5sum.c:138:65: warning: unused parameter 'title' [-Wunused-parameter] 138 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/vo_md5sum.c:139:33: warning: unused parameter 'format' [-Wunused-parameter] 139 | uint32_t format) | ~~~~~~~~~^~~~~~ cfg-common.h:506:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 506 | {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~ cfg-common.h:509:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 509 | {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list}, | ^ cfg-common.h:519:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 519 | {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | ^~~~~~~ cfg-common.h:524:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 524 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~ cfg-common.h:546:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 546 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~~ cfg-common.h:547:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 547 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:550:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 550 | {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ libvo/x11_common.c: In function 'vo_x11_classhint': libvo/x11_common.c:744:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 744 | wmClass.res_name = vo_winname ? vo_winname : name; | ^ libvo/x11_common.c: In function 'handle_x11_event': libvo/x11_common.c:938:46: warning: comparison of integer expressions of different signedness: 'long int' and 'Atom' {aka 'long unsigned int'} [-Wsign-compare] 938 | event->xclient.data.l[0] == XAWM_DELETE_WINDOW) | ^~ In file included from mplayer.c:336: cfg-mplayer.h:354:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 354 | {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-mplayer.h:361:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 361 | {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:362:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 362 | {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:363:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:365:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~ In file included from ./libmpcodecs/vf.h:118, from libmenu/menu.h:24, from mplayer.c:80: mplayer.c: In function 'print_file_properties': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:511:30: note: in expansion of macro 'MP_NOPTS_VALUE' 511 | double video_start_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:539:28: note: in expansion of macro 'MP_NOPTS_VALUE' 539 | if (video_start_pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:540:26: note: in expansion of macro 'MP_NOPTS_VALUE' 540 | if (start_pts == MP_NOPTS_VALUE || !mpctx->sh_audio || | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:544:22: note: in expansion of macro 'MP_NOPTS_VALUE' 544 | if (start_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ In file included from mp_core.h:27, from udp_sync.c:45: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/x11_common.c: In function 'xss_suspend': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/x11_common.c:1522:29: warning: unused parameter 'suspend' [-Wunused-parameter] 1522 | static int xss_suspend(Bool suspend) | ^ mplayer.c: In function 'child_sighandler': mplayer.c:769:34: warning: unused parameter 'x' [-Wunused-parameter] 769 | static void child_sighandler(int x) | ~~~~^ mplayer.c: In function 'load_per_extension_config': mplayer.c:913:75: warning: unused parameter 'file' [-Wunused-parameter] 913 | static void load_per_extension_config(m_config_t *conf, const char *const file) | ~~~~~~~~~~~~~~~~~~^~~~ libvo/x11_common.c: In function 'vo_x11_create_colormap': libvo/x11_common.c:1833:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1833 | for (k = 0; k < cm_size; k++) | ^ mplayer.c: In function 'saddf': mplayer.c:1163:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1163 | if (*pos >= len) { | ^~ libvo/x11_common.c:1843:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1843 | if (t < r) | ^ libvo/x11_common.c:1847:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1847 | if (t < g) | ^ libvo/x11_common.c:1851:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1851 | if (t < b) | ^ command.c: In function 'mp_property_ass_use_margins': command.c:1875:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1875 | if (!arg) | ^ command.c:1877:5: note: here 1877 | case M_PROPERTY_STEP_UP: | ^~~~ command.c:1879:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1879 | ass_force_reload = 1; | ~~~~~~~~~~~~~~~~~^~~ command.c:1880:5: note: here 1880 | default: | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_v4l2.o libvo/vo_v4l2.c command.c: In function 'mp_property_sub_visibility': command.c:1853:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1853 | if (!arg) | ^ command.c:1855:5: note: here 1855 | case M_PROPERTY_STEP_UP: | ^~~~ command.c:1858:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1858 | if (vo_spudec) | ^ command.c:1860:5: note: here 1860 | default: | ^~~~~~~ In file included from ./libmpcodecs/vf.h:118, from libmenu/menu.h:24, from mplayer.c:80: mplayer.c: In function 'is_at_end': command.c: In function 'mp_property_sub_alignment': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:1748:37: note: in expansion of macro 'MP_NOPTS_VALUE' 1748 | case END_AT_TIME: return pts != MP_NOPTS_VALUE && end_at->pos <= pts; | ^~~~~~~~~~~~~~ mplayer.c: In function 'generate_video_frame': command.c:1834:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1834 | if (!arg) | ^ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:1798:23: note: in expansion of macro 'MP_NOPTS_VALUE' 1798 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c:1836:5: note: here 1836 | case M_PROPERTY_STEP_UP: | ^~~~ command.c:1838:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1838 | vo_osd_changed(OSDTYPE_SUBTITLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:1839:5: note: here 1839 | default: | ^~~~~~~ command.c: In function 'mp_property_sub_pos': command.c:1437:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1437 | if (!arg) | ^ mplayer.c: In function 'adjust_sync_and_print_status': command.c:1439:5: note: here 1439 | case M_PROPERTY_STEP_UP: | ^~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2072:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2072 | if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ command.c:1441:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1441 | vo_osd_changed(OSDTYPE_SUBTITLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2072:53: note: in expansion of macro 'MP_NOPTS_VALUE' 2072 | if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ command.c:1442:5: note: here 1442 | default: | ^~~~~~~ mplayer.c: In function 'reinit_video_chain': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2415:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2415 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_vo_flag': mplayer.c: In function 'update_video': command.c:1213:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1213 | if (*vo_var == !!*(int *) arg) | ^ libvo/x11_common.c: In function 'handle_x11_event': libvo/x11_common.c:901:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 901 | key = MP_KEY_DOWN; ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2527:30: note: in expansion of macro 'MP_NOPTS_VALUE' 2527 | if (sh_video->pts == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ command.c:1216:5: note: here 1216 | case M_PROPERTY_STEP_UP: | ^~~~ libvo/x11_common.c:903:13: note: here 903 | case ButtonRelease: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_v4l2.o libao2/ao_v4l2.c ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2531:35: note: in expansion of macro 'MP_NOPTS_VALUE' 2531 | if (sh_video->last_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_fullscreen': libao2/ao_oss.c: In function 'init': libao2/ao_oss.c:222:54: warning: unused parameter 'flags' [-Wunused-parameter] 222 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ command.c:1068:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1068 | if (vo_fs == !!*(int *) arg) | ^ command.c:1071:5: note: here 1071 | case M_PROPERTY_STEP_UP: | ^~~~ libvo/vo_tga.c: In function 'config': libvo/vo_tga.c:172:28: warning: unused parameter 'width' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_tga.c:172:44: warning: unused parameter 'height' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ libvo/vo_tga.c:172:61: warning: unused parameter 'd_width' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ libvo/vo_tga.c:172:79: warning: unused parameter 'd_height' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~ libvo/vo_tga.c:172:98: warning: unused parameter 'flags' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_tga.c:172:111: warning: unused parameter 'title' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_tga.c:172:127: warning: unused parameter 'format' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ command.c: In function 'mp_property_mute': command.c:741:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 741 | if (mpctx->edl_muted) { | ^ command.c:745:5: note: here 745 | default: | ^~~~~~~ In file included from ./mp_core.h:27, from libvo/vo_pnm.c:44: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c: In function 'run_command': command.c:3445:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 3445 | if (sh_audio) | ^ command.c:3451:5: note: here 3451 | case MP_CMD_AF_ADD: | ^~~~ mplayer.c: In function 'main': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:3301:23: note: in expansion of macro 'MP_NOPTS_VALUE' 3301 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/vo_v4l2.c: In function 'config': libvo/vo_v4l2.c:85:18: warning: unused parameter 'width' [-Wunused-parameter] 85 | config (uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~ libvo/vo_v4l2.c:85:34: warning: unused parameter 'height' [-Wunused-parameter] 85 | config (uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~~ libvo/vo_v4l2.c:86:18: warning: unused parameter 'd_width' [-Wunused-parameter] 86 | uint32_t d_width, uint32_t d_height, | ~~~~~~~~~^~~~~~~ libvo/vo_v4l2.c:86:36: warning: unused parameter 'd_height' [-Wunused-parameter] 86 | uint32_t d_width, uint32_t d_height, | ~~~~~~~~~^~~~~~~~ libvo/vo_v4l2.c:87:18: warning: unused parameter 'fullscreen' [-Wunused-parameter] 87 | uint32_t fullscreen, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~~~ libvo/vo_v4l2.c:87:36: warning: unused parameter 'title' [-Wunused-parameter] 87 | uint32_t fullscreen, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_v4l2.c:87:52: warning: unused parameter 'format' [-Wunused-parameter] 87 | uint32_t fullscreen, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ libao2/ao_v4l2.c: In function 'control': libao2/ao_v4l2.c:55:14: warning: unused parameter 'cmd' [-Wunused-parameter] 55 | control (int cmd,void *arg) | ~~~~^~~ libao2/ao_v4l2.c:55:24: warning: unused parameter 'arg' [-Wunused-parameter] 55 | control (int cmd,void *arg) | ~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c libao2/ao_v4l2.c: In function 'init': libao2/ao_v4l2.c:62:47: warning: unused parameter 'flags' [-Wunused-parameter] 62 | init (int rate, int channels, int format, int flags) | ~~~~^~~~~ libao2/ao_v4l2.c: In function 'uninit': libao2/ao_v4l2.c:95:13: warning: unused parameter 'immed' [-Wunused-parameter] 95 | uninit (int immed) | ~~~~^~~~~ libao2/ao_v4l2.c: In function 'play': libao2/ao_v4l2.c:144:32: warning: unused parameter 'flags' [-Wunused-parameter] 144 | play (void *data, int len, int flags) | ~~~~^~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:3741:28: note: in expansion of macro 'MP_NOPTS_VALUE' 3741 | if (seek_to_sec != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ libvo/gl_common.c:492:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 492 | {&mpglGenBuffers, NULL, {"glGenBuffers", "glGenBuffersARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:493:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 493 | {&mpglDeleteBuffers, NULL, {"glDeleteBuffers", "glDeleteBuffersARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:494:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 494 | {&mpglBindBuffer, NULL, {"glBindBuffer", "glBindBufferARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:495:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 495 | {&mpglMapBuffer, NULL, {"glMapBuffer", "glMapBufferARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:496:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 496 | {&mpglMapBufferRange, "ARB_map_buffer_range", {"glMapBufferRange", "glMapBufferRangeARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:497:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 497 | {&mpglUnmapBuffer, NULL, {"glUnmapBuffer", "glUnmapBufferARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:498:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 498 | {&mpglBufferData, NULL, {"glBufferData", "glBufferDataARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:499:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 499 | {&mpglCombinerParameterfv, "NV_register_combiners", {"glCombinerParameterfv", "glCombinerParameterfvNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:500:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 500 | {&mpglCombinerParameteri, "NV_register_combiners", {"glCombinerParameteri", "glCombinerParameteriNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:501:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 501 | {&mpglCombinerInput, "NV_register_combiners", {"glCombinerInput", "glCombinerInputNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:502:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 502 | {&mpglCombinerOutput, "NV_register_combiners", {"glCombinerOutput", "glCombinerOutputNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:503:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 503 | {&mpglBeginFragmentShader, "ATI_fragment_shader", {"glBeginFragmentShaderATI", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:504:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 504 | {&mpglEndFragmentShader, "ATI_fragment_shader", {"glEndFragmentShaderATI", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:505:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 505 | {&mpglSampleMap, "ATI_fragment_shader", {"glSampleMapATI", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:3831:71: note: in expansion of macro 'MP_NOPTS_VALUE' 3831 | if (correct_pts && mpctx->sh_video->endpts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ libvo/gl_common.c:506:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 506 | {&mpglColorFragmentOp2, "ATI_fragment_shader", {"glColorFragmentOp2ATI", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:507:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 507 | {&mpglColorFragmentOp3, "ATI_fragment_shader", {"glColorFragmentOp3ATI", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:508:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 508 | {&mpglSetFragmentShaderConstant, "ATI_fragment_shader", {"glSetFragmentShaderConstantATI", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:509:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 509 | {&mpglActiveTexture, NULL, {"glActiveTexture", "glActiveTextureARB", NULL}}, | ^ libvo/vo_pnm.c: In function 'config': libvo/vo_pnm.c:258:28: warning: unused parameter 'width' [-Wunused-parameter] 258 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/vo_pnm.c:258:44: warning: unused parameter 'height' [-Wunused-parameter] 258 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~ libvo/vo_pnm.c:258:61: warning: unused parameter 'd_width' [-Wunused-parameter] 258 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~~ libvo/vo_pnm.c:259:33: warning: unused parameter 'd_height' [-Wunused-parameter] 259 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:3832:53: note: in expansion of macro 'MP_NOPTS_VALUE' 3832 | mpctx->sh_video->pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ libvo/gl_common.c:510:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 510 | {&mpglBindTexture, NULL, {"glBindTexture", "glBindTextureARB", "glBindTextureEXT", NULL}}, | ^ libvo/vo_pnm.c:259:52: warning: unused parameter 'flags' [-Wunused-parameter] 259 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~ libvo/vo_pnm.c:259:65: warning: unused parameter 'title' [-Wunused-parameter] 259 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/vo_pnm.c:260:33: warning: unused parameter 'format' [-Wunused-parameter] 260 | uint32_t format) | ~~~~~~~~~^~~~~~ libvo/gl_common.c:511:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 511 | {&mpglMultiTexCoord2f, NULL, {"glMultiTexCoord2f", "glMultiTexCoord2fARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:512:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 512 | {&mpglGenPrograms, "_program", {"glGenProgramsARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:513:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 513 | {&mpglDeletePrograms, "_program", {"glDeleteProgramsARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:514:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 514 | {&mpglBindProgram, "_program", {"glBindProgramARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:3840:51: note: in expansion of macro 'MP_NOPTS_VALUE' 3840 | mpctx->sh_video->endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/gl_common.c:515:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 515 | {&mpglProgramString, "_program", {"glProgramStringARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:516:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 516 | {&mpglGetProgramiv, "_program", {"glGetProgramivARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:517:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 517 | {&mpglProgramEnvParameter4f, "_program", {"glProgramEnvParameter4fARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:518:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 518 | {&mpglSwapInterval, "_swap_control", {"glXSwapIntervalSGI", "glXSwapInterval", "wglSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:519:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 519 | {&mpglTexImage3D, NULL, {"glTexImage3D", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:520:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 520 | {&mpglAllocateMemoryMESA, "GLX_MESA_allocate_memory", {"glXAllocateMemoryMESA", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:521:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 521 | {&mpglFreeMemoryMESA, "GLX_MESA_allocate_memory", {"glXFreeMemoryMESA", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:4021:36: note: in expansion of macro 'MP_NOPTS_VALUE' 4021 | if (seek_to_sec == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_cvidix.o libvo/vo_cvidix.c libvo/gl_common.c: In function 'detach_shader': libvo/gl_common.c:1711:18: warning: comparison of integer expressions of different signedness: 'GLint' {aka 'int'} and 'GLenum' {aka 'unsigned int'} [-Wsign-compare] 1711 | if (cur_type == type) | ^~ mplayer.c: In function 'exit_sighandler': mplayer.c:822:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 822 | mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGILL_RTCpuSel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:826:9: note: here 826 | case SIGFPE: | ^~~~ mplayer.c:828:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 828 | mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGSEGV_SIGFPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:829:9: note: here 829 | default: | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vosub_vidix.o libvo/vosub_vidix.c mplayer.c: In function 'libmpdemux_was_interrupted': mplayer.c:1014:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1014 | run_command(mpctx, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:1015:9: note: here 1015 | case MP_CMD_PLAY_TREE_STEP: | ^~~~ awk -f vidix/pci_db2c.awk vidix/pci.db 1 libvo/gl_common.c: In function 'swapGlBuffers_x11': libvo/gl_common.c:2377:44: warning: unused parameter 'ctx' [-Wunused-parameter] 2377 | static void swapGlBuffers_x11(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'dummy_color': libvo/gl_common.c:2464:44: warning: unused parameter 'r' [-Wunused-parameter] 2464 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c:2464:55: warning: unused parameter 'g' [-Wunused-parameter] 2464 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/vo_cvidix.c: In function 'config': libvo/vo_cvidix.c:91:110: warning: unused parameter 'title' [-Wunused-parameter] 91 | static int config(uint32_t width, uint32_t height, uint32_t d_width,uint32_t d_height, uint32_t flags, char *title, uint32_t format){ | ~~~~~~^~~~~ libvo/vo_cvidix.c: In function 'draw_slice': libvo/vo_cvidix.c:137:32: warning: unused parameter 'src' [-Wunused-parameter] 137 | static int draw_slice(uint8_t *src[], int stride[],int w, int h, int x, int y){ | ~~~~~~~~~^~~~~ libvo/vo_cvidix.c:137:43: warning: unused parameter 'stride' [-Wunused-parameter] 137 | static int draw_slice(uint8_t *src[], int stride[],int w, int h, int x, int y){ | ~~~~^~~~~~~~ libvo/vo_cvidix.c:137:56: warning: unused parameter 'w' [-Wunused-parameter] 137 | static int draw_slice(uint8_t *src[], int stride[],int w, int h, int x, int y){ | ~~~~^ libvo/vo_cvidix.c:137:63: warning: unused parameter 'h' [-Wunused-parameter] 137 | static int draw_slice(uint8_t *src[], int stride[],int w, int h, int x, int y){ | ~~~~^ libvo/vo_cvidix.c:137:70: warning: unused parameter 'x' [-Wunused-parameter] 137 | static int draw_slice(uint8_t *src[], int stride[],int w, int h, int x, int y){ | ~~~~^ libvo/vo_cvidix.c:137:77: warning: unused parameter 'y' [-Wunused-parameter] 137 | static int draw_slice(uint8_t *src[], int stride[],int w, int h, int x, int y){ | ~~~~^ libvo/gl_common.c:2464:66: warning: unused parameter 'b' [-Wunused-parameter] 2464 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c:2464:77: warning: unused parameter 'a' [-Wunused-parameter] 2464 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c: In function 'dummy_texenvi': awk -f vidix/pci_db2c.awk vidix/pci.db 1 libvo/gl_common.c:2467:45: warning: unused parameter 't' [-Wunused-parameter] 2467 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~~^ libvo/gl_common.c:2467:55: warning: unused parameter 'p' [-Wunused-parameter] 2467 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~~^ libvo/gl_common.c:2467:64: warning: unused parameter 'v' [-Wunused-parameter] 2467 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~^ libvo/gl_common.c: In function 'swapGlBuffers_egl': libvo/gl_common.c:2625:44: warning: unused parameter 'ctx' [-Wunused-parameter] 2625 | static void swapGlBuffers_egl(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'setGlWindow_dummy': libvo/gl_common.c:2631:43: warning: unused parameter 'ctx' [-Wunused-parameter] 2631 | static int setGlWindow_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'releaseGlContext_dummy': libvo/gl_common.c:2638:49: warning: unused parameter 'ctx' [-Wunused-parameter] 2638 | static void releaseGlContext_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'swapGlBuffers_dummy': libvo/gl_common.c:2641:46: warning: unused parameter 'ctx' [-Wunused-parameter] 2641 | static void swapGlBuffers_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'mpglcontext_create_window': libvo/gl_common.c:2782:50: warning: passing argument 3 of 'glXChooseVisual' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2782 | vinfo = glXChooseVisual(mDisplay, mScreen, stereo_glx_attribs); | ^~~~~~~~~~~~~~~~~~ In file included from libvo/gl_common.h:41, from libvo/gl_common.c:42: /usr/include/GL/glx.h:183:15: note: expected 'int *' but argument is of type 'const int *' 183 | int *attribList ); | ~~~~~^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_x11.o libvo/vo_x11.c libvo/vo_matrixview.c: In function 'draw_slice': libvo/vo_matrixview.c:172:20: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 172 | sws_scale(sws, src, stride, y, h, map_image, map_stride); | ^~~ | | | uint8_t ** {aka unsigned char **} In file included from libvo/vo_matrixview.c:37: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libvo/vo_matrixview.c:170:57: warning: unused parameter 'w' [-Wunused-parameter] 170 | static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) | ~~~~^ libvo/vo_matrixview.c:170:71: warning: unused parameter 'x' [-Wunused-parameter] 170 | static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) | ~~~~^ libvo/gl_common.c: In function 'glFindFormat': libvo/gl_common.c:309:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 309 | *gl_texfmt = GL_RGBA16; | ^ libvo/gl_common.c:310:5: note: here 310 | case IMGFMT_RGB48NE: | ^~~~ libvo/gl_common.c:333:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 333 | supported = 0; // no native YV12 support | ~~~~~~~~~~^~~ libvo/gl_common.c:334:5: note: here 334 | case IMGFMT_Y800: | ^~~~ libvo/vo_gl.c: In function 'update_yuvconv': libvo/vo_gl.c:287:7: warning: missing initializer for field 'has_alpha_tex' of 'gl_conversion_params_t' [-Wmissing-field-initializers] 287 | stereo_mode == GL_3D_STIPPLE}; | ^~~~~~~~~~~ In file included from libvo/vo_gl.c:40: libvo/gl_common.h:165:7: note: 'has_alpha_tex' declared here 165 | int has_alpha_tex; | ^~~~~~~~~~~~~ libvo/vo_gl_tiled.c: In function 'initTextures': libvo/vo_gl_tiled.c:172:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 172 | while (s= texture_width) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_xover.o libvo/vo_xover.c libvo/vo_gl_tiled.c: In function 'initGl': libvo/vo_gl_tiled.c:544:11: warning: missing initializer for field 'input_shift' of 'struct mp_csp_params' [-Wmissing-field-initializers] 544 | {-1, -1, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0}, | ^ In file included from libvo/gl_common.h:33, from libvo/vo_gl_tiled.c:35: libvo/csputils.h:56:7: note: 'input_shift' declared here 56 | int input_shift; | ^~~~~~~~~~~ libvo/vo_gl_tiled.c:545:11: warning: missing initializer for field 'filter_strength' of 'gl_conversion_params_t' [-Wmissing-field-initializers] 545 | texture_width, texture_height, 0, 0, 0}; | ^~~~~~~~~~~~~ In file included from libvo/vo_gl_tiled.c:35: libvo/gl_common.h:163:9: note: 'filter_strength' declared here 163 | float filter_strength; | ^~~~~~~~~~~~~~~ libvo/vo_gl.c: In function 'draw_osd': libvo/vosub_vidix.c: In function 'vidix_draw_slice': libvo/vo_gl.c:845:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 845 | osd_w = scaled_osd ? image_width : draw_width; | ^~~~~~~~~~ libvo/vosub_vidix.c:256:38: warning: unused parameter 'image' [-Wunused-parameter] 256 | static int vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~~~~~~^~~~~~~ libvo/vosub_vidix.c:256:51: warning: unused parameter 'stride' [-Wunused-parameter] 256 | static int vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^~~~~~~~ libvo/vosub_vidix.c:256:65: warning: unused parameter 'w' [-Wunused-parameter] 256 | static int vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vosub_vidix.c:256:71: warning: unused parameter 'h' [-Wunused-parameter] 256 | static int vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vosub_vidix.c:256:77: warning: unused parameter 'x' [-Wunused-parameter] 256 | static int vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vosub_vidix.c:256:83: warning: unused parameter 'y' [-Wunused-parameter] 256 | static int vidix_draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vo_gl.c:846:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 846 | osd_h = scaled_osd ? image_height : draw_height; | ^~~~~~~~~~~ libvo/vo_gl_tiled.c: In function 'draw_slice': libvo/vo_gl_tiled.c:720:29: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 720 | if (subtex_y + subtex_h > texture_height) | ^ libvo/vo_gl_tiled.c:724:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 724 | if (subtex_x + subtex_w > texture_width) | ^ libvo/vosub_vidix.c: In function 'vidix_init': libvo/vosub_vidix.c:394:43: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 394 | if(((vidix_cap.maxwidth != -1) && (vid_w > vidix_cap.maxwidth)) || | ^ libvo/vosub_vidix.c:395:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 395 | ((vidix_cap.minwidth != -1) && (vid_w < vidix_cap.minwidth)) || | ^ libvo/vosub_vidix.c:396:45: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 396 | ((vidix_cap.maxheight != -1) && (vid_h > vidix_cap.maxheight)) || | ^ libvo/vosub_vidix.c:397:45: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 397 | ((vidix_cap.minwidth != -1 ) && (vid_h < vidix_cap.minheight))) | ^ libvo/vo_gl.c: In function 'draw_image': libvo/vosub_vidix.c: In function 'vidix_get_image': libvo/vo_gl.c:1054:86: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 1054 | int slice = gl_target == GL_TEXTURE_RECTANGLE && gl_format == GL_YCBCR_422_APPLE ? -1 : slice_height; | ^~ libvo/vosub_vidix.c:545:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 545 | if(( (mpi->stride[0]==dstrides.y && (!(mpi->flags&MP_IMGFLAG_PLANAR) || | ^~ libvo/vosub_vidix.c:546:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 546 | (mpi->stride[1]==dstrides.u && mpi->stride[2]==dstrides.v)) ) | ^~ libvo/vosub_vidix.c:546:52: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 546 | (mpi->stride[1]==dstrides.u && mpi->stride[2]==dstrides.v)) ) | ^~ libvo/vo_gl_tiled.c: In function 'initGl': libvo/vo_gl_tiled.c:552:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 552 | glBindTexture(GL_TEXTURE_2D, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl_tiled.c:553:7: note: here 553 | case YUV_CONVERSION_FRAGMENT_POW: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_xv.o libvo/vo_xv.c libvo/vo_vdpau.c: In function 'preemption_callback': libvo/vo_vdpau.c:348:43: warning: unused parameter 'device' [-Wunused-parameter] 348 | static void preemption_callback(VdpDevice device, void *context) | ~~~~~~~~~~^~~~~~ libvo/vo_vdpau.c:348:57: warning: unused parameter 'context' [-Wunused-parameter] 348 | static void preemption_callback(VdpDevice device, void *context) | ~~~~~~^~~~~~~ libvo/vo_vdpau.c: In function 'draw_slice': libvo/vo_vdpau.c:1034:45: warning: unused parameter 'stride' [-Wunused-parameter] 1034 | static int draw_slice(uint8_t *image[], int stride[], int w, int h, | ~~~~^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_xvidix.o libvo/vo_xvidix.c libvo/vo_vdpau.c:1034:59: warning: unused parameter 'w' [-Wunused-parameter] 1034 | static int draw_slice(uint8_t *image[], int stride[], int w, int h, | ~~~~^ libvo/vo_vdpau.c:1034:66: warning: unused parameter 'h' [-Wunused-parameter] 1034 | static int draw_slice(uint8_t *image[], int stride[], int w, int h, | ~~~~^ libvo/vo_vdpau.c:1035:27: warning: unused parameter 'x' [-Wunused-parameter] 1035 | int x, int y) | ~~~~^ libvo/vo_vdpau.c:1035:34: warning: unused parameter 'y' [-Wunused-parameter] 1035 | int x, int y) | ~~~~^ libvo/vo_vdpau.c: In function 'draw_image': libvo/vo_vdpau.c:1097:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1097 | VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; | ^ libvo/vo_vdpau.c: In function 'query_format': libvo/vo_vdpau.c:1168:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1168 | if (force_mixer) | ^ libvo/vo_vdpau.c:1170:5: note: here 1170 | case IMGFMT_YV12: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_xvmc.o libvo/vo_xvmc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c libvo/vo_xover.c: In function 'set_window': libvo/vo_xover.c:113:64: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 113 | drwX = (vo_screenwidth - ((int)dwidth > vo_screenwidth ? vo_screenwidth : dwidth)) / 2; | ^~~~~~~~~~~~~~ libvo/vo_xover.c:115:67: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 115 | drwY = (vo_screenheight - ((int)dheight > vo_screenheight ? vo_screenheight : dheight)) / 2; | ^~~~~~~~~~~~~~~ libvo/vo_xover.c:117:50: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 117 | drwWidth = ((int)dwidth > vo_screenwidth ? vo_screenwidth : dwidth); | ^~~~~~~~~~~~~~ libvo/vo_xover.c:118:53: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 118 | drwHeight = ((int)dheight > vo_screenheight ? vo_screenheight : dheight); | ^~~~~~~~~~~~~~~ libvo/vo_xover.c: In function 'draw_slice': libvo/vo_xover.c:348:32: warning: unused parameter 'src' [-Wunused-parameter] 348 | static int draw_slice(uint8_t *src[], int stride[], | ~~~~~~~~~^~~~~ libvo/vo_xover.c:348:43: warning: unused parameter 'stride' [-Wunused-parameter] 348 | static int draw_slice(uint8_t *src[], int stride[], | ~~~~^~~~~~~~ libvo/vo_xover.c:349:11: warning: unused parameter 'w' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xover.c:349:18: warning: unused parameter 'h' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xover.c:349:25: warning: unused parameter 'x' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xover.c:349:32: warning: unused parameter 'y' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xover.c: In function 'draw_frame': libvo/vo_xover.c:355:32: warning: unused parameter 'src' [-Wunused-parameter] 355 | static int draw_frame(uint8_t *src[]) | ~~~~~~~~~^~~~~ In file included from libvo/vo_xover.c:37: libvo/vo_xover.c: At top level: libvo/video_out_internal.h:49:12: warning: 'query_format' declared 'static' but never defined [-Wunused-function] 49 | static int query_format(uint32_t format); | ^~~~~~~~~~~~ libvo/vo_x11.c: In function 'config': libvo/vo_x11.c:276:61: warning: unused parameter 'd_width' [-Wunused-parameter] 276 | 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] 277 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ libvo/vo_x11.c: In function 'Display_Image': libvo/vo_x11.c:406:56: warning: unused parameter 'ImageData' [-Wunused-parameter] 406 | static void Display_Image(XImage * myximage, uint8_t * ImageData) | ~~~~~~~~~~^~~~~~~~~ libvo/vo_x11.c: In function 'draw_slice': libvo/vo_x11.c:495:27: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 495 | sws_scale(swsContext, src, stride, y, h, dst, dstStride); | ^~~ | | | uint8_t ** {aka unsigned char **} In file included from libvo/vo_x11.c:53: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libvo/vo_x11.c:450:58: warning: unused parameter 'w' [-Wunused-parameter] 450 | 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] 451 | int x, int y) | ~~~~^ libvo/vo_x11.c: In function 'get_image': libvo/vo_x11.c:503:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 503 | (IMGFMT_BGR_DEPTH(mpi->imgfmt) != vo_depthonscreen) || | ^~ libvo/vo_x11.c:507:57: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 507 | || (mpi->flags & MP_IMGFLAG_YUV) || (mpi->width != image_width) | ^~ libvo/vo_x11.c:508:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 508 | || (mpi->height != image_height)) | ^~ libvo/vo_x11.c: In function 'query_format': libvo/vo_x11.c:534:38: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 534 | if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen) | ^~ libvo/vo_xvidix.c: In function 'set_window': libvo/vo_xvidix.c:119:22: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 119 | (dwidth > vo_screenwidth ? vo_screenwidth : dwidth)) / 2; | ^ libvo/vo_xvidix.c:119:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 119 | (dwidth > vo_screenwidth ? vo_screenwidth : dwidth)) / 2; | ^~~~~~~~~~~~~~ libvo/vo_xvidix.c:123:23: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 123 | (dheight > vo_screenheight ? vo_screenheight : dheight)) / 2; | ^ libvo/vo_xvidix.c:123:43: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 123 | (dheight > vo_screenheight ? vo_screenheight : dheight)) / 2; | ^~~~~~~~~~~~~~~ libvo/vo_xvidix.c:125:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 125 | drwWidth = (dwidth > vo_screenwidth ? vo_screenwidth : dwidth); | ^ libvo/vo_xvidix.c:125:47: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 125 | drwWidth = (dwidth > vo_screenwidth ? vo_screenwidth : dwidth); | ^~~~~~~~~~~~~~ libvo/vo_xvidix.c:127:22: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 127 | (dheight > vo_screenheight ? vo_screenheight : dheight); | ^ libvo/vo_xvidix.c:127:42: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 127 | (dheight > vo_screenheight ? vo_screenheight : dheight); | ^~~~~~~~~~~~~~~ libvo/vo_xvidix.c: In function 'draw_slice': libvo/vo_xvidix.c:336:33: warning: unused parameter 'src' [-Wunused-parameter] 336 | static int draw_slice(uint8_t * src[], int stride[], | ~~~~~~~~~~^~~~~ libvo/vo_xvidix.c:336:44: warning: unused parameter 'stride' [-Wunused-parameter] 336 | static int draw_slice(uint8_t * src[], int stride[], | ~~~~^~~~~~~~ libvo/vo_xvidix.c:337:32: warning: unused parameter 'w' [-Wunused-parameter] 337 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xvidix.c:337:39: warning: unused parameter 'h' [-Wunused-parameter] 337 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xvidix.c:337:46: warning: unused parameter 'x' [-Wunused-parameter] 337 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xvidix.c:337:53: warning: unused parameter 'y' [-Wunused-parameter] 337 | int w, int h, int x, int y) | ~~~~^ libvo/vo_yuv4mpeg.c: In function 'config': libvo/vo_yuv4mpeg.c:101:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (image_width == width && image_height == height && | ^~ libvo/vo_yuv4mpeg.c:101:43: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 101 | if (image_width == width && image_height == height && | ^~ libvo/vo_yuv4mpeg.c:95:36: warning: unused parameter 'flags' [-Wunused-parameter] 95 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~ libvo/vo_yuv4mpeg.c:95:49: warning: unused parameter 'title' [-Wunused-parameter] 95 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/vo_xvidix.c: In function 'control': libvo/vo_xvidix.c:398:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 398 | vo_x11_fullscreen(); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_xvidix.c:400:9: note: here 400 | case VOCTRL_SET_PANSCAN: | ^~~~ libvo/vo_yuv4mpeg.c: In function 'preinit': libvo/vo_yuv4mpeg.c:275:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 275 | if (il_bf) | ^~ libvo/vo_yuv4mpeg.c:279:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 279 | switch (config_interlace) | ^~~~~~ In file included from libvo/vo_xv.c:64: libvo/vo_xv.c: In function 'fixup_osd_position': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libvo/vo_xv.c:118:11: note: in expansion of macro 'FFMIN' 118 | *x0 = FFMIN(*x0, image_width - *w); | ^~~~~ ffmpeg/libavutil/common.h:96:39: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libvo/vo_xv.c:118:11: note: in expansion of macro 'FFMIN' 118 | *x0 = FFMIN(*x0, image_width - *w); | ^~~~~ ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libvo/vo_xv.c:119:11: note: in expansion of macro 'FFMIN' 119 | *y0 = FFMIN(*y0, image_height - *h); | ^~~~~ ffmpeg/libavutil/common.h:96:39: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libvo/vo_xv.c:119:11: note: in expansion of macro 'FFMIN' 119 | *y0 = FFMIN(*y0, image_height - *h); | ^~~~~ libvo/vo_xv.c: In function 'config': libvo/vo_xv.c:193:26: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 193 | if (fo[i].id == format) | ^~ libvo/vo_xv.c:150:61: warning: unused parameter 'd_width' [-Wunused-parameter] 150 | 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] 151 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ libvo/vo_xv.c: In function 'query_format': libvo/vo_xv.c:552:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 552 | if (fo[i].id == format) | ^~ libvo/vo_xv.c: In function 'preinit': libvo/vo_xv.c:665:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 665 | if (xv_adaptor != -1 && xv_adaptor != i) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o asxparser.o asxparser.c libvo/vo_xv.c: In function 'draw_slice': libvo/vo_xv.c:398:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 398 | idx_p1 = 2; idx_p2 = 1; | ~~~~~~~^~~ libvo/vo_xv.c:399:5: note: here 399 | case IMGFMT_I420: | ^~~~ libvo/vo_xv.c: In function 'control': libvo/vo_xv.c:730:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 730 | vo_x11_fullscreen(); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:732:9: note: here 732 | case VOCTRL_SET_PANSCAN: | ^~~~ libvo/vo_xv.c: In function 'get_image': libvo/vo_xv.c:499:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 499 | idx_p1 = 2; idx_p2 = 1; | ~~~~~~~^~~ libvo/vo_xv.c:500:9: note: here 500 | case IMGFMT_I420: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o bstr.o bstr.c gcc -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c libvo/vo_xvmc.c:96:12: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations] 96 | struct xvmc_pix_fmt shared; | ^~~~~~~~~~~~ In file included from libvo/vo_xvmc.c:48: ffmpeg/libavcodec/xvmc.h:46:29: note: declared here 46 | struct attribute_deprecated xvmc_pix_fmt { | ^~~~~~~~~~~~ libvo/vo_xvmc.c: In function 'xvmc_find_surface_by_format': libvo/vo_xvmc.c:377:62: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 377 | if ( xv_port_request != 0 && xv_port_request != p ) | ^~ libvo/vo_xvmc.c: In function 'config': libvo/vo_xvmc.c:523:19: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 523 | if( height==image_height && width==image_width && image_format==format){ | ^~ libvo/vo_xvmc.c:523:42: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 523 | if( height==image_height && width==image_width && image_format==format){ | ^~ libvo/vo_xvmc.c:523:71: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 523 | if( height==image_height && width==image_width && image_format==format){ | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o cpudetect.o cpudetect.c libvo/vo_xvmc.c: In function 'draw_slice': libvo/vo_xvmc.c:1148:45: warning: unused parameter 'stride' [-Wunused-parameter] 1148 | static int draw_slice(uint8_t *image[], int stride[], | ~~~~^~~~~~~~ libvo/vo_xvmc.c:1149:32: warning: unused parameter 'w' [-Wunused-parameter] 1149 | int w, int h, int x, int y){ | ~~~~^ libvo/vo_xvmc.c:1149:39: warning: unused parameter 'h' [-Wunused-parameter] 1149 | int w, int h, int x, int y){ | ~~~~^ libvo/vo_xvmc.c:1149:46: warning: unused parameter 'x' [-Wunused-parameter] 1149 | int w, int h, int x, int y){ | ~~~~^ libvo/vo_xvmc.c: In function 'control': libvo/vo_xvmc.c:1344:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1344 | vo_x11_fullscreen(); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_xvmc.c:1346:9: note: here 1346 | case VOCTRL_SET_PANSCAN: | ^~~~ In file included from asxparser.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o edl.o edl.c asxparser.c: In function 'asx_parse_param': asxparser.c:393:68: warning: unused parameter 'pt' [-Wunused-parameter] 393 | asx_parse_param(ASX_Parser_t* parser, char** attribs, play_tree_t* pt) { | ~~~~~~~~~~~~~^~ asxparser.c: In function 'asx_parse_entryref': asxparser.c:448:47: warning: unused parameter 'buffer' [-Wunused-parameter] 448 | asx_parse_entryref(ASX_Parser_t* parser,char* buffer,char** _attribs) { | ~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o fmt-conversion.o fmt-conversion.c asxparser.c: In function 'asx_parse_entry': asxparser.c:485:58: warning: unused parameter '_attribs' [-Wunused-parameter] 485 | asx_parse_entry(ASX_Parser_t* parser,char* buffer,char** _attribs) { | ~~~~~~~^~~~~~~~ cpudetect.c: In function 'GetCpuFriendlyName': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_config.o m_config.c cpudetect.c:399:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 399 | for (i = 0x80000002; i <= 0x80000004; i++) | ^~ cpudetect.c:382:60: warning: unused parameter 'regs2' [-Wunused-parameter] 382 | char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]){ | ~~~~~~~~~~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_option.o m_option.c codec-cfg.c: In function 'main': codec-cfg.c:1158:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 1158 | printf("{ 0x%08lx, %hu, %hu,", | ~~~~^ | | | long unsigned int | %08x 1159 | cod[i][j].guid.f1, | ~~~~~~~~~~~~~~~~~ | | | unsigned int gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_struct.o m_struct.c m_config.c: In function 'set_profile': m_config.c:79:42: warning: unused parameter 'dst' [-Wunused-parameter] 79 | set_profile(const m_option_t *opt, void *dst, const void *src) | ~~~~~~^~~ m_config.c: In function 'list_options': m_config.c:144:48: warning: unused parameter 'name' [-Wunused-parameter] 144 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~ m_config.c:144:60: warning: unused parameter 'param' [-Wunused-parameter] 144 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mp_msg.o mp_msg.c m_config.c: In function 'm_config_add_option': m_config.c:326:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 326 | co->name = arg->name; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mp_strings.o mp_strings.c mp_msg.c: In function 'filename_recode': mp_msg.c:73:29: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 73 | if (iconv(inv_msgiconv, &filename, &filename_len, | ^~~~~~~~~ | | | const char ** In file included from mp_msg.c:29: /usr/include/iconv.h:17:23: note: expected 'char ** restrict' but argument is of type 'const char **' 17 | size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict); | ^ mp_msg.c: In function 'mp_msg_va': mp_msg.c:236:58: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 236 | while (iconv(msgiconv, &in, &inlen, &out, &outlen) == -1) { | ^~ ./version.sh `gcc -dumpversion` m_option.c: In function 'print_double': m_option.c:279:55: warning: unused parameter 'opt' [-Wunused-parameter] 279 | static char* print_double(const m_option_t* av_unused opt, const void* val) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'print_float': m_option.c:306:54: warning: unused parameter 'opt' [-Wunused-parameter] 306 | static char* print_float(const m_option_t* av_unused opt, const void* val) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'parse_position': m_option.c:327:101: warning: unused parameter 'src' [-Wunused-parameter] 327 | static int parse_position(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'print_position': m_option.c:360:47: warning: unused parameter 'opt' [-Wunused-parameter] 360 | static char* print_position(const m_option_t* opt, const void* val) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'parse_str': m_option.c:383:56: warning: unused parameter 'name' [-Wunused-parameter] 383 | static int parse_str(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o parser-cfg.o parser-cfg.c m_option.c:383:96: warning: unused parameter 'src' [-Wunused-parameter] 383 | static int parse_str(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'print_str': m_option.c:410:42: warning: unused parameter 'opt' [-Wunused-parameter] 410 | static char* print_str(const m_option_t* opt, const void* val) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'copy_str': m_option.c:414:40: warning: unused parameter 'opt' [-Wunused-parameter] 414 | static void copy_str(const m_option_t* opt,void* dst, const void* src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'parse_str_list': m_option.c:564:101: warning: unused parameter 'src' [-Wunused-parameter] 564 | static int parse_str_list(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'copy_str_list': m_option.c:651:45: warning: unused parameter 'opt' [-Wunused-parameter] 651 | static void copy_str_list(const m_option_t* opt,void* dst, const void* src) { | ~~~~~~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o path.o path.c m_option.c: In function 'print_str_list': m_option.c:675:47: warning: unused parameter 'opt' [-Wunused-parameter] 675 | static char* print_str_list(const m_option_t* opt, const void* src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'parse_call_func': m_option.c:717:62: warning: unused parameter 'name' [-Wunused-parameter] 717 | static int parse_call_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~ m_option.c:717:93: warning: unused parameter 'dst' [-Wunused-parameter] 717 | static int parse_call_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~^~~ m_option.c:717:102: warning: unused parameter 'src' [-Wunused-parameter] 717 | static int parse_call_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'parse_func_pf': m_option.c:768:44: warning: unused parameter 'opt' [-Wunused-parameter] 768 | static int parse_func_pf(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:768:100: warning: unused parameter 'src' [-Wunused-parameter] 768 | static int parse_func_pf(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'copy_func_pf': m_option.c:789:44: warning: unused parameter 'opt' [-Wunused-parameter] 789 | static void copy_func_pf(const m_option_t* opt,void* dst, const void* src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'set_func_param': m_option.c:815:57: warning: unused parameter 'dst' [-Wunused-parameter] 815 | static void set_func_param(const m_option_t* opt, void* dst, const void* src) { | ~~~~~~^~~ m_option.c: In function 'set_func_full': m_option.c:844:56: warning: unused parameter 'dst' [-Wunused-parameter] 844 | static void set_func_full(const m_option_t* opt, void* dst, const void* src) { | ~~~~~~^~~ m_option.c: In function 'parse_func': m_option.c:874:41: warning: unused parameter 'opt' [-Wunused-parameter] 874 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:874:57: warning: unused parameter 'name' [-Wunused-parameter] 874 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~ m_option.c:874:75: warning: unused parameter 'param' [-Wunused-parameter] 874 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~~ m_option.c:874:97: warning: unused parameter 'src' [-Wunused-parameter] 874 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o playtree.o playtree.c m_option.c: In function 'set_func': m_option.c:880:50: warning: unused parameter 'dst' [-Wunused-parameter] 880 | static void set_func(const m_option_t* opt,void* dst, const void* src) { | ~~~~~~^~~ m_option.c: In function 'parse_print': m_option.c:902:89: warning: unused parameter 'dst' [-Wunused-parameter] 902 | static int parse_print(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~^~~ m_option.c:902:98: warning: unused parameter 'src' [-Wunused-parameter] 902 | static int parse_print(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'parse_subconf': m_option.c:1001:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1001 | if (!p || p[0] != '%' || (optlen > strlen(p) - 1)) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o playtreeparser.o playtreeparser.c m_option.c: In function 'parse_imgfmt': m_option.c:1181:43: warning: unused parameter 'opt' [-Wunused-parameter] 1181 | static int parse_imgfmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1181:99: warning: unused parameter 'src' [-Wunused-parameter] 1181 | static int parse_imgfmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'parse_afmt': m_option.c:1271:41: warning: unused parameter 'opt' [-Wunused-parameter] 1271 | static int parse_afmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1271:97: warning: unused parameter 'src' [-Wunused-parameter] 1271 | static int parse_afmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ In file included from m_option.c:36: m_option.c: In function 'parse_timestring': mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ m_option.c:1332:13: note: in expansion of macro 'MP_NOPTS_VALUE' 1332 | *time = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ m_option.c: In function 'parse_time': m_option.c:1342:41: warning: unused parameter 'opt' [-Wunused-parameter] 1342 | static int parse_time(const m_option_t* opt,const char *name, const char *param, void* dst, int src) | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1342:97: warning: unused parameter 'src' [-Wunused-parameter] 1342 | static int parse_time(const m_option_t* opt,const char *name, const char *param, void* dst, int src) | ~~~~^~~ m_option.c: In function 'parse_time_size': m_option.c:1376:46: warning: unused parameter 'opt' [-Wunused-parameter] 1376 | static int parse_time_size(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1376:102: warning: unused parameter 'src' [-Wunused-parameter] 1376 | static int parse_time_size(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'parse_obj_params': m_option.c:1607:42: warning: unused parameter 'src' [-Wunused-parameter] 1607 | const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'copy_obj_settings_list': m_option.c:1931:54: warning: unused parameter 'opt' [-Wunused-parameter] 1931 | static void copy_obj_settings_list(const m_option_t* opt,void* dst, const void* src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'parse_obj_presets': m_option.c:1975:42: warning: unused parameter 'src' [-Wunused-parameter] 1975 | const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'parse_custom_url': m_option.c:2047:40: warning: unused parameter 'src' [-Wunused-parameter] 2047 | const char *url, void* dst, int src) { | ~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o subopt-helper.o subopt-helper.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af.o libaf/af.c subopt-helper.c: In function 'parse_str': subopt-helper.c:89:46: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 89 | if (!str || str[0] != QUOTE_CHAR || (len > strlen(str) - 1)) | ^ subopt-helper.c: In function 'subopt_parse': subopt-helper.c:164:26: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 164 | delim - &str[parse_pos] : // yes | ^~~~~~~~~~~~~~~~~~~~~~~ subopt-helper.c: In function 'strargcmp': subopt-helper.c:335:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 335 | if (!res && arg->len != strlen(str)) | ^~ subopt-helper.c: In function 'strargcasecmp': subopt-helper.c:343:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 343 | if (!res && arg->len != strlen(str)) | ^~ In file included from playtreeparser.c:40: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ playtreeparser.c: In function 'play_tree_parser_get_line': playtreeparser.c:105:46: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 105 | while(strlen(p->buffer + p->buffer_end - r) != r) | ^~ playtreeparser.c: In function 'parse_smil': playtreeparser.c:557:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 557 | for (i = 0; i < strlen(line); i++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_center.o libaf/af_center.c In file included from ./libmpdemux/stheader.h:22, from ./libmpcodecs/dec_audio.h:23, from libaf/af.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_channels.o libaf/af_channels.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_comp.o libaf/af_comp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_delay.o libaf/af_delay.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_dummy.o libaf/af_dummy.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_equalizer.o libaf/af_equalizer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_extrastereo.o libaf/af_extrastereo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_format.o libaf/af_format.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_gate.o libaf/af_gate.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_hrtf.o libaf/af_hrtf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_karaoke.o libaf/af_karaoke.c libaf/af_karaoke.c: In function 'play': libaf/af_karaoke.c:53:46: warning: unused parameter 'af' [-Wunused-parameter] 53 | static af_data_t* play(struct af_instance_s* af, af_data_t* data) | ~~~~~~~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_pan.o libaf/af_pan.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_resample.o libaf/af_resample.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_scaletempo.o libaf/af_scaletempo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sinesuppress.o libaf/af_sinesuppress.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_stats.o libaf/af_stats.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sub.o libaf/af_sub.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_surround.o libaf/af_surround.c libaf/af_resample.c: In function 'set_types': libaf/af_resample.c:136:8: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 136 | rd = abs((float)af->data->rate - (float)data->rate)/(float)data->rate; | ^~~ libaf/af_resample.c: In function 'control': libaf/af_resample.c:226:14: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 226 | if(s->up != af->data->rate/d || s->dn != n->rate/d){ | ^~ libaf/af_resample.c:226:43: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 226 | if(s->up != af->data->rate/d || s->dn != n->rate/d){ | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sweep.o libaf/af_sweep.c libaf/af_resample.c:253:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 253 | for(i=0;iup;i++){//Rows | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_tools.o libaf/af_tools.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_volnorm.o libaf/af_volnorm.c libvo/gl_common.c: In function 'glSetupYUVConversion': libvo/gl_common.c:1580:7: warning: 'conv_texs' may be used uninitialized in this function [-Wmaybe-uninitialized] 1580 | snprintf(prog_pos, prog_remain, yuv_lookup3d_prog_template, conv_texs[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/gl_common.c:1498:8: note: 'conv_texs' was declared here 1498 | char conv_texs[1]; | ^~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_volume.o libaf/af_volume.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/filter.o libaf/filter.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/format.o libaf/format.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/reorder_ch.o libaf/reorder_ch.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/window.o libaf/window.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad.o libmpcodecs/ad.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.c libaf/reorder_ch.c: In function 'reorder_copy_5ch': libaf/reorder_ch.c:39:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 39 | for (i = 0; i < SAMPLES; i += 5) {\ | ^ libaf/reorder_ch.c:57:9: note: in expansion of macro 'REORDER_COPY_5' 57 | REORDER_COPY_5(dest_8,src_8,samples,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:39:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 39 | for (i = 0; i < SAMPLES; i += 5) {\ | ^ libaf/reorder_ch.c:64:9: note: in expansion of macro 'REORDER_COPY_5' 64 | REORDER_COPY_5(dest_16,src_16,samples,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:71:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 71 | for (i = 0; i < samples * 3; i += 15) { | ^ libaf/reorder_ch.c:39:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 39 | for (i = 0; i < SAMPLES; i += 5) {\ | ^ libaf/reorder_ch.c:94:9: note: in expansion of macro 'REORDER_COPY_5' 94 | REORDER_COPY_5(dest_32,src_32,samples,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:39:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 39 | for (i = 0; i < SAMPLES; i += 5) {\ | ^ libaf/reorder_ch.c:101:9: note: in expansion of macro 'REORDER_COPY_5' 101 | REORDER_COPY_5(dest_64,src_64,samples,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_copy_6ch': libaf/reorder_ch.c:114:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 114 | for (i = 0; i < SAMPLES; i += 6) {\ | ^ libaf/reorder_ch.c:133:9: note: in expansion of macro 'REORDER_COPY_6' 133 | REORDER_COPY_6(dest_8,src_8,samples,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:114:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 114 | for (i = 0; i < SAMPLES; i += 6) {\ | ^ libaf/reorder_ch.c:140:9: note: in expansion of macro 'REORDER_COPY_6' 140 | REORDER_COPY_6(dest_16,src_16,samples,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:147:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 147 | for (i = 0; i < samples * 3; i += 18) { | ^ libaf/reorder_ch.c:114:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 114 | for (i = 0; i < SAMPLES; i += 6) {\ | ^ libaf/reorder_ch.c:173:9: note: in expansion of macro 'REORDER_COPY_6' 173 | REORDER_COPY_6(dest_32,src_32,samples,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:114:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 114 | for (i = 0; i < SAMPLES; i += 6) {\ | ^ libaf/reorder_ch.c:180:9: note: in expansion of macro 'REORDER_COPY_6' 180 | REORDER_COPY_6(dest_64,src_64,samples,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_copy_8ch': libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:215:9: note: in expansion of macro 'REORDER_COPY_8' 215 | REORDER_COPY_8(dest_8,src_8,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:222:9: note: in expansion of macro 'REORDER_COPY_8' 222 | REORDER_COPY_8(dest_16,src_16,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:229:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 229 | for (i = 0; i < samples * 3; i += 24) { | ^ libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:261:9: note: in expansion of macro 'REORDER_COPY_8' 261 | REORDER_COPY_8(dest_32,src_32,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:268:9: note: in expansion of macro 'REORDER_COPY_8' 268 | REORDER_COPY_8(dest_64,src_64,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_2': libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:426:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 426 | REORDER_SELF_SWAP_2(src_8,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:429:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 429 | REORDER_SELF_SWAP_2(src_8,tmp,samples,8,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:432:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 432 | REORDER_SELF_SWAP_2(src_8,tmp,samples,5,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:441:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 441 | REORDER_SELF_SWAP_2(src_16,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:444:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 444 | REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:447:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 447 | REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:450:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 450 | REORDER_SELF_SWAP_2(src_16,tmp,samples,5,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:458:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 458 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:476:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 476 | REORDER_SELF_SWAP_2(src_32,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:479:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 479 | REORDER_SELF_SWAP_2(src_32,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:482:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 482 | REORDER_SELF_SWAP_2(src_32,tmp,samples,4,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:485:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 485 | REORDER_SELF_SWAP_2(src_32,tmp,samples,5,s0,s1); | ^~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:494:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 494 | REORDER_SELF_SWAP_2(src_64,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:497:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 497 | REORDER_SELF_SWAP_2(src_64,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:500:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 500 | REORDER_SELF_SWAP_2(src_64,tmp,samples,4,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:503:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 503 | REORDER_SELF_SWAP_2(src_64,tmp,samples,5,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_3': libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:535:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 535 | REORDER_SELF_SWAP_3(src_8,tmp,samples,6,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:538:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 538 | REORDER_SELF_SWAP_3(src_8,tmp,samples,5,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:547:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 547 | REORDER_SELF_SWAP_3(src_16,tmp,samples,6,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:550:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 550 | REORDER_SELF_SWAP_3(src_16,tmp,samples,5,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:558:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 558 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:579:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 579 | REORDER_SELF_SWAP_3(src_32,tmp,samples,6,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:582:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 582 | REORDER_SELF_SWAP_3(src_32,tmp,samples,5,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.c libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:591:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 591 | REORDER_SELF_SWAP_3(src_64,tmp,samples,6,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:594:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 594 | REORDER_SELF_SWAP_3(src_64,tmp,samples,5,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_4_step_1': libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:627:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 627 | REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,6,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:630:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 630 | REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,8,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:633:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 633 | REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,5,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:642:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 642 | REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,6,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:645:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 645 | REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,8,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:648:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 648 | REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,5,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:656:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 656 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:680:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 680 | REORDER_SELF_SWAP_4_STEP_1(src_32,tmp,samples,6,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:683:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 683 | REORDER_SELF_SWAP_4_STEP_1(src_32,tmp,samples,8,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:686:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 686 | REORDER_SELF_SWAP_4_STEP_1(src_32,tmp,samples,5,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:695:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 695 | REORDER_SELF_SWAP_4_STEP_1(src_64,tmp,samples,6,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:698:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 698 | REORDER_SELF_SWAP_4_STEP_1(src_64,tmp,samples,8,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:701:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 701 | REORDER_SELF_SWAP_4_STEP_1(src_64,tmp,samples,5,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_4_step_2': libaf/reorder_ch.c:734:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 734 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ In file included from libmpcodecs/ad.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_5_step_1': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_hwmpa.c libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:786:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 786 | REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:789:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 789 | REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,8,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:792:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 792 | REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:801:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 801 | REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:804:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 804 | REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,8,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:807:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 807 | REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:815:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 815 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:842:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 842 | REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_alaw.c:24: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:845:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 845 | REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,8,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:848:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 848 | REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:857:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 857 | REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:860:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 860 | REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,8,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:863:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 863 | REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_2_3': libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:897:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 897 | REORDER_SELF_SWAP_2_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:904:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 904 | REORDER_SELF_SWAP_2_3(src_16,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:911:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 911 | for (i = 0; i < samples * 3; i += 18) { | ^ libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:940:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 940 | REORDER_SELF_SWAP_2_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:947:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 947 | REORDER_SELF_SWAP_2_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_3_3': libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 960 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:981:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3' 981 | REORDER_SELF_SWAP_3_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 960 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:988:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3' 988 | REORDER_SELF_SWAP_3_3(src_16,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:995:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 995 | for (i = 0; i < samples * 3; i += 18) { | ^ libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 960 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1027:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3' 1027 | REORDER_SELF_SWAP_3_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 960 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1034:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3' 1034 | REORDER_SELF_SWAP_3_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_2_4': libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1069:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1069 | REORDER_SELF_SWAP_2_4(src_8,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1071:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1071 | REORDER_SELF_SWAP_2_4(src_8,tmp,samples,8,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1080:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1080 | REORDER_SELF_SWAP_2_4(src_16,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1082:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1082 | REORDER_SELF_SWAP_2_4(src_16,tmp,samples,8,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1090:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1090 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1123:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1123 | REORDER_SELF_SWAP_2_4(src_32,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1125:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1125 | REORDER_SELF_SWAP_2_4(src_32,tmp,samples,8,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1134:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1134 | REORDER_SELF_SWAP_2_4(src_64,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1136:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1136 | REORDER_SELF_SWAP_2_4(src_64,tmp,samples,8,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.c libmpcodecs/ad_alaw.c: In function 'uninit': libmpcodecs/ad_alaw.c:58:32: warning: unused parameter 'sh' [-Wunused-parameter] 58 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_alaw.c: In function 'control': libmpcodecs/ad_alaw.c:62:49: warning: unused parameter 'arg' [-Wunused-parameter] 62 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_alaw.c: In function 'decode_audio': libmpcodecs/ad_alaw.c:78:80: warning: unused parameter 'maxlen' [-Wunused-parameter] 78 | static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) | ~~~~^~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_hwmpa.c:30: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_dvdpcm.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_teletext.o libmpcodecs/dec_teletext.c libmpcodecs/ad_hwmpa.c: In function 'decode_audio': libmpcodecs/ad_hwmpa.c:100:63: warning: unused parameter 'minlen' [-Wunused-parameter] 100 | static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) | ~~~~^~~~~~ libmpcodecs/ad_hwmpa.c: In function 'control': libmpcodecs/ad_hwmpa.c:141:49: warning: unused parameter 'arg' [-Wunused-parameter] 141 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_hwmpa.c: In function 'uninit': libmpcodecs/ad_hwmpa.c:165:32: warning: unused parameter 'sh' [-Wunused-parameter] 165 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_pcm.c:24: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ad_dvdpcm.c: In function 'uninit': libmpcodecs/ad_dvdpcm.c:86:32: warning: unused parameter 'sh' [-Wunused-parameter] 86 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_dvdpcm.c: In function 'control': libmpcodecs/ad_dvdpcm.c:90:49: warning: unused parameter 'arg' [-Wunused-parameter] 90 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_dvdpcm.c: In function 'decode_audio': libmpcodecs/ad_dvdpcm.c:104:80: warning: unused parameter 'maxlen' [-Wunused-parameter] 104 | static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) | ~~~~^~~~~~ libmpcodecs/ad_dvdpcm.c: In function 'init': libmpcodecs/ad_dvdpcm.c:61:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 61 | sh->i_bps = sh->channels * sh->samplerate * 5 / 2; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_dvdpcm.c:63:4: note: here 63 | case 2: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_hwac3.c:34: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c libmpcodecs/ad_hwac3.c: In function 'uninit': libmpcodecs/ad_hwac3.c:185:32: warning: unused parameter 'sh' [-Wunused-parameter] 185 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_hwac3.c: In function 'control': libmpcodecs/ad_hwac3.c:189:49: warning: unused parameter 'arg' [-Wunused-parameter] 189 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_hwac3.c: In function 'decode_audio': libmpcodecs/ad_hwac3.c:202:69: warning: unused parameter 'minlen' [-Wunused-parameter] 202 | static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) | ~~~~^~~~~~ libmpcodecs/ad_pcm.c: In function 'uninit': libmpcodecs/ad_pcm.c:128:32: warning: unused parameter 'sh' [-Wunused-parameter] 128 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_pcm.c: In function 'control': libmpcodecs/ad_pcm.c:132:51: warning: unused parameter 'arg' [-Wunused-parameter] 132 | static int control(sh_audio_t *sh, int cmd, void *arg, ...) | ~~~~~~^~~ libmpcodecs/ad_pcm.c: In function 'decode_audio': libmpcodecs/ad_pcm.c:150:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 150 | if (len > maxlen) | ^ libmpcodecs/ad_pcm.c: In function 'init': libmpcodecs/ad_pcm.c:73:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 73 | sh_audio->sample_format = AF_FORMAT_S16_BE; libmpcodecs/ad_pcm.c:75:5: note: here 75 | case 0x74776F73: // 'sowt' | ^~~~ libmpcodecs/ad_hwac3.c: In function 'dts_syncinfo': libmpcodecs/ad_hwac3.c:439:51: warning: unused parameter 'flags' [-Wunused-parameter] 439 | static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate) | ~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/mp_image.o libmpcodecs/mp_image.c In file included from libmpcodecs/dec_audio.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/pullup.o libmpcodecs/pullup.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd.o libmpcodecs/vd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_hmblck.o libmpcodecs/vd_hmblck.c libmpcodecs/pullup.c: In function 'var_y_mmx': libmpcodecs/pullup.c:167:55: warning: unused parameter 'b' [-Wunused-parameter] 167 | static int var_y_mmx(unsigned char *a, unsigned char *b, int s) | ~~~~~~~~~~~~~~~^ In file included from ./mpcommon.h:25, from libmpcodecs/dec_video.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_lzo.o libmpcodecs/vd_lzo.c libmpcodecs/pullup.c: In function 'print_aff_and_breaks': libmpcodecs/pullup.c:625:57: warning: unused parameter 'c' [-Wunused-parameter] 625 | static void print_aff_and_breaks(struct pullup_context *c, struct pullup_field *f) | ~~~~~~~~~~~~~~~~~~~~~~~^ libmpcodecs/dec_teletext.c: In function 'decode_pkt30': libmpcodecs/dec_teletext.c:1187:66: warning: unused parameter 'magAddr' [-Wunused-parameter] 1187 | static int decode_pkt30(priv_vbi_t* priv,unsigned char* data,int magAddr) | ~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mpegpes.c libmpcodecs/dec_teletext.c: In function 'vbi_decode_dvb': libmpcodecs/dec_teletext.c:1575:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1575 | for (i = 0; i < sizeof(data); i++) | ^ libmpcodecs/mp_image.c: In function 'mp_image_setfmt': libmpcodecs/mp_image.c:220:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 220 | mpi->bpp=16; | ~~~~~~~~^~~ libmpcodecs/mp_image.c:221:5: note: here 221 | case IMGFMT_Y800: | ^~~~ libmpcodecs/mp_image.c:231:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 231 | mpi->flags|=MP_IMGFLAG_SWAPPED; libmpcodecs/mp_image.c:232:5: note: here 232 | case IMGFMT_YUY2: | ^~~~ libmpcodecs/mp_image.c:238:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 238 | mpi->flags|=MP_IMGFLAG_SWAPPED; libmpcodecs/mp_image.c:239:5: note: here 239 | case IMGFMT_NV21: | ^~~~ In file included from libmpcodecs/vd.c:32: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_mtga.o libmpcodecs/vd_mtga.c libmpcodecs/dec_video.c: In function 'set_video_colors': libmpcodecs/dec_video.c:109:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 109 | (int *) value) == CONTROL_OK) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_null.o libmpcodecs/vd_null.c libmpcodecs/dec_video.c:108:61: warning: passing argument 3 of 'mpvdec->control' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | if (mpvdec->control(sh_video, VDCTRL_SET_EQUALIZER, item, | ^~~~ libmpcodecs/dec_video.c:108:61: note: expected 'void *' but argument is of type 'const char *' libmpcodecs/dec_video.c: In function 'get_video_colors': libmpcodecs/dec_video.c:134:64: warning: passing argument 3 of 'mpvdec->control' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | return mpvdec->control(sh_video, VDCTRL_GET_EQUALIZER, item, value); | ^~~~ libmpcodecs/dec_video.c:134:64: note: expected 'void *' but argument is of type 'const char *' In file included from libmpcodecs/vf.h:118, from libmpcodecs/dec_video.c:42: libmpcodecs/dec_video.c: In function 'resync_video_stream': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/dec_video.c:157:34: note: in expansion of macro 'MP_NOPTS_VALUE' 157 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/dec_video.c: In function 'init_video': libmpcodecs/dec_video.c:224:66: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 224 | sh_video->bih ? ((unsigned int *) &sh_video->bih->biCompression) : NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/dec_video.c:42: libmpcodecs/dec_video.c: In function 'decode_video': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/dec_video.c:413:31: note: in expansion of macro 'MP_NOPTS_VALUE' 413 | if (correct_pts && pts != MP_NOPTS_VALUE | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/dec_video.c:464:29: note: in expansion of macro 'MP_NOPTS_VALUE' 464 | sh_video->pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/dec_video.c:465:32: note: in expansion of macro 'MP_NOPTS_VALUE' 465 | sh_video->endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_hmblck.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_raw.o libmpcodecs/vd_raw.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_mpegpes.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_sgi.o libmpcodecs/vd_sgi.c In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_lzo.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_null.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_mtga.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vd_hmblck.c: In function 'control': libmpcodecs/vd_hmblck.c:74:32: warning: unused parameter 'sh' [-Wunused-parameter] 74 | static int control(sh_video_t *sh,int cmd, void *arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_hmblck.c:74:39: warning: unused parameter 'cmd' [-Wunused-parameter] 74 | static int control(sh_video_t *sh,int cmd, void *arg,...){ | ~~~~^~~ libmpcodecs/vd_hmblck.c:74:50: warning: unused parameter 'arg' [-Wunused-parameter] 74 | static int control(sh_video_t *sh,int cmd, void *arg,...){ | ~~~~~~^~~ libmpcodecs/vd_hmblck.c: In function 'uninit': libmpcodecs/vd_hmblck.c:99:32: warning: unused parameter 'sh' [-Wunused-parameter] 99 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_hmblck.c: In function 'decode': libmpcodecs/vd_hmblck.c:104:65: warning: unused parameter 'flags' [-Wunused-parameter] 104 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ libmpcodecs/vd_mpegpes.c: In function 'control': libmpcodecs/vd_mpegpes.c:44:32: warning: unused parameter 'sh' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpegpes.c:44:39: warning: unused parameter 'cmd' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_mpegpes.c:44:49: warning: unused parameter 'arg' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ libmpcodecs/vd_mpegpes.c: In function 'uninit': libmpcodecs/vd_mpegpes.c:54:32: warning: unused parameter 'sh' [-Wunused-parameter] 54 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpegpes.c: In function 'decode': libmpcodecs/vd_mpegpes.c:58:65: warning: unused parameter 'flags' [-Wunused-parameter] 58 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ libmpcodecs/vd_null.c: In function 'control': libmpcodecs/vd_null.c:39:32: warning: unused parameter 'sh' [-Wunused-parameter] 39 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_null.c:39:39: warning: unused parameter 'cmd' [-Wunused-parameter] 39 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_lzo.c: In function 'decode': libmpcodecs/vd_null.c:39:49: warning: unused parameter 'arg' [-Wunused-parameter] 39 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ libmpcodecs/vd_lzo.c:98:65: warning: unused parameter 'flags' [-Wunused-parameter] 98 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags) | ~~~~^~~~~ libmpcodecs/vd_null.c: In function 'uninit': libmpcodecs/vd_null.c:50:32: warning: unused parameter 'sh' [-Wunused-parameter] 50 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_null.c: In function 'decode': libmpcodecs/vd_null.c:54:39: warning: unused parameter 'sh' [-Wunused-parameter] 54 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_null.c:54:48: warning: unused parameter 'data' [-Wunused-parameter] 54 | 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] 54 | 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] 54 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ libmpcodecs/vd_mtga.c: In function 'control': libmpcodecs/vd_mtga.c:86:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 86 | if (*((int *) arg) == out_fmt) return CONTROL_TRUE; | ^~ libmpcodecs/vd_mtga.c:81:32: warning: unused parameter 'sh' [-Wunused-parameter] 81 | static int control(sh_video_t *sh, int cmd, void *arg, ...) | ~~~~~~~~~~~~^~ libmpcodecs/vd_mtga.c: In function 'decode': libmpcodecs/vd_mtga.c:229:67: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 229 | if (last_w != info->width || last_h != info->height || last_c != out_fmt) | ^~ libmpcodecs/vd_mtga.c:193:67: warning: unused parameter 'flags' [-Wunused-parameter] 193 | static mp_image_t *decode(sh_video_t *sh, void *raw, int len, int flags) | ~~~~^~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_sgi.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_black.o libmpcodecs/vd_black.c In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_raw.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf.o libmpcodecs/vf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_1bpp.o libmpcodecs/vf_1bpp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_2xsai.o libmpcodecs/vf_2xsai.c libmpcodecs/vd_sgi.c: In function 'control': libmpcodecs/vd_sgi.c:69:21: warning: unused parameter 'sh' [-Wunused-parameter] 69 | control(sh_video_t* sh, int cmd, void *arg, ...) | ~~~~~~~~~~~~^~ libmpcodecs/vd_sgi.c: In function 'decode': libmpcodecs/vd_sgi.c:275:60: warning: unused parameter 'flags' [-Wunused-parameter] 275 | mp_image_t *decode(sh_video_t *sh, void *raw, int len, int flags) | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_blackframe.o libmpcodecs/vf_blackframe.c libmpcodecs/vd_raw.c: In function 'control': libmpcodecs/vd_raw.c:39:28: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 39 | int format = sh->bih ? sh->bih->biCompression : sh->format; | ^~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_raw.c: In function 'init': libmpcodecs/vd_raw.c:66:66: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 66 | return mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,sh->bih ? sh->bih->biCompression : sh->format); | ^~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_raw.c: In function 'uninit': libmpcodecs/vd_raw.c:70:32: warning: unused parameter 'sh' [-Wunused-parameter] 70 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_raw.c: In function 'decode': libmpcodecs/vd_raw.c:79:28: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 79 | int format = sh->bih ? sh->bih->biCompression : sh->format; | ^~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_raw.c:76:65: warning: unused parameter 'flags' [-Wunused-parameter] 76 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_black.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf.c: In function 'vf_get_image': libmpcodecs/vf.c:355:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 355 | if (!mpi) | ^~ libmpcodecs/vf.c:358:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 358 | mpi->type=mp_imgtype; | ^~~ libmpcodecs/vf.c: In function 'vf_config_wrapper': libmpcodecs/vf.c:654:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 654 | || (vf->fmt.orig_fmt != outfmt)) { | ^~ libmpcodecs/vf_1bpp.c: In function 'vf_open': libmpcodecs/vf_1bpp.c:189:45: warning: unused parameter 'args' [-Wunused-parameter] 189 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf.c: In function 'vf_get_image': libmpcodecs/vf.c:327:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 327 | if(!(mp_imgflag&MP_IMGFLAG_READABLE)){ // B frame: | ^ libmpcodecs/vf.c:332:3: note: here 332 | case MP_IMGTYPE_IP: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.c libmpcodecs/vf_2xsai.c: In function 'Super2xSaI_ex': libmpcodecs/vf_2xsai.c:100:64: warning: unused parameter 'sbpp' [-Wunused-parameter] 100 | uint32_t width, uint32_t height, int sbpp) | ~~~~^~~~ libmpcodecs/vf_2xsai.c: In function 'vf_open': libmpcodecs/vf_2xsai.c:320:45: warning: unused parameter 'args' [-Wunused-parameter] 320 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c libmpcodecs/vd_black.c: In function 'control': libmpcodecs/vd_black.c:57:32: warning: unused parameter 'sh' [-Wunused-parameter] 57 | static int control(sh_video_t *sh, int cmd, void *arg, ...) | ~~~~~~~~~~~~^~ libmpcodecs/vd_black.c: In function 'decode': libmpcodecs/vd_black.c:164:49: warning: unused parameter 'data' [-Wunused-parameter] 164 | 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] 164 | 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] 164 | static mp_image_t* decode(sh_video_t *sh, void *data, int len, int flags) | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/vd.h:25, from libmpcodecs/vf_crop.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_detc.o libmpcodecs/vf_detc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dint.o libmpcodecs/vf_dint.c libmpcodecs/vf_crop.c: In function 'vf_open': libmpcodecs/vf_crop.c:157:45: warning: unused parameter 'args' [-Wunused-parameter] 157 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf_crop.c: In function 'config': libmpcodecs/vf_crop.c:62:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 62 | vf->priv->crop_y&=~3; | ~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_crop.c:63:2: note: here 63 | case IMGFMT_411P: | ^~~~ libmpcodecs/vf_crop.c:69:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 69 | vf->priv->crop_y&=~1; | ~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_crop.c:70:2: note: here 70 | default: | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_divtc.o libmpcodecs/vf_divtc.c libmpcodecs/vf_delogo.c: In function 'vf_open': libmpcodecs/vf_delogo.c:324:45: warning: unused parameter 'args' [-Wunused-parameter] 324 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_down3dright.o libmpcodecs/vf_down3dright.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dsize.o libmpcodecs/vf_dsize.c libmpcodecs/vf_detc.c: In function 'analyze_fixed_pattern': libmpcodecs/vf_detc.c:147:67: warning: unused parameter 'new' [-Wunused-parameter] 147 | static int analyze_fixed_pattern(struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) | ~~~~~~~~~~~~^~~ libmpcodecs/vf_detc.c:147:84: warning: unused parameter 'old' [-Wunused-parameter] 147 | static int analyze_fixed_pattern(struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) | ~~~~~~~~~~~~^~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_detc.c:28: libmpcodecs/vf_detc.c: In function 'do_put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_detc.c:313:44: note: in expansion of macro 'MP_NOPTS_VALUE' 313 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_detc.c:313:60: note: in expansion of macro 'MP_NOPTS_VALUE' 313 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_detc.c: In function 'put_image': libmpcodecs/vf_detc.c:316:70: warning: unused parameter 'pts' [-Wunused-parameter] 316 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_detc.c:316:82: warning: unused parameter 'endpts' [-Wunused-parameter] 316 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_dvbscale.c libmpcodecs/vf_detc.c: In function 'analyze_aggressive': libmpcodecs/vf_detc.c:222:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 222 | if (4*m.noise > 5*m.temp) { | ^ libmpcodecs/vf_detc.c:226:9: note: here 226 | case 0: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_eq.o libmpcodecs/vf_eq.c libmpcodecs/vf_down3dright.c: In function 'config': libmpcodecs/vf_down3dright.c:118:52: warning: unused parameter 'outfmt' [-Wunused-parameter] 118 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_eq2.o libmpcodecs/vf_eq2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_expand.o libmpcodecs/vf_expand.c libmpcodecs/vf_divtc.c: In function 'diff_plane': libmpcodecs/vf_divtc.c:111:57: warning: unused parameter 'arg' [-Wunused-parameter] 111 | int w, int h, int os, int ns, int arg) | ~~~~^~~ libmpcodecs/vf_divtc.c: In function 'checksum_plane': libmpcodecs/vf_divtc.c:159:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 159 | for(shift=0, e=p+w; (int)p&(sizeof(wsum_t)-1) && pbuf_w[0] != src->w) || (eq2->buf_h[0] != src->h)) { | ^~ libmpcodecs/vf_eq2.c:250:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 250 | if ((eq2->buf_w[0] != src->w) || (eq2->buf_h[0] != src->h)) { | ^~ In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/vd.h:25, from libmpcodecs/vf_expand.c:31: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_fil.o libmpcodecs/vf_fil.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c libmpcodecs/vf_expand.c: In function 'draw_top_blackbar_slice': libmpcodecs/vf_expand.c:350:25: warning: unused parameter 'src' [-Wunused-parameter] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~~~~~~~~~~~~^~~ libmpcodecs/vf_expand.c:350:35: warning: unused parameter 'stride' [-Wunused-parameter] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~^~~~~~ libmpcodecs/vf_expand.c:350:47: warning: unused parameter 'w' [-Wunused-parameter] 350 | 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] 350 | 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] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ libmpcodecs/vf_expand.c: In function 'draw_bottom_blackbar_slice': libmpcodecs/vf_expand.c:359:25: warning: unused parameter 'src' [-Wunused-parameter] 359 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~~~~~~~~~~~~^~~ libmpcodecs/vf_expand.c:359:35: warning: unused parameter 'stride' [-Wunused-parameter] 359 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~^~~~~~ libmpcodecs/vf_expand.c:359:47: warning: unused parameter 'w' [-Wunused-parameter] 359 | 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] 359 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ libmpcodecs/vf_expand.c: In function 'vf_open': libmpcodecs/vf_expand.c:477:45: warning: unused parameter 'args' [-Wunused-parameter] 477 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_fixpts.o libmpcodecs/vf_fixpts.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_flip.o libmpcodecs/vf_flip.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_format.o libmpcodecs/vf_format.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_framestep.o libmpcodecs/vf_framestep.c In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/vd.h:25, from libmpcodecs/vf_filmdint.c:30: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_fixpts.c:30: libmpcodecs/vf_fixpts.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:46:20: note: in expansion of macro 'MP_NOPTS_VALUE' 46 | if (pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:51:16: note: in expansion of macro 'MP_NOPTS_VALUE' 51 | if (pts != MP_NOPTS_VALUE && p->autostart != 0) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:55:23: note: in expansion of macro 'MP_NOPTS_VALUE' 55 | } else if (pts != MP_NOPTS_VALUE && p->autostep > 0) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:64:15: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_flip.c: In function 'vf_open': libmpcodecs/vf_flip.c:93:45: warning: unused parameter 'args' [-Wunused-parameter] 93 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_gradfun.o libmpcodecs/vf_gradfun.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_halfpack.o libmpcodecs/vf_halfpack.c libmpcodecs/vf_format.c: In function 'config': libmpcodecs/vf_format.c:56:44: warning: unused parameter 'outfmt' [-Wunused-parameter] 56 | unsigned flags, unsigned outfmt){ | ~~~~~~~~~^~~~~~ libmpcodecs/vf_format.c: In function 'vf_open': libmpcodecs/vf_format.c:60:45: warning: unused parameter 'args' [-Wunused-parameter] 60 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_harddup.o libmpcodecs/vf_harddup.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_hue.o libmpcodecs/vf_hue.c libmpcodecs/vf_filmdint.c: In function 'find_breaks': libmpcodecs/vf_filmdint.c:1026:22: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1026 | if (sad_comb_cmp == -2) | ^~ libmpcodecs/vf_filmdint.c:1059:22: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1059 | if (sad_comb_cmp == -1 && s->sad.temp < 64) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_il.o libmpcodecs/vf_il.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_harddup.c:28: libmpcodecs/vf_harddup.c: In function 'control': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_harddup.c:64:47: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | if (put_image(vf, vf->priv->last_mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE)) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_harddup.c:64:63: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | if (put_image(vf, vf->priv->last_mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE)) | ^~~~~~~~~~~~~~ libmpcodecs/vf_harddup.c: In function 'vf_open': libmpcodecs/vf_harddup.c:76:45: warning: unused parameter 'args' [-Wunused-parameter] 76 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_filmdint.c:31: libmpcodecs/vf_filmdint.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_filmdint.c:1334:54: note: in expansion of macro 'MP_NOPTS_VALUE' 1334 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_filmdint.c:1334:70: note: in expansion of macro 'MP_NOPTS_VALUE' 1334 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; | ^~~~~~~~~~~~~~ libmpcodecs/vf_filmdint.c:1139:70: warning: unused parameter 'pts' [-Wunused-parameter] 1139 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_filmdint.c:1139:82: warning: unused parameter 'endpts' [-Wunused-parameter] 1139 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ libmpcodecs/vf_filmdint.c: In function 'config': libmpcodecs/vf_filmdint.c:1385:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1385 | if (!p->w || p->w > width ) p->w = width; | ^ libmpcodecs/vf_filmdint.c:1386:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1386 | if (!p->h || p->h > height) p->h = height; | ^ libmpcodecs/vf_filmdint.c:1387:26: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1387 | if (p->crop_x + p->w > width ) p->crop_x = 0; | ^ libmpcodecs/vf_filmdint.c:1388:26: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1388 | if (p->crop_y + p->h > height) p->crop_y = 0; | ^ libmpcodecs/vf_filmdint.c:1368:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1368 | cym = 3; | ~~~~^~~ libmpcodecs/vf_filmdint.c:1369:11: note: here 1369 | case IMGFMT_411P: | ^~~~ libmpcodecs/vf_filmdint.c:1375:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1375 | cym = 1; | ~~~~^~~ libmpcodecs/vf_filmdint.c:1376:11: note: here 1376 | default: | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ilpack.c libmpcodecs/vf_filmdint.c: In function 'put_image': libmpcodecs/vf_filmdint.c:1208:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1208 | if (p->notout < p->num_fields) | ^ libmpcodecs/vf_filmdint.c:1210:7: note: here 1210 | case 4: | ^~~~ libmpcodecs/vf_filmdint.c:1235:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1235 | if (p->num_fields == 1) { | ^ libmpcodecs/vf_filmdint.c:1247:7: note: here 1247 | default: | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ivtc.o libmpcodecs/vf_ivtc.c libmpcodecs/vf_halfpack.c: In function 'config': libmpcodecs/vf_halfpack.c:195:38: warning: unused parameter 'outfmt' [-Wunused-parameter] 195 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_kerndeint.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_mirror.o libmpcodecs/vf_mirror.c libmpcodecs/vf_hue.c: In function 'vf_open': libmpcodecs/vf_hue.c:166:45: warning: unused parameter 'args' [-Wunused-parameter] 166 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_noformat.o libmpcodecs/vf_noformat.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_noise.o libmpcodecs/vf_noise.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_ivtc.c:29: libmpcodecs/vf_ivtc.c: In function 'do_put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_ivtc.c:455:40: note: in expansion of macro 'MP_NOPTS_VALUE' 455 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_ivtc.c:455:56: note: in expansion of macro 'MP_NOPTS_VALUE' 455 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_ilpack.c: In function 'config': libmpcodecs/vf_ilpack.c:392:44: warning: unused parameter 'outfmt' [-Wunused-parameter] 392 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_ivtc.c: In function 'put_image': libmpcodecs/vf_ivtc.c:458:70: warning: unused parameter 'pts' [-Wunused-parameter] 458 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_ivtc.c:458:82: warning: unused parameter 'endpts' [-Wunused-parameter] 458 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ow.o libmpcodecs/vf_ow.c libmpcodecs/vf_mirror.c: In function 'vf_open': libmpcodecs/vf_mirror.c:116:45: warning: unused parameter 'args' [-Wunused-parameter] 116 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_palette.o libmpcodecs/vf_palette.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c libmpcodecs/vf_noformat.c: In function 'vf_open': libmpcodecs/vf_noformat.c:49:45: warning: unused parameter 'args' [-Wunused-parameter] 49 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_phase.o libmpcodecs/vf_phase.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pullup.o libmpcodecs/vf_pullup.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rectangle.o libmpcodecs/vf_rectangle.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_remove_logo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rgbtest.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rotate.o libmpcodecs/vf_rotate.c libmpcodecs/vf_phase.c: In function 'analyze_plane': libmpcodecs/vf_phase.c:89:36: warning: unused parameter 'verbose' [-Wunused-parameter] 89 | int verbose, int fields) | ~~~~^~~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_phase.c:29: libmpcodecs/vf_phase.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_phase.c:240:39: note: in expansion of macro 'MP_NOPTS_VALUE' 240 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_phase.c:240:55: note: in expansion of macro 'MP_NOPTS_VALUE' 240 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_phase.c:199:70: warning: unused parameter 'pts' [-Wunused-parameter] 199 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_phase.c:199:82: warning: unused parameter 'endpts' [-Wunused-parameter] 199 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_pullup.c:29: libmpcodecs/vf_pullup.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_pullup.c:233:44: note: in expansion of macro 'MP_NOPTS_VALUE' 233 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_pullup.c:233:60: note: in expansion of macro 'MP_NOPTS_VALUE' 233 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_pullup.c:252:39: note: in expansion of macro 'MP_NOPTS_VALUE' 252 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_pullup.c:252:55: note: in expansion of macro 'MP_NOPTS_VALUE' 252 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_pullup.c:107:70: warning: unused parameter 'pts' [-Wunused-parameter] 107 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_pullup.c:107:82: warning: unused parameter 'endpts' [-Wunused-parameter] 107 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_scale.o libmpcodecs/vf_scale.c libmpcodecs/vf_remove_logo.c: In function 'calculate_bounding_rectangle': libmpcodecs/vf_remove_logo.c:204:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 204 | for (start_x = 0; start_x < filter->width && !did_we_find_a_logo_pixel; start_x++) | ^ libmpcodecs/vf_remove_logo.c:206:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 206 | for (y = 0; y < filter->height; y++) | ^ libmpcodecs/vf_remove_logo.c:217:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (y = 0; y < filter->height; y++) | ^ libmpcodecs/vf_remove_logo.c:226:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 226 | for (start_y = 0; start_y < filter->height && !did_we_find_a_logo_pixel; start_y++) | ^ libmpcodecs/vf_remove_logo.c:228:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 228 | for (x = 0; x < filter->width; x++) | ^ libmpcodecs/vf_remove_logo.c:239:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 239 | for (x = 0; x < filter->width; x++) | ^ libmpcodecs/vf_remove_logo.c: In function 'convert_mask_to_strength_mask': libmpcodecs/vf_remove_logo.c:359:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | for (x = 0; x < mask->height * mask->width; x++, current_pixel++) | ^ libmpcodecs/vf_remove_logo.c:373:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 373 | for (y = 1; y < mask->height - 1; y++) | ^ libmpcodecs/vf_pp7.c:209:18: warning: 'thres' defined but not used [-Wunused-const-variable=] 209 | static const int thres[16]={ | ^~~~~ libmpcodecs/vf_remove_logo.c:375:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 375 | for (x = 1; x < mask->width - 1; x++) | ^ libmpcodecs/vf_remove_logo.c:396:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 396 | for (y = 1; y < mask->height - 1; y++) | ^ libmpcodecs/vf_remove_logo.c:398:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 398 | for (x = 1; x < mask->width - 1; x++) | ^ libmpcodecs/vf_remove_logo.c: In function 'generate_half_size_image': libmpcodecs/vf_remove_logo.c:616:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 616 | for (y = 0; y < new_pgm->height; y++) | ^ libmpcodecs/vf_remove_logo.c:617:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 617 | for (x = 0; x < new_pgm->width; x++) | ^ libmpcodecs/vf_remove_logo.c:632:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 632 | for (x = 0; x < new_pgm->height * new_pgm->width; x++, current_pixel++) | ^ libmpcodecs/vf_remove_logo.c:646:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 646 | for (y = 1; y < new_pgm->height - 1; y++) | ^ libmpcodecs/vf_remove_logo.c:648:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | for (x = 1; x < new_pgm->width - 1; x++) | ^ libmpcodecs/vf_remove_logo.c:664:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 664 | for (y = 1; y < new_pgm->height - 1; y++) | ^ libmpcodecs/vf_remove_logo.c:666:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 666 | for (x = 1; x < new_pgm->width - 1; x++) | ^ libmpcodecs/vf_remove_logo.c: In function 'config': libmpcodecs/vf_remove_logo.c:696:126: warning: unused parameter 'outfmt' [-Wunused-parameter] 696 | static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_remove_logo.c: In function 'put_image': libmpcodecs/vf_remove_logo.c:785:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 785 | if (vf->priv->filter->width != mpi->w || vf->priv->filter->height != mpi->h) | ^~ libmpcodecs/vf_remove_logo.c:785:71: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 785 | if (vf->priv->filter->width != mpi->w || vf->priv->filter->height != mpi->h) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/vd.h:25, from libmpcodecs/vf_scale.c:30: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_scale.c: At top level: libmpcodecs/vf_scale.c:60:1: warning: missing initializer for field 'interlaced' of 'const struct vf_priv_s' [-Wmissing-field-initializers] 60 | }; | ^ libmpcodecs/vf_scale.c:49:9: note: 'interlaced' declared here 49 | int interlaced; | ^~~~~~~~~~ libmpcodecs/vf_scale.c: In function 'scale': libmpcodecs/vf_scale.c:440:25: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 440 | sws_scale(sws1, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2); | ^~~~ | | | uint8_t ** {aka unsigned char **} In file included from libmpcodecs/vf_scale.c:35: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libmpcodecs/vf_scale.c:445:25: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 445 | sws_scale(sws2, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2); | ^~~~ | | | uint8_t ** {aka unsigned char **} In file included from libmpcodecs/vf_scale.c:35: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libmpcodecs/vf_scale.c:447:25: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 447 | sws_scale(sws1, src2, src_stride, y, h, dst, dst_stride); | ^~~~ | | | uint8_t ** {aka unsigned char **} In file included from libmpcodecs/vf_scale.c:35: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libmpcodecs/vf_scale.c: In function 'draw_slice': libmpcodecs/vf_scale.c:452:47: warning: unused parameter 'w' [-Wunused-parameter] 452 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ libmpcodecs/vf_scale.c:452:60: warning: unused parameter 'x' [-Wunused-parameter] 452 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ libmpcodecs/vf_scale.c: In function 'vf_open': libmpcodecs/vf_scale.c:574:45: warning: unused parameter 'args' [-Wunused-parameter] 574 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf_scale.c: At top level: libmpcodecs/vf_scale.c:710:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 710 | {"presize", 0, CONF_TYPE_OBJ_PRESETS, 0, 0, 0, &size_preset}, | ^ libmpcodecs/vf_scale.c: In function 'config': libmpcodecs/vf_scale.c:313:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 313 | vf->priv->h = (vf->priv->h + 1) & ~1; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_scale.c:314:5: note: here 314 | case IMGFMT_YUY2: /* YUY2 needs w rounded to 2 */ | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_telecine.o libmpcodecs/vf_telecine.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_softpulldown.c:28: libmpcodecs/vf_softpulldown.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:64:42: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:64:58: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:100:43: note: in expansion of macro 'MP_NOPTS_VALUE' 100 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:100:59: note: in expansion of macro 'MP_NOPTS_VALUE' 100 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:103:47: note: in expansion of macro 'MP_NOPTS_VALUE' 103 | ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:103:63: note: in expansion of macro 'MP_NOPTS_VALUE' 103 | ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_softpulldown.c:38:70: warning: unused parameter 'pts' [-Wunused-parameter] 38 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_softpulldown.c:38:82: warning: unused parameter 'endpts' [-Wunused-parameter] 38 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ libmpcodecs/vf_softpulldown.c: In function 'vf_open': libmpcodecs/vf_softpulldown.c:145:45: warning: unused parameter 'args' [-Wunused-parameter] 145 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ libmpcodecs/vf_softskip.c: In function 'vf_open': libmpcodecs/vf_softskip.c:86:45: warning: unused parameter 'args' [-Wunused-parameter] 86 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c libmpcodecs/vf_swapuv.c: In function 'vf_open': libmpcodecs/vf_swapuv.c:90:45: warning: unused parameter 'args' [-Wunused-parameter] 90 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_tile.o libmpcodecs/vf_tile.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_tinterlace.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_telecine.c:28: libmpcodecs/vf_telecine.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:66:43: note: in expansion of macro 'MP_NOPTS_VALUE' 66 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:66:59: note: in expansion of macro 'MP_NOPTS_VALUE' 66 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:80:44: note: in expansion of macro 'MP_NOPTS_VALUE' 80 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:80:60: note: in expansion of macro 'MP_NOPTS_VALUE' 80 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:95:43: note: in expansion of macro 'MP_NOPTS_VALUE' 95 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:95:59: note: in expansion of macro 'MP_NOPTS_VALUE' 95 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/vd.h:25, from libmpcodecs/vf_stereo3d.c:32: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/vf_telecine.c:36:70: warning: unused parameter 'pts' [-Wunused-parameter] 36 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_telecine.c:36:82: warning: unused parameter 'endpts' [-Wunused-parameter] 36 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c libmpcodecs/vf_test.c: In function 'config': libmpcodecs/vf_test.c:52:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 52 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c libmpcodecs/vf_test.c: In function 'put_image': libmpcodecs/vf_test.c:272:58: warning: unused parameter 'mpi' [-Wunused-parameter] 272 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts){ | ~~~~~~~~~~~~^~~ libmpcodecs/vf_test.c: In function 'query_format': libmpcodecs/vf_test.c:310:62: warning: unused parameter 'fmt' [-Wunused-parameter] 310 | static int query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~^~~ libmpcodecs/vf_stereo3d.c: At top level: libmpcodecs/vf_stereo3d.c:138:3: warning: missing initializer for field 'width' of 'component' [-Wmissing-field-initializers] 138 | {SIDE_BY_SIDE_LR}, | ^ libmpcodecs/vf_stereo3d.c:70:18: note: 'width' declared here 70 | unsigned int width; | ^~~~~ libmpcodecs/vf_stereo3d.c:139:3: warning: missing initializer for field 'width' of 'component' [-Wmissing-field-initializers] 139 | {ANAGLYPH_RC_DUBOIS} | ^ libmpcodecs/vf_stereo3d.c:70:18: note: 'width' declared here 70 | unsigned int width; | ^~~~~ libmpcodecs/vf_stereo3d.c:140:1: warning: missing initializer for field 'ana_matrix' of 'const struct vf_priv_s' [-Wmissing-field-initializers] 140 | }; | ^ libmpcodecs/vf_stereo3d.c:133:9: note: 'ana_matrix' declared here 133 | int ana_matrix[3][6]; | ^~~~~~~~~~ libmpcodecs/vf_stereo3d.c: In function 'put_image': libmpcodecs/vf_stereo3d.c:362:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 362 | for (y = 0; y < vf->priv->out.height; y++) { | ^ libmpcodecs/vf_stereo3d.c:366:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 366 | for (x = 0; x < out_width; x++) { | ^ libmpcodecs/vf_stereo3d.c: In function 'vf_open': libmpcodecs/vf_stereo3d.c:403:45: warning: unused parameter 'args' [-Wunused-parameter] 403 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ libmpcodecs/vf_tile.c: In function 'config': libmpcodecs/vf_tile.c:88:46: warning: unused parameter 'd_width' [-Wunused-parameter] 88 | int width, int height, int d_width, int d_height, | ~~~~^~~~~~~ libmpcodecs/vf_tile.c:88:59: warning: unused parameter 'd_height' [-Wunused-parameter] 88 | int width, int height, int d_width, int d_height, | ~~~~^~~~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_tile.c:63: libmpcodecs/vf_tile.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tile.c:187:44: note: in expansion of macro 'MP_NOPTS_VALUE' 187 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tile.c:187:60: note: in expansion of macro 'MP_NOPTS_VALUE' 187 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_tile.c:110:70: warning: unused parameter 'pts' [-Wunused-parameter] 110 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_tile.c:110:82: warning: unused parameter 'endpts' [-Wunused-parameter] 110 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ libmpcodecs/vf_stereo3d.c: In function 'config': libmpcodecs/vf_stereo3d.c:174:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 174 | d_width *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:175:5: note: here 175 | case SIDE_BY_SIDE_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:180:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 180 | d_width *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:181:5: note: here 181 | case SIDE_BY_SIDE_RL: | ^~~~ libmpcodecs/vf_stereo3d.c:186:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 186 | d_height *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:187:5: note: here 187 | case ABOVE_BELOW_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:192:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 192 | d_height *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:193:5: note: here 193 | case ABOVE_BELOW_RL: | ^~~~ libmpcodecs/vf_stereo3d.c:229:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | d_width /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:230:5: note: here 230 | case SIDE_BY_SIDE_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:235:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 235 | d_width /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:236:5: note: here 236 | case SIDE_BY_SIDE_RL: | ^~~~ libmpcodecs/vf_stereo3d.c:241:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 241 | d_height /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:242:5: note: here 242 | case ABOVE_BELOW_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:247:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 247 | d_height /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:248:5: note: here 248 | case ABOVE_BELOW_RL: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_tinterlace.c:30: libmpcodecs/vf_tinterlace.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:79:47: note: in expansion of macro 'MP_NOPTS_VALUE' 79 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:79:63: note: in expansion of macro 'MP_NOPTS_VALUE' 79 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:84:46: note: in expansion of macro 'MP_NOPTS_VALUE' 84 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:84:62: note: in expansion of macro 'MP_NOPTS_VALUE' 84 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:88:46: note: in expansion of macro 'MP_NOPTS_VALUE' 88 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:88:62: note: in expansion of macro 'MP_NOPTS_VALUE' 88 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:119:43: note: in expansion of macro 'MP_NOPTS_VALUE' 119 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:119:59: note: in expansion of macro 'MP_NOPTS_VALUE' 119 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:169:47: note: in expansion of macro 'MP_NOPTS_VALUE' 169 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:169:63: note: in expansion of macro 'MP_NOPTS_VALUE' 169 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_tinterlace.c:40:70: warning: unused parameter 'pts' [-Wunused-parameter] 40 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_tinterlace.c:40:82: warning: unused parameter 'endpts' [-Wunused-parameter] 40 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ In file included from libmpcodecs/vf_tfields.c:31: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_tfields.c: In function 'put_image': libmpcodecs/vf_tfields.c:331:82: warning: unused parameter 'endpts' [-Wunused-parameter] 331 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ In file included from libmpcodecs/vf_tfields.c:31: libmpcodecs/vf_tfields.c: In function 'continue_buffered_image': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tfields.c:395:57: note: in expansion of macro 'MP_NOPTS_VALUE' 395 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from libmpcodecs/vf_vo.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tfields.c:425:57: note: in expansion of macro 'MP_NOPTS_VALUE' 425 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tfields.c:451:57: note: in expansion of macro 'MP_NOPTS_VALUE' 451 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_tfields.c: In function 'query_format': libmpcodecs/vf_tfields.c:468:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 468 | if (vf->priv->mode == 1) | ^ libmpcodecs/vf_tfields.c:470:2: note: here 470 | case IMGFMT_YV12: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c In file included from libmpcodecs/vf_yadif.c:34: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c libmpcodecs/vf_yuvcsp.c: In function 'query_format': libmpcodecs/vf_yuvcsp.c:90:45: warning: unused parameter 'vf' [-Wunused-parameter] 90 | static int query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/vf_yuvcsp.c: In function 'vf_open': libmpcodecs/vf_yuvcsp.c:100:45: warning: unused parameter 'args' [-Wunused-parameter] 100 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c libmpcodecs/vf_yvu9.c: In function 'config': libmpcodecs/vf_yvu9.c:38:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 38 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_yvu9.c: In function 'vf_open': libmpcodecs/vf_yvu9.c:89:45: warning: unused parameter 'args' [-Wunused-parameter] 89 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf_yadif.c: In function 'continue_buffered_image': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_yadif.c:446:59: note: in expansion of macro 'MP_NOPTS_VALUE' 446 | ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_audio.o libmpdemux/demux_audio.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c In file included from libmpdemux/aviheader.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_demuxers.o libmpdemux/demux_demuxers.c In file included from libmpdemux/demux_aac.c:28: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviprint.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_film.o libmpdemux/demux_film.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_fli.o libmpdemux/demux_fli.c In file included from ./mpcommon.h:25, from libmpdemux/demuxer.c:34: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_lmlm4.o libmpdemux/demux_lmlm4.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/asfheader.c:32: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mf.o libmpdemux/demux_mf.c libmpdemux/asfheader.c: In function 'get_ext_stream_properties': libmpdemux/asfheader.c:143:12: warning: variable 'avg_ft' set but not used [-Wunused-but-set-variable] 143 | uint64_t avg_ft; | ^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c libmpdemux/aviheader.c: In function 'read_avi_header': libmpdemux/aviheader.c:277:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 277 | if (sh_video->bih->biSize > chunksize && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ libmpdemux/aviheader.c:277:65: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 277 | if (sh_video->bih->biSize > chunksize && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mov.o libmpdemux/demux_mov.c libmpdemux/asfheader.c: In function 'asf_init_audio_stream': libmpdemux/asfheader.c:356:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 356 | if (pos > hdr_len) return 0; | ^ libmpdemux/asfheader.c:343:45: warning: unused parameter 'demuxer' [-Wunused-parameter] 343 | static int asf_init_audio_stream(demuxer_t *demuxer,struct asf_priv* asf, sh_audio_t* sh_audio, ASF_stream_header_t *streamh, int *ppos, uint8_t** buf, char *hdr, unsigned int hdr_len) | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_aac.c: In function 'demux_aac_fill_buffer': libmpdemux/demux_aac.c:139:70: warning: unused parameter 'ds' [-Wunused-parameter] 139 | static int demux_aac_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/asfheader.c: In function 'read_asf_header': libmpdemux/demux_aac.c: In function 'demux_aac_seek': libmpdemux/asfheader.c:499:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 499 | if (sh_video->bih->biSize > len && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ libmpdemux/demux_aac.c:205:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] 205 | static void demux_aac_seek(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/asfheader.c:499:59: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 499 | if (sh_video->bih->biSize > len && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ libmpdemux/aviheader.c:497:13: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 497 | for (j=0; jnEntriesInUse; j++) { | ^ libmpdemux/aviprint.c: In function 'print_video_header': libmpdemux/aviprint.c:119:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 119 | if (h->biSize > sizeof(*h)) | ^ libmpdemux/aviprint.c:124:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 124 | for (i = 0; i < h->biSize-sizeof(*h); i++) | ^ libmpdemux/aviheader.c:517:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 517 | for (k=0;kstdidx[j].nEntriesInUse; k++) | ^ libmpdemux/aviprint.c: In function 'print_vprp': libmpdemux/aviprint.c:142:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 142 | for (i=0; inbFieldPerFrame; i++) { | ^ libmpdemux/aviheader.c:595:12: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 595 | for (j=0;jnEntriesInUse;j++) | ^ In file included from libmpdemux/asfheader.h:23, from libmpdemux/demux_asf.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/aviheader.c:627:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 627 | for (i=0; iidx_size;i++) { | ^ libmpdemux/aviheader.c:737:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 737 | for (i=0; iidx_size; i++) { | ^ libmpdemux/aviheader.c:687:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 687 | case 3: c=stream_read_dword(demuxer->stream)<<5; //skip 32+5 bits for m$mpeg4v1 | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/aviheader.c:688:10: note: here 688 | case 1: if(c&0x40000000) idx->dwFlags&=~AVIIF_KEYFRAME;break; // divx 3 | ^~~~ libmpdemux/demuxer.c: In function 'alloc_demuxer': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:241:21: note: in expansion of macro 'MP_NOPTS_VALUE' 241 | d->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:242:26: note: in expansion of macro 'MP_NOPTS_VALUE' 242 | d->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'asf_descrambling': libmpdemux/demux_asf.c:78:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 78 | for(x=0;xscrambling_w;x++) | ^ libmpdemux/demux_asf.c:79:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 79 | for(y=0;yscrambling_h;y++){ | ^ libmpdemux/demuxer.c: In function 'new_sh_audio_aid': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:348:19: note: in expansion of macro 'MP_NOPTS_VALUE' 348 | sh->pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'demux_asf_read_packet': libmpdemux/demux_asf.c:111:123: warning: unused parameter 'dur' [-Wunused-parameter] 111 | static int demux_asf_read_packet(demuxer_t *demux,unsigned char *data,int len,int id,int seq,uint64_t time,unsigned short dur,int offs,int keyframe){ | ~~~~~~~~~~~~~~~^~~ In file included from libmpdemux/demux_fli.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'get_payload_extension_data': libmpdemux/demux_asf.c:330:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 330 | if (payload_time != -1) | ^~ In file included from libmpdemux/demux_avi.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.c: In function 'ds_fill_buffer': libmpdemux/demux_asf.c: In function 'demux_asf_fill_buffer': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:702:27: note: in expansion of macro 'MP_NOPTS_VALUE' 702 | if (p->pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c:374:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 374 | for(i=0;ipacketsize);i++) printf(" %02X",asf->packet[i]); | ^ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_mov.c:54: ./loader/qtx/qtxsdk/components.h: In function 'dump_ImageDescription': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:707:34: note: in expansion of macro 'MP_NOPTS_VALUE' 707 | if (p->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./loader/qtx/qtxsdk/components.h:660:18: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 660 | if(id->idSize>sizeof(ImageDescription)){ | ^ ./loader/qtx/qtxsdk/components.h: In function 'dump_CodecDecompressParams': ./loader/qtx/qtxsdk/components.h:716:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 716 | for(i=0;iwantedDestinationPixelTypes; | ^~ libmpdemux/demuxer.c: In function 'ds_get_packet_pts_endpts': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:896:12: note: in expansion of macro 'MP_NOPTS_VALUE' 896 | *pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:897:15: note: in expansion of macro 'MP_NOPTS_VALUE' 897 | *endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c:470:24: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 470 | if (rlen < 0 || rlen > p_end - p) { | ^ libmpdemux/demuxer.c: In function 'ds_get_packet_sub': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:920:22: note: in expansion of macro 'MP_NOPTS_VALUE' 920 | double max_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:926:19: note: in expansion of macro 'MP_NOPTS_VALUE' 926 | *pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:929:19: note: in expansion of macro 'MP_NOPTS_VALUE' 929 | *endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_lmlm4.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:943:25: note: in expansion of macro 'MP_NOPTS_VALUE' 943 | if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ In file included from libmpdemux/asf.h:24, from libmpdemux/demux_asf.c:32: ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/demux_asf.c:519:26: note: in expansion of macro 'FFMIN' 519 | len2 = FFMIN(len2, asf->packetsize); | ^~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:943:54: note: in expansion of macro 'MP_NOPTS_VALUE' 943 | if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ffmpeg/libavutil/common.h:96:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/demux_asf.c:519:26: note: in expansion of macro 'FFMIN' 519 | len2 = FFMIN(len2, asf->packetsize); | ^~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.c: In function 'ds_get_next_pts': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:965:20: note: in expansion of macro 'MP_NOPTS_VALUE' 965 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/demux_asf.c:534:27: note: in expansion of macro 'FFMIN' 534 | len = FFMIN(len, asf->packetsize); | ^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:972:20: note: in expansion of macro 'MP_NOPTS_VALUE' 972 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ffmpeg/libavutil/common.h:96:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/demux_asf.c:534:27: note: in expansion of macro 'FFMIN' 534 | len = FFMIN(len, asf->packetsize); | ^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:975:20: note: in expansion of macro 'MP_NOPTS_VALUE' 975 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c:342:68: warning: unused parameter 'ds' [-Wunused-parameter] 342 | static int demux_asf_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_asf.c: In function 'demux_seek_asf': libmpdemux/demux_asf.c:548:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] 548 | static void demux_seek_asf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ In file included from libmpdemux/demux_demuxers.c:26: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_audio.c:26: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.c: In function 'demux_seek': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:1405:36: note: in expansion of macro 'MP_NOPTS_VALUE' 1405 | if (demuxer->stream_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/demuxer.c: In function 'demuxer_get_current_time': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:1544:32: note: in expansion of macro 'MP_NOPTS_VALUE' 1544 | if (demuxer->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:1546:43: note: in expansion of macro 'MP_NOPTS_VALUE' 1546 | else if (sh_video && sh_video->pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:1548:43: note: in expansion of macro 'MP_NOPTS_VALUE' 1548 | else if (sh_audio && sh_audio->pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/demux_fli.c: In function 'demux_seek_fli': libmpdemux/demux_fli.c:41:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] 41 | static void demux_seek_fli(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_fli.c: In function 'demux_fli_fill_buffer': libmpdemux/demux_fli.c:60:70: warning: unused parameter 'ds' [-Wunused-parameter] 60 | static int demux_fli_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ In file included from libmpdemux/demux_film.c:37: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_lmlm4.c: In function 'demux_lmlm4_fill_buffer': libmpdemux/demux_lmlm4.c:225:70: warning: unused parameter 'ds' [-Wunused-parameter] 225 | static int demux_lmlm4_fill_buffer(demuxer_t *demux, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_lmlm4.c: In function 'demux_close_lmlm4': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_lmlm4.c:355:42: warning: unused parameter 'demuxer' [-Wunused-parameter] 355 | static void demux_close_lmlm4(demuxer_t *demuxer) | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_lmlm4.c: In function 'demux_lmlm4_fill_buffer': libmpdemux/demux_lmlm4.c:263:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 263 | if (!video) { | ^ libmpdemux/demux_lmlm4.c:268:5: note: here 268 | case FRAMETYPE_P: | ^~~~ In file included from libmpdemux/demux_mf.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_audio.c: In function 'demux_audio_open': libmpdemux/demux_audio.c:548:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 548 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ libmpdemux/demux_audio.c:548:48: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 548 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ In file included from libmpdemux/demux_mov.c:61: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mpg.o libmpdemux/demux_mpg.c In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_audio.c:26: libmpdemux/demux_audio.c: In function 'demux_audio_fill_buffer': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_audio.c:750:22: note: in expansion of macro 'MP_NOPTS_VALUE' 750 | priv->next_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_avi.c: In function 'demux_avi_fill_buffer': libmpdemux/demux_avi.c:232:68: warning: unused parameter 'dsds' [-Wunused-parameter] 232 | static int demux_avi_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ | ~~~~~~~~~~~~~~~~^~~~ In file included from libmpdemux/demux_mkv.c:32: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_audio.c: In function 'demux_audio_seek': libmpdemux/demux_audio.c:784:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] 784 | static void demux_audio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_audio.c:26: libmpdemux/demux_audio.c: In function 'demux_audio_control': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_audio.c:851:45: note: in expansion of macro 'MP_NOPTS_VALUE' 851 | if (audio_length<=0 || priv->next_pts==MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/demux_avi.c: In function 'demux_open_avi': libmpdemux/demux_avi.c:481:38: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] 481 | if((AVI_IDX_OFFSET(priv->idx + 0)movi_start || | ^ libmpdemux/demux_avi.c:482:38: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] 482 | AVI_IDX_OFFSET(priv->idx + 1)movi_start )&& !priv->isodml) | ^ libmpdemux/demux_avi.c:519:24: warning: absolute value function 'abs' given an argument of type 'off_t' {aka 'long int'} but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 519 | if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB | ^~~ libmpdemux/demux_mf.c: In function 'demux_seek_mf': libmpdemux/demux_mf.c:37:72: warning: unused parameter 'audio_delay' [-Wunused-parameter] 37 | static void demux_seek_mf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mf.c: In function 'demux_mf_fill_buffer': libmpdemux/demux_mf.c:66:44: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] 66 | if ( fread( dp->buffer,1,fs.st_size,f ) != fs.st_size ) { | ^~ libmpdemux/demux_mf.c:52:69: warning: unused parameter 'ds' [-Wunused-parameter] 52 | static int demux_mf_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_film.c: In function 'demux_seek_film': libmpdemux/demux_film.c:64:76: warning: unused parameter 'audio_delay' [-Wunused-parameter] 64 | static void demux_seek_film(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_film.c: In function 'demux_film_fill_buffer': libmpdemux/demux_film.c:159:31: warning: initialization of 'short unsigned int *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] 159 | unsigned short* tmp = dp->buffer; | ^~ libmpdemux/demux_film.c:101:71: warning: unused parameter 'ds' [-Wunused-parameter] 101 | static int demux_film_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_nsv.o libmpdemux/demux_nsv.c In file included from libmpdemux/aviheader.h:25, from libmpdemux/stheader.h:23, from libmpdemux/demux_mov.c:62: libmpdemux/demux_mov.c: In function 'mov_build_index': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/demux_mov.c:200:7: note: in expansion of macro 'FFMIN' 200 | last=FFMIN(trak->chunkmap[i].first, trak->chunks_size); | ^~~~~ ffmpeg/libavutil/common.h:96:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/demux_mov.c:200:7: note: in expansion of macro 'FFMIN' 200 | last=FFMIN(trak->chunkmap[i].first, trak->chunks_size); | ^~~~~ libmpdemux/demux_mov.c:258:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 258 | for(i=0;idurmap[j].num;i++){ | ^ libmpdemux/demux_mov.c:271:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 271 | for(i=0;ichunks[j].size;i++){ | ^ libmpdemux/demux_mov.c:299:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 299 | if(pts<=trak->samples[sample].pts) break; | ^~ libmpdemux/demux_mov.c:307:9: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 307 | if(ptssamples[sample].pts) break; | ^ libmpdemux/demux_mkv.c: In function 'grow_array': libmpdemux/demux_mkv.c:209:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 209 | if (nelem > UINT_MAX / elsize - 32) | ^ libmpdemux/demux_mkv.c: In function 'aac_get_sample_rate_index': libmpdemux/demux_mkv.c:256:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 256 | while (sample_rate < srates[i]) | ^ libmpdemux/demux_mkv.c: In function 'demux_mkv_decode': libmpdemux/demux_mkv.c:358:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 358 | if (dstlen > SIZE_MAX - padding) | ^ libmpdemux/demux_mkv.c:377:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 377 | if (dstlen > (SIZE_MAX - padding)/2) | ^ libmpdemux/demux_mov.c: In function 'gen_sh_audio': libmpdemux/demux_mov.c:632:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 632 | if(trak->editlist[0].pos == -1) { | ^~ libmpdemux/demux_mov.c: In function 'gen_sh_video': libmpdemux/demux_mov.c:962:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 962 | if(trak->editlist[0].pos == -1) { | ^~ libmpdemux/demux_mkv.c: In function 'demux_mkv_read_seekhead': libmpdemux/demux_mkv.c:1329:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1329 | mkv_d->parsed_seekhead_num > SIZE_MAX/sizeof(off_t)) | ^ In file included from ./mpcommon.h:25, from libmpdemux/demux_mpg.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mov.c:1248:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1248 | if (trak->stream_header_len > 0xffffffff - sizeof(*sh->bih)) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_pva.o libmpdemux/demux_pva.c libmpdemux/demux_mkv.c: In function 'demux_mkv_open_audio': libmpdemux/demux_mkv.c:1899:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1899 | if (flavor < FF_ARRAY_ELEMS(atrc_fl2bps)) | ^ libmpdemux/demux_mkv.c:1908:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1908 | if (flavor < FF_ARRAY_ELEMS(cook_fl2bps)) | ^ libmpdemux/demux_mkv.c:1917:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1917 | if (flavor < FF_ARRAY_ELEMS(sipr_fl2bps)) | ^ libmpcodecs/vf_tfields.c: In function 'continue_buffered_image': libmpcodecs/vf_tfields.c:446:5: warning: 'qpel' may be used uninitialized in this function [-Wmaybe-uninitialized] 446 | qpel(dmpi->planes[2], | ^~~~~~~~~~~~~~~~~~~~~ 447 | mpi->planes[2] + (i^!tff)*mpi->stride[2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | mpi->chroma_width, mpi->chroma_height/2, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | dmpi->stride[2], mpi->stride[2]*2, (i^!tff)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libmpdemux/demux_nsv.c:35: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mov.c: In function 'demux_mov_fill_buffer': libmpdemux/demux_mpg.c: In function 'demux_mpg_open': libmpdemux/demux_mpg.c:205:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 205 | while (demuxer->video->packs + demuxer->audio->packs < 2) | ^~~~~ libmpdemux/demux_mpg.c:207:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 207 | mpg_d->last_pts = -1.0; | ^~~~~ libmpdemux/demux_mov.c:2200:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2200 | } else | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c libmpdemux/demux_mov.c:2203:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2203 | ++trak->pos; | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_rawvideo.o libmpdemux/demux_rawvideo.c libmpdemux/demux_mpg.c: In function 'new_audio_stream': libmpdemux/demux_mpg.c:287:19: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 287 | else sh_a->format=0x2000;break; // ac3 | ^~~~ libmpdemux/demux_mpg.c:287:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 287 | else sh_a->format=0x2000;break; // ac3 | ^~~~~ In file included from ./mpcommon.h:25, from libmpdemux/demux_mpg.c:29: libmpdemux/demux_mpg.c: In function 'demux_mpg_read_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_mpg.c:306:23: note: in expansion of macro 'MP_NOPTS_VALUE' 306 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mov.c: In function 'mov_seek_track': libmpdemux/demux_mov.c:2242:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2242 | while(trak->poschunks_size && trak->chunks[trak->pos].samplepos; | ^ libmpdemux/demux_mkv.c: In function 'demux_mkv_read_block_lacing': libmpdemux/demux_mkv.c:2291:51: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2291 | if (num == EBML_UINT_INVALID || *size < l) goto err_out; | ^ libmpdemux/demux_mkv.c:2299:55: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2299 | if (snum == EBML_INT_INVALID || *size < l) goto err_out; | ^ libmpdemux/demux_mkv.c: In function 'handle_subtitles': libmpdemux/demux_mov.c: In function 'demux_seek_mov': libmpdemux/demux_mkv.c:2320:63: warning: unused parameter 'track' [-Wunused-parameter] 2320 | static void handle_subtitles(demuxer_t *demuxer, mkv_track_t *track, | ~~~~~~~~~~~~~^~~~~ libmpdemux/demux_mov.c:2275:63: warning: unused parameter 'audio_delay' [-Wunused-parameter] 2275 | static void demux_seek_mov(demuxer_t *demuxer,float pts,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mpg.c:303:22: warning: variable 'dts' set but not used [-Wunused-but-set-variable] 303 | unsigned long long dts=0; | ^~~ libmpdemux/demux_mpg.c:298:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 298 | int d; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_realaud.o libmpdemux/demux_realaud.c libmpdemux/demux_mpg.c: In function 'demux_mpg_probe': libmpdemux/demux_mpg.c:688:7: warning: variable 'pes' set but not used [-Wunused-but-set-variable] 688 | int pes=1; | ^~~ libmpdemux/demux_mpg.c: In function 'demux_mpg_es_fill_buffer': libmpdemux/demux_mpg.c:754:71: warning: unused parameter 'ds' [-Wunused-parameter] 754 | static int demux_mpg_es_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mpg.c: In function 'demux_mpg_fill_buffer': libmpdemux/demux_mpg.c:870:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] 870 | if (end_pos && end_pos < demux->filepos) | ^ libmpdemux/demux_mpg.c:832:68: warning: unused parameter 'ds' [-Wunused-parameter] 832 | static int demux_mpg_fill_buffer(demuxer_t *demux, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mpg.c: In function 'demux_seek_mpg': libmpdemux/demux_mpg.c:1020:27: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 1020 | if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break; | ^~~ libmpdemux/demux_mpg.c:930:34: warning: unused parameter 'audio_delay' [-Wunused-parameter] 930 | float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mkv.c: In function 'demux_mkv_fill_buffer': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_real.o libmpdemux/demux_real.c libmpdemux/demux_mkv.c:2709:70: warning: unused parameter 'ds' [-Wunused-parameter] 2709 | static int demux_mkv_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_nsv.c: In function 'demux_seek_nsv': libmpdemux/demux_nsv.c:52:41: warning: unused parameter 'demuxer' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_nsv.c:52:56: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~^~~~~~~~~~~~~ libmpdemux/demux_nsv.c:52:77: warning: unused parameter 'audio_delay' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_nsv.c:52:94: warning: unused parameter 'flags' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~^~~~~ libmpdemux/demux_nsv.c: In function 'demux_nsv_fill_buffer': libmpdemux/demux_nsv.c:58:72: warning: unused parameter 'ds' [-Wunused-parameter] 58 | static int demux_nsv_fill_buffer ( demuxer_t *demuxer, demux_stream_t *ds ) | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_roq.o libmpdemux/demux_roq.c libmpdemux/demux_mkv.c: In function 'demux_mkv_seek': libmpdemux/demux_mkv.c:2853:34: warning: unused parameter 'audio_delay' [-Wunused-parameter] 2853 | float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mov.c: In function 'mov_check_file': libmpdemux/demux_mov.c:499:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 499 | if(flags&2) break; | ^ libmpdemux/demux_mov.c:500:2: note: here 500 | case MOV_FOURCC('m','d','a','t'): | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_smjpeg.o libmpdemux/demux_smjpeg.c In file included from libmpdemux/demux_rawvideo.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_pva.c:40: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_rawaudio.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mkv.c: In function 'demux_mkv_open': libmpdemux/demux_mkv.c:2107:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 2107 | cont = 1; | ~~~~~^~~ libmpdemux/demux_mkv.c:2109:9: note: here 2109 | case EBML_ID_VOID: | ^~~~ libmpdemux/demux_rawvideo.c: In function 'demux_rawvideo_seek': libmpdemux/demux_rawvideo.c:138:78: warning: unused parameter 'audio_delay' [-Wunused-parameter] 138 | static void demux_rawvideo_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_rawaudio.c: In function 'demux_rawaudio_seek': libmpdemux/demux_rawaudio.c:99:78: warning: unused parameter 'audio_delay' [-Wunused-parameter] 99 | static void demux_rawaudio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_rawaudio.c: At top level: libmpdemux/demux_rawaudio.c:128:1: warning: missing initializer for field 'control' of 'demuxer_desc_t' {aka 'const struct demuxer_desc'} [-Wmissing-field-initializers] 128 | }; | ^ In file included from libmpdemux/demux_rawaudio.c:29: libmpdemux/demuxer.h:225:9: note: 'control' declared here 225 | int (*control)(struct demuxer *demuxer, int cmd, void *arg); ///< Optional | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_ts.o libmpdemux/demux_ts.c libmpdemux/demux_pva.c: In function 'demux_pva_fill_buffer': libmpdemux/demux_pva.c:375:70: warning: unused parameter 'ds' [-Wunused-parameter] 375 | static int demux_pva_fill_buffer (demuxer_t * demux, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_pva.c: In function 'demux_seek_pva': libmpdemux/demux_pva.c:460:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] 460 | static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,float audio_delay,int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_pva.c:460:90: warning: unused parameter 'flags' [-Wunused-parameter] 460 | static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,float audio_delay,int flags) | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_ty.o libmpdemux/demux_ty.c In file included from libmpdemux/demux_smjpeg.c:34: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_roq.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_realaud.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_realaud.c: In function 'demux_ra_fill_buffer': libmpdemux/demux_realaud.c:90:69: warning: unused parameter 'dsds' [-Wunused-parameter] 90 | static int demux_ra_fill_buffer(demuxer_t *demuxer, demux_stream_t *dsds) | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_realaud.c: In function 'demux_open_ra': libmpdemux/demux_realaud.c:277:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 277 | } else | ^~~~ libmpdemux/demux_realaud.c:281:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 281 | sh->channels = 1; | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_ty_osd.o libmpdemux/demux_ty_osd.c In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_real.c:49: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_smjpeg.c: In function 'demux_smjpeg_fill_buffer': libmpdemux/demux_smjpeg.c:74:71: warning: unused parameter 'ds' [-Wunused-parameter] 74 | static int demux_smjpeg_fill_buffer(demuxer_t *demux, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_smjpeg.c: In function 'demux_open_smjpeg': libmpdemux/demux_smjpeg.c:107:29: warning: variable 'hleng' set but not used [-Wunused-but-set-variable] 107 | unsigned int htype = 0, hleng; | ^~~~~ libmpdemux/demux_smjpeg.c: In function 'demux_close_smjpeg': libmpdemux/demux_smjpeg.c:180:43: warning: unused parameter 'demuxer' [-Wunused-parameter] 180 | static void demux_close_smjpeg(demuxer_t *demuxer) | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_real.c: In function 'parse_index_chunk': libmpdemux/demux_real.c:230:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 230 | if (entries <= 0 || entries > MAX_INDEX_ENTRIES) | ^ libmpdemux/demux_roq.c: In function 'demux_roq_fill_buffer': libmpdemux/demux_roq.c:79:70: warning: unused parameter 'ds' [-Wunused-parameter] 79 | static int demux_roq_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_real.c: In function 'add_index_item': libmpdemux/demux_real.c:275:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 275 | if (priv->index_table_size[stream_id] >= MAX_INDEX_ENTRIES) { | ^~ In file included from ./mpcommon.h:25, from libmpdemux/demux_ts.c:31: ./libmpdemux/demuxer.h: In function 'new_demux_packet': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_viv.o libmpdemux/demux_viv.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_roq.c: In function 'demux_open_roq': libmpdemux/demux_roq.c:123:9: warning: unused variable 'chunk_arg' [-Wunused-variable] 123 | int chunk_arg = stream_read_word_le(demuxer->stream); | ^~~~~~~~~ libmpdemux/demux_real.c: In function 'demux_real_fill_buffer': libmpdemux/demux_real.c:624:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 624 | if (priv->is_multirate) | ^~ libmpdemux/demux_real.c:626:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 626 | stream_skip(demuxer->stream,14); | ^~~~~~~~~~~ libmpdemux/demux_real.c:646:80: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 646 | idx_streamid = priv->is_mlti ? priv->mp2rm_streamid[demuxer->video->id] : demuxer->video->id; | ^~~~~~~~~~~~~~~~~~ libmpdemux/demux_real.c:651:80: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 651 | idx_streamid = priv->is_mlti ? priv->mp2rm_streamid[demuxer->audio->id] : demuxer->audio->id; | ^~~~~~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_real.c:49: libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_real.c:801:86: note: in expansion of macro 'MP_NOPTS_VALUE' 801 | priv->audio_timestamp[priv->sub_packet_cnt] = (priv->a_pts==timestamp) ? MP_NOPTS_VALUE : (timestamp/1000.0); | ^~~~~~~~~~~~~~ libmpdemux/demux_real.c:881:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 881 | if (audioreorder_getnextpk) | ^~ libmpdemux/demux_real.c:884:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 884 | return 1; | ^~~~~~ libmpdemux/demux_real.c:984:44: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 984 | if(dp_hdr->chunktab+8*(1+dp_hdr->chunks)>dp->len){ | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_vqf.o libmpdemux/demux_vqf.c libmpdemux/demux_real.c:1016:12: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1016 | if (len > dp->len - sizeof(dp_hdr_t) - dp_hdr->len) len = dp->len - sizeof(dp_hdr_t) - dp_hdr->len; | ^ libmpdemux/demux_real.c:1039:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1039 | if (len > dp->len - sizeof(dp_hdr_t)) len = dp->len - sizeof(dp_hdr_t); | ^ libmpdemux/demux_real.c:1047:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1047 | if (vpkg_length > len) { | ^ libmpdemux/demux_real.c:578:71: warning: unused parameter 'dsds' [-Wunused-parameter] 578 | static int demux_real_fill_buffer(demuxer_t *demuxer, demux_stream_t *dsds) | ~~~~~~~~~~~~~~~~^~~~ In file included from ./libmpdemux/stheader.h:22, from ./libmpcodecs/dec_audio.h:23, from libmpdemux/demux_ty.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_real.c: In function 'demux_open_real': libmpdemux/demux_real.c:1466:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1466 | else | ^~~~ libmpdemux/demux_real.c:1469:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1469 | break; | ^~~~~ libmpdemux/demux_ty_osd.c: In function 'ty_DrawChar': libmpdemux/demux_ty_osd.c:85:60: warning: unused parameter 'fgColor' [-Wunused-parameter] 85 | static void ty_DrawChar( int *x, int *y, char disChar, int fgColor, int bgColor ) | ~~~~^~~~~~~ libmpdemux/demux_ty_osd.c:85:73: warning: unused parameter 'bgColor' [-Wunused-parameter] 85 | static void ty_DrawChar( int *x, int *y, char disChar, int fgColor, int bgColor ) | ~~~~^~~~~~~ libmpdemux/demux_ty_osd.c: In function 'ty_drawchar': libmpdemux/demux_ty_osd.c:155:31: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 155 | if ( TY_CC_ptr - TY_CC_buf > sizeof( TY_CC_buf ) - 1 ) | ^ libmpdemux/demux_ty_osd.c: In function 'ty_processuserdata': libmpdemux/demux_ty_osd.c:865:56: warning: unused parameter 'len' [-Wunused-parameter] 865 | void ty_processuserdata( const unsigned char* buf, int len ) | ~~~~^~~ libmpdemux/demux_ty_osd.c: In function 'ty_CCdecode': libmpdemux/demux_ty_osd.c:384:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 384 | ty_draw(); | ^~~~~~~~~ libmpdemux/demux_ty_osd.c:388:19: note: here 388 | case 0x2B: // resume text display | ^~~~ libmpdemux/demux_ty_osd.c:437:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 437 | ty_draw(); | ^~~~~~~~~ libmpdemux/demux_ty_osd.c:441:19: note: here 441 | case 0x2E: // erase non-displayed memory | ^~~~ libmpdemux/demux_real.c: In function 'demux_seek_real': libmpdemux/demux_real.c:1903:76: warning: unused parameter 'audio_delay' [-Wunused-parameter] 1903 | static void demux_seek_real(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'demux_asf_fill_buffer': libmpdemux/demux_asf.c:331:47: warning: 'payload_time' may be used uninitialized in this function [-Wmaybe-uninitialized] 331 | asf->last_aud_diff = payload_time - asf->last_aud_pts; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ libmpdemux/demux_asf.c:202:14: note: 'payload_time' was declared here 202 | uint64_t payload_time; //100ns units | ^~~~~~~~~~~~ libmpdemux/demux_ts.c: In function 'demux_open_ts': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ts.c:1077:29: note: in expansion of macro 'MP_NOPTS_VALUE' 1077 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_ty.c: In function 'get_ty_pts': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ty.c:267:12: note: in expansion of macro 'MP_NOPTS_VALUE' 267 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_ty.c: In function 'demux_ty_CopyToDemuxPacket': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ty.c:291:15: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | if (pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/demux_ty.c: In function 'demux_ty_fill_buffer': libmpdemux/demux_ty.c:381:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 381 | if ( readSize >= sizeof( TMF_SIG ) && | ^~ In file included from libmpdemux/demux_vqf.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_viv.c:34: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_ty.c:562:35: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 562 | else sh_a->format=0x2000;break; // ac3 | ^~~~ libmpdemux/demux_ty.c:562:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 562 | else sh_a->format=0x2000;break; // ac3 | ^~~~~ libmpdemux/demux_ty.c:333:68: warning: unused parameter 'dsds' [-Wunused-parameter] 333 | static int demux_ty_fill_buffer( demuxer_t *demux, demux_stream_t *dsds ) | ~~~~~~~~~~~~~~~~^~~~ In file included from ./libmpdemux/stheader.h:22, from ./libmpcodecs/dec_audio.h:23, from libmpdemux/demux_ty.c:42: libmpdemux/demux_ty.c: In function 'demux_seek_ty': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ty.c:730:28: note: in expansion of macro 'MP_NOPTS_VALUE' 730 | tivo->lastAudioPTS = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ty.c:731:28: note: in expansion of macro 'MP_NOPTS_VALUE' 731 | tivo->lastVideoPTS = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_vqf.c: In function 'demux_open_vqf': libmpdemux/demux_vqf.c:79:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 79 | if(stream_read(s,buf,chunk_size)!=chunk_size) return NULL; | ^~ libmpdemux/demux_ty.c:717:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] 717 | static void demux_seek_ty( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_vqf.c: In function 'demux_seek_vqf': libmpdemux/demux_vqf.c:207:39: warning: unused parameter 'demuxer' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_vqf.c:207:53: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~~~ libmpdemux/demux_vqf.c:207:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_vqf.c:207:89: warning: unused parameter 'flags' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~^~~~~ libmpdemux/demux_vqf.c: In function 'demux_close_vqf': libmpdemux/demux_vqf.c:224:40: warning: unused parameter 'demuxer' [-Wunused-parameter] 224 | static void demux_close_vqf(demuxer_t* demuxer) {} | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_ts.c: In function 'fill_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ts.c:2718:23: note: in expansion of macro 'MP_NOPTS_VALUE' 2718 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_ts.c:2731:7: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 2731 | if(abs(diff) > 1) //1 second, there's a discontinuity | ^~~ libmpdemux/demux_viv.c: In function 'demux_vivo_fill_buffer': libmpdemux/demux_viv.c:311:69: warning: unused parameter 'dsds' [-Wunused-parameter] 311 | static int demux_vivo_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_ts.c: In function 'ts_parse': libmpdemux/demux_ts.c:2785:15: warning: variable 'cc_ok' set but not used [-Wunused-but-set-variable] 2785 | int len, cc, cc_ok, afc, retv = 0, is_video, is_audio, is_sub; | ^~~~~ In file included from ./mpcommon.h:25, from libmpdemux/demux_ts.c:31: libmpdemux/demux_ts.c: In function 'reset_fifos': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ts.c:3252:29: note: in expansion of macro 'MP_NOPTS_VALUE' 3252 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_ts.c: In function 'demux_seek_ts': libmpdemux/demux_ts.c:3256:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] 3256 | static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_ts.c: In function 'demux_ts_fill_buffer': libmpdemux/demux_ts.c:3351:70: warning: unused parameter 'ds' [-Wunused-parameter] 3351 | static int demux_ts_fill_buffer(demuxer_t * demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/ebml.o libmpdemux/ebml.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/extension.o libmpdemux/extension.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mf.o libmpdemux/mf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mp3_hdr.o libmpdemux/mp3_hdr.c In file included from libmpdemux/demux_y4m.c:36: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_hdr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c libmpdemux/mf.c: In function 'open_mf': libmpdemux/mf.c:130:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 130 | for( i=0;i < gg.gl_pathc;i++ ) | ^ In file included from libmpdemux/extension.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/extension.c: In function 'demuxer_type_by_filename': libmpdemux/extension.c:103:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 103 | for( i=0 ; i<(sizeof(extensions_table)/sizeof(extensions_table[0])) ; i++ ) { | ^ libmpdemux/demux_y4m.c: In function 'demux_y4m_fill_buffer': libmpdemux/demux_y4m.c:84:68: warning: unused parameter 'dsds' [-Wunused-parameter] 84 | static int demux_y4m_fill_buffer(demuxer_t *demux, demux_stream_t *dsds) { | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_y4m.c: In function 'demux_seek_y4m': libmpdemux/demux_y4m.c:272:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] 272 | static void demux_seek_y4m(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) { | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_y4m.c:272:92: warning: unused parameter 'flags' [-Wunused-parameter] 272 | static void demux_seek_y4m(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) { | ~~~~^~~~~ libmpdemux/mpeg_packetizer.c: In function 'send_mpeg_lpcm_packet': libmpdemux/mpeg_packetizer.c:165:28: warning: unused parameter 'id' [-Wunused-parameter] 165 | int id, uint64_t pts, int freq_id, | ~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/parse_es.o libmpdemux/parse_es.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/video.o libmpdemux/video.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c In file included from libmpdemux/parse_es.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/getch2.o osdep/getch2.c In file included from libmpdemux/video.c:35: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/timer-linux.o osdep/timer-linux.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/open.o stream/open.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream.o stream/stream.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_bd.o stream/stream_bd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_cue.o stream/stream_cue.c libmpdemux/video.c: In function 'video_read_frame': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:632:32: note: in expansion of macro 'MP_NOPTS_VALUE' 632 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:651:34: note: in expansion of macro 'MP_NOPTS_VALUE' 651 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:660:35: note: in expansion of macro 'MP_NOPTS_VALUE' 660 | double d = (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts - pts1; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_file.o stream/stream_file.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_mf.o stream/stream_mf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_null.o stream/stream_null.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/url.o stream/url.c In file included from stream/open.c:37: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from stream/stream_bd.c:31: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/stream_bd.c: In function 'bd_get_uks': stream/stream_bd.c:265:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 265 | if (pos < file_size) { | ^ stream/stream_bd.c: In function 'get_clipinf': stream/stream_bd.c:435:39: warning: variable 'end_offset' set but not used [-Wunused-but-set-variable] 435 | int langmap_offset, index_offset, end_offset; | ^~~~~~~~~~ stream/stream_bd.c:435:25: warning: variable 'index_offset' set but not used [-Wunused-but-set-variable] 435 | int langmap_offset, index_offset, end_offset; | ^~~~~~~~~~~~ stream/stream_bd.c: In function 'bd_stream_open': stream/stream_bd.c:492:44: warning: unused parameter 'mode' [-Wunused-parameter] 492 | static int bd_stream_open(stream_t *s, int mode, void* opts, int* file_format) | ~~~~^~~~ stream/stream_bd.c:492:67: warning: unused parameter 'file_format' [-Wunused-parameter] 492 | static int bd_stream_open(stream_t *s, int mode, void* opts, int* file_format) | ~~~~~^~~~~~~~~~~ In file included from stream/stream.c:46: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/eosd.o sub/eosd.c stream/stream_cue.c: In function 'cue_read': stream/stream_null.c: In function 'open_s': stream/stream_null.c:26:40: warning: unused parameter 'mode' [-Wunused-parameter] 26 | 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] 26 | 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] 26 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~^~~~~~~~~~~ stream/stream_cue.c:534:54: warning: unused parameter 'size' [-Wunused-parameter] 534 | static int cue_read(stream_t *stream, char *mem, int size) { | ~~~~^~~~ stream/stream_cue.c: In function 'open_s': stream/stream_cue.c:608:63: warning: unused parameter 'file_format' [-Wunused-parameter] 608 | 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: In function 'new_demux_packet': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/find_sub.o sub/find_sub.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/osd.o sub/osd.c stream/stream_mf.c: In function 'mf_stream_open': stream/stream_mf.c:32:39: warning: unused parameter 'mode' [-Wunused-parameter] 32 | 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] 32 | 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: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/spudec.o sub/spudec.c stream/stream.c: In function 'open_stream_plugin': stream/stream.c:165:55: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | { "stream url", arg , CONF_TYPE_CUSTOM_URL, 0, 0 ,0, sinfo->opts }; | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/sub.o sub/sub.c In file included from stream/stream.c:47: stream/stream.c: In function 'copy_characters': stream/stream.c:667:60: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 667 | GET_UTF16(c, src < end - 1 ? get_le16_inc(&src) : 0, ;) | ^ ffmpeg/libavutil/common.h:417:17: note: in definition of macro 'GET_UTF16' 417 | ERROR\ | ^~~~~~ 418 | val += (hi<<10) + 0x10000;\ | stream/stream.c:675:60: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 675 | GET_UTF16(c, src < end - 1 ? get_be16_inc(&src) : 0, ;) | ^ ffmpeg/libavutil/common.h:417:17: note: in definition of macro 'GET_UTF16' 417 | ERROR\ | ^~~~~~ 418 | val += (hi<<10) + 0x10000;\ | gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/sub_cc.o sub/sub_cc.c stream/stream.c: In function 'parse_chapter_range': stream/stream.c:714:43: warning: unused parameter 'conf' [-Wunused-parameter] 714 | int parse_chapter_range(const m_option_t *conf, const char *range) { | ~~~~~~~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/subreader.o sub/subreader.c In file included from ./mpcommon.h:25, from sub/eosd.c:22: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/spudec.c: In function 'spudec_alloc_image': sub/spudec.c:225:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 225 | if (this->width > stride) // just a safeguard | ^ In file included from ./mpcommon.h:25, from sub/sub.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': sub/spudec.c: In function 'spudec_process_control': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/spudec.c:476:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 476 | start_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/spudec.c:484:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 484 | start_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; | ^~ sub/spudec.c:492:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 492 | end_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; | ^~ In file included from ffmpeg/libavutil/avutil.h:296, from sub/spudec.c:45: ffmpeg/libavutil/common.h:94:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:513:7: note: in expansion of macro 'FFMAX' 513 | a = FFMAX(a, this->alpha[0]); | ^~~~~ ffmpeg/libavutil/common.h:94:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:513:7: note: in expansion of macro 'FFMAX' 513 | a = FFMAX(a, this->alpha[0]); | ^~~~~ ffmpeg/libavutil/common.h:94:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:514:7: note: in expansion of macro 'FFMAX' 514 | b = FFMAX(b, this->alpha[1]); | ^~~~~ ffmpeg/libavutil/common.h:94:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:514:7: note: in expansion of macro 'FFMAX' 514 | b = FFMAX(b, this->alpha[1]); | ^~~~~ ffmpeg/libavutil/common.h:94:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:515:7: note: in expansion of macro 'FFMAX' 515 | c = FFMAX(c, this->alpha[2]); | ^~~~~ ffmpeg/libavutil/common.h:94:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:515:7: note: in expansion of macro 'FFMAX' 515 | c = FFMAX(c, this->alpha[2]); | ^~~~~ ffmpeg/libavutil/common.h:94:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:516:7: note: in expansion of macro 'FFMAX' 516 | d = FFMAX(d, this->alpha[3]); | ^~~~~ ffmpeg/libavutil/common.h:94:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 94 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:516:7: note: in expansion of macro 'FFMAX' 516 | d = FFMAX(d, this->alpha[3]); | ^~~~~ sub/spudec.c:561:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 561 | end_pts = 1 - pts100 >= end_pts ? 0 : pts100 + end_pts - 1; | ^~ In file included from ffmpeg/libavutil/avutil.h:296, from sub/spudec.c:45: sub/spudec.c: In function 'scale_table': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ sub/spudec.c:837:24: note: in expansion of macro 'FFMIN' 837 | table[t].position= FFMIN(src >> 16, end_src - 1); | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/vobsub.o sub/vobsub.c ffmpeg/libavutil/common.h:96:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ sub/spudec.c:837:24: note: in expansion of macro 'FFMIN' 837 | table[t].position= FFMIN(src >> 16, end_src - 1); | ^~~~~ sub/spudec.c: In function 'sws_spu_image': sub/spudec.c:897:16: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 897 | sws_scale(ctx,&s2,&ss,0,sh,&d2,&ds); | ^~~ | | | unsigned char ** In file included from sub/spudec.c:48: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ./mpcommon.h:25, from sub/find_sub.c:31: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/find_sub.c: In function 'step_sub': sub/find_sub.c:55:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 55 | if (movement > 0 && key < subs[current_sub].start) | ^ sub/find_sub.c:57:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 57 | if (movement < 0 && key >= subs[current_sub].end) | ^~ sub/find_sub.c: In function 'find_sub': sub/find_sub.c:86:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 86 | if(key>=vo_sub->start && key<=vo_sub->end) return; // OK! | ^~ sub/spudec.c: In function 'spudec_packet_send': sub/find_sub.c:86:35: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 86 | if(key>=vo_sub->start && key<=vo_sub->end) return; // OK! | ^~ sub/find_sub.c:104:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 104 | if(key>subs[current_sub].end && keysubs[current_sub].end && key=new_sub->start && key<=new_sub->end) goto update; // OK! | ^~ sub/spudec.c:1372:29: warning: left shift of negative value [-Wshift-negative-value] 1372 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/spudec.c:1435:14: note: in expansion of macro 'MP_NOPTS_VALUE' 1435 | if (pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ sub/find_sub.c:113:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 113 | if(key>=new_sub->start && key<=new_sub->end) goto update; // OK! | ^~ sub/find_sub.c:125:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 125 | if(keystart) j=current_sub-1; | ^ sub/find_sub.c:126:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 126 | else if(key>new_sub->end) i=current_sub+1; | ^ sub/find_sub.c:132:11: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 132 | if(keystart){ | ^ sub/find_sub.c:142:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 142 | if(key>subs[current_sub].end && keysubs[current_sub].end && keyend) printf("JAJJ! "); else | ^~ sub/find_sub.c:161:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 161 | if(key>subs[current_sub].end && keysubs[current_sub].end && keypts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/sub.c: In function 'get_height': sub/sub.c:112:6: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 112 | if(hpic_a[font]->h) h=vo_font->pic_a[font]->h; | ^ sub/sub.c: In function 'vo_update_text_osd': sub/sub.c:200:62: warning: unused parameter 'dxs' [-Wunused-parameter] 200 | 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] 200 | static inline void vo_update_text_osd(mp_osd_obj_t *obj, int dxs, int dys) | ~~~~^~~ sub/sub.c: In function 'vo_update_text_sub': sub/sub.c:730:33: warning: passing argument 1 of 'utf8_get_char' from incompatible pointer type [-Wincompatible-pointer-types] 730 | c = utf8_get_char(&t); | ^~ | | | unsigned char ** sub/sub.c:186:37: note: expected 'const char **' but argument is of type 'unsigned char **' 186 | unsigned utf8_get_char(const char **str) { | ~~~~~~~~~~~~~^~~ sub/sub.c:731:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 731 | else if ((c = *t++) >= 0x80 && sub_unicode) | ^~ sub/sub.c:733:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 733 | if (k==MAX_UCS){ | ^~ sub/sub.c:769:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 769 | if (sub_font->pic_a[font]->h > h) { | ^ sub/sub.c:1045:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1045 | sub_font->pic_a[font]->h+ydys ? sub_font->pic_a[font]->h : obj->dys-y, | ^ sub/sub.c:1045:74: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 1045 | sub_font->pic_a[font]->h+ydys ? sub_font->pic_a[font]->h : obj->dys-y, | ^~~~~~~~~~ sub/sub.c: In function 'vo_update_osd_ext': sub/sub.c:1114:51: warning: unused parameter 'left_border' [-Wunused-parameter] 1114 | static int vo_update_osd_ext(int dxs,int dys, int left_border, int top_border, | ~~~~^~~~~~~~~~~ sub/sub.c:1114:68: warning: unused parameter 'top_border' [-Wunused-parameter] 1114 | static int vo_update_osd_ext(int dxs,int dys, int left_border, int top_border, | ~~~~^~~~~~~~~~ sub/sub.c:1115:34: warning: unused parameter 'right_border' [-Wunused-parameter] 1115 | int right_border, int bottom_border, int orig_w, | ~~~~^~~~~~~~~~~~ sub/sub.c:1115:52: warning: unused parameter 'bottom_border' [-Wunused-parameter] 1115 | int right_border, int bottom_border, int orig_w, | ~~~~^~~~~~~~~~~~~ sub/sub.c:1115:71: warning: unused parameter 'orig_w' [-Wunused-parameter] 1115 | int right_border, int bottom_border, int orig_w, | ~~~~^~~~~~ sub/sub.c:1116:34: warning: unused parameter 'orig_h' [-Wunused-parameter] 1116 | int orig_h) | ~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/ai_oss.o stream/ai_oss.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/font_load.o sub/font_load.c In file included from ./mpcommon.h:25, from sub/vobsub.c:37: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/subreader.c: In function 'sub_ass_read_line_subviewer': sub/subreader.c:414:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 414 | if (len >= sizeof(full_line) - j - 2) | ^~ sub/subreader.c: In function 'subcp_open': sub/subreader.c:1213:28: warning: unused parameter 'st' [-Wunused-parameter] 1213 | void subcp_open (stream_t *st) | ~~~~~~~~~~^~ sub/subreader.c: In function 'sub_fribidi': sub/subreader.c:1311:35: warning: unused parameter 'sub' [-Wunused-parameter] 1311 | static int sub_fribidi (subtitle *sub, int av_unused sub_utf8, int av_unused from) | ~~~~~~~~~~^~~ sub/subreader.c: In function 'sub_read_file': sub/subreader.c:1538:10: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1538 | if (l >= strlen(exts[k]) && !strcasecmp(filename+(l - strlen(exts[k])), exts[k])){ | ^~ sub/vobsub.c: In function 'vobsub_open': sub/vobsub.c:1003:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1003 | if (vobsubid == vob->spu_streams_current || | ^~ sub/vobsub.c: In function 'vobsub_get_id_by_index': stream/ai_alsa.c: In function 'ai_alsa_setup': stream/ai_alsa.c:113:5: warning: 'snd_pcm_sw_params_set_sleep_min' is deprecated [-Wdeprecated-declarations] 113 | err = snd_pcm_sw_params_set_sleep_min(ai->alsa.handle, swparams,0); | ^~~ sub/vobsub.c:1044:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1044 | for (i = 0, j = 0; i < vob->spu_streams_size; ++i) | ^ In file included from /usr/include/alsa/asoundlib.h:54, from stream/ai_alsa.c:25: /usr/include/alsa/pcm.h:1347:5: note: declared here 1347 | int snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, unsigned int val) __attribute__((deprecated)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/vobsub.c:1046:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1046 | if (j == index) | ^~ sub/vobsub.c: In function 'vobsub_get_index_by_id': sub/vobsub.c:1057:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1057 | if (vob == NULL || id < 0 || id >= vob->spu_streams_size) | ^~ sub/vobsub.c: In function 'vobsub_set_from_lang': sub/vobsub.c:1072:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1072 | for (i = 0; i < vob->spu_streams_size; i++) | ^ sub/vobsub.c: In function 'vobsub_queue_reseek': sub/vobsub.c:1096:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1096 | while (queue->current_index >= i | ^~ sub/vobsub.c:1099:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1099 | if (queue->current_index >= i | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_cdda.o stream/stream_cdda.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cdinfo.o stream/cdinfo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_cddb.o stream/stream_cddb.c sub/subreader.c: In function 'sub_clear_text': sub/subreader.c:2634:29: warning: left shift of negative value [-Wshift-negative-value] 2634 | #define MP_NOPTS_VALUE (-1LL<<63) | ^~ sub/subreader.c:2647:16: note: in expansion of macro 'MP_NOPTS_VALUE' 2647 | if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { | ^~~~~~~~~~~~~~ sub/subreader.c:2634:29: warning: left shift of negative value [-Wshift-negative-value] 2634 | #define MP_NOPTS_VALUE (-1LL<<63) | ^~ sub/subreader.c:2647:45: note: in expansion of macro 'MP_NOPTS_VALUE' 2647 | if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { | ^~~~~~~~~~~~~~ sub/subreader.c: At top level: sub/subreader.c:1211:20: warning: 'guess_cp' declared 'static' but never defined [-Wunused-function] 1211 | static const char* guess_cp(stream_t *st, const char *preferred_language, const char *fallback); | ^~~~~~~~ sub/font_load.c: In function 'load_raw': sub/font_load.c:37:35: warning: unused parameter 'verbose' [-Wunused-parameter] 37 | raw_file* load_raw(char *name,int verbose){ | ~~~~^~~~~~~ sub/subreader.c: In function 'sub_read_line_jacosub': sub/subreader.c:1129:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1129 | } else if (eol(*(p + 1))) { | ^ sub/subreader.c:1136:6: note: here 1136 | default: | ^~~~~~~ In file included from ./mpcommon.h:25, from stream/stream_cddb.c:75: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/dvb_tune.o stream/dvb_tune.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvb.o stream/stream_dvb.c stream/stream.c: In function 'open_stream_full': stream/stream.c:246:9: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] 246 | else if(r != STREAM_UNSUPPORTED) { | ^ stream/stream_cddb.c: In function 'cddb_write_cache': stream/stream_cddb.c:487:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 487 | if (cddb_data == NULL || cddb_data->cache_dir == NULL) | ^~ stream/stream_cddb.c:491:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 491 | ret = mkdir(cddb_data->cache_dir, 0755); | ^~~ In file included from stream/stream_cddb.c:78: stream/stream_cddb.c: In function 'cddb_parse_matches_list': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ stream/stream_cddb.c:623:15: note: in expansion of macro 'FFMIN' 623 | len = FFMIN(sizeof(album_title) - 1, len); | ^~~~~ ffmpeg/libavutil/common.h:96:33: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ stream/stream_cddb.c:623:15: note: in expansion of macro 'FFMIN' 623 | len = FFMIN(sizeof(album_title) - 1, len); | ^~~~~ stream/stream_cddb.c: In function 'cddb_query_parse': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ stream/stream_cddb.c:663:19: note: in expansion of macro 'FFMIN' 663 | len = FFMIN(sizeof(album_title) - 1, len); | ^~~~~ ffmpeg/libavutil/common.h:96:33: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ stream/stream_cddb.c:663:19: note: in expansion of macro 'FFMIN' 663 | len = FFMIN(sizeof(album_title) - 1, len); | ^~~~~ In file included from stream/stream_cdda.c:40: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvd.o stream/stream_dvd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c stream/stream_cdda.c: At top level: stream/stream_cdda.c:102:59: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { "span", ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, | ^ stream/stream_cdda.c:104:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | { "hostname", ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, | ^ stream/stream_cdda.c:128:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | { "span", &cdda_dflts.span, CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, | ^ stream/stream_cdda.c: In function 'cdparanoia_callback': stream/stream_cdda.c:135:42: warning: unused parameter 'inpos' [-Wunused-parameter] 135 | static void cdparanoia_callback(long int inpos, paranoia_cb_mode_t function) { | ~~~~~~~~~^~~~~ stream/stream_cdda.c:135:68: warning: unused parameter 'function' [-Wunused-parameter] 135 | static void cdparanoia_callback(long int inpos, paranoia_cb_mode_t function) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ stream/stream_cdda.c: In function 'fill_buffer': stream/stream_cdda.c:139:55: warning: unused parameter 'max_len' [-Wunused-parameter] 139 | static int fill_buffer(stream_t* s, char* buffer, int max_len) { | ~~~~^~~~~~~ stream/stream_cdda.c: In function 'get_track_by_sector': stream/stream_cdda.c:243:42: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 243 | if (p->cd->disc_toc[i].dwStartSector <= sector) | ^~ stream/stream_cdda.c: In function 'control': stream/stream_cdda.c:273:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 273 | if (track > end_track) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/aclib.o libvo/aclib.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o av_helpers.o av_helpers.c stream/dvb_tune.c: In function 'diseqc_send_msg': stream/dvb_tune.c:299:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 299 | if(ioctl(fd, FE_SET_TONE, t) == -1) | ^~ stream/dvb_tune.c:302:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 302 | return 0; | ^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o av_opts.o av_opts.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c In file included from stream/stream_dvb.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c stream/stream_dvb.c: In function 'dvb_streaming_start': stream/stream_dvb.c:613:82: warning: unused parameter 'tuner_type' [-Wunused-parameter] 613 | static int dvb_streaming_start(stream_t *stream, struct stream_priv_s *opts, int tuner_type, char *progname) | ~~~~^~~~~~~~~~ stream/stream_dvd_common.c: In function 'dvd_set_speed': stream/stream_dvd_common.c:96:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 96 | if (speed == -1) | ^~ In file included from stream/stream_dvd.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libaf/af_lavcresample.c: In function 'play': libaf/af_lavcresample.c:159:61: warning: passing argument 4 of 'swr_convert' from incompatible pointer type [-Wincompatible-pointer-types] 159 | ret = swr_convert(s->swrctx, &s->tmp[0], out_len/chans/2, &s->in[0], in_len/chans/2); | ^~~~~~~~~ | | | uint8_t ** {aka unsigned char **} In file included from libaf/af_lavcresample.c:29: ffmpeg/libswresample/swresample.h:307:49: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 307 | const uint8_t **in , int in_count); | ~~~~~~~~~~~~~~~~^~ stream/stream_dvd.c: In function 'dvd_read_sector': stream/stream_dvd.c:268:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 268 | if(d->cur_pack != d->dsi_pack.dsi_gi.nv_pck_lbn ) { | ^~ stream/stream_dvd.c: In function 'dvd_seek': stream/stream_dvd.c:344:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 344 | d->cur_packcur_pgc->cell_playback[ d->cur_cell ].first_sector) { | ^ stream/stream_dvd.c:353:21: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 353 | if(d->cur_packfirst_sector) { | ^ av_helpers.c: In function 'init_avcodec': av_helpers.c:101:9: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations] 101 | avcodec_register_all(); | ^~~~~~~~~~~~~~~~~~~~ In file included from av_helpers.c:21: ffmpeg/libavcodec/avcodec.h:4149:6: note: declared here 4149 | void avcodec_register_all(void); | ^~~~~~~~~~~~~~~~~~~~ av_helpers.c: In function 'init_avformat': av_helpers.c:112:9: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations] 112 | av_register_all(); | ^~~~~~~~~~~~~~~ In file included from av_helpers.c:22: ffmpeg/libavformat/avformat.h:2050:6: note: declared here 2050 | void av_register_all(void); | ^~~~~~~~~~~~~~~ av_helpers.c: In function 'lavc_encode_audio': av_helpers.c:155:5: warning: 'avcodec_encode_audio2' is deprecated [-Wdeprecated-declarations] 155 | n = avcodec_encode_audio2(ctx, &pkt, frame, &got); | ^ In file included from av_helpers.c:21: ffmpeg/libavcodec/avcodec.h:5410:5: note: declared here 5410 | int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, | ^~~~~~~~~~~~~~~~~~~~~ stream/stream_dvd.c: In function 'open_s': stream/stream_dvd.c:734:40: warning: unused parameter 'mode' [-Wunused-parameter] 734 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/stream_dvd.c: In function 'ifo_stream_open': In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_ffmpeg.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/stream_dvd.c:1050:63: warning: unused parameter 'opts' [-Wunused-parameter] 1050 | static int ifo_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c libaf/af_lavcac3enc.c: In function 'control': libaf/af_lavcac3enc.c:130:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 130 | for (i = 0; i < FF_ARRAY_ELEMS(ac3_bit_rates); ++i) | ^ libaf/af_lavcac3enc.c:133:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 133 | if (i >= FF_ARRAY_ELEMS(ac3_bit_rates)) { | ^~ stream/dvb_tune.c: In function 'dvb_tune': stream/dvb_tune.c:328:12: warning: 'hi_lo' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | int res, hi_lo, dfd; | ^~~~~ libmpcodecs/ad_ffmpeg.c: In function 'setup_format': libmpcodecs/ad_ffmpeg.c:77:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 77 | samplerate == 2*sh_audio->wf->nSamplesPerSec) { | ^~ libmpcodecs/ad_ffmpeg.c: In function 'control': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_geq.c libmpcodecs/ad_ffmpeg.c:206:49: warning: unused parameter 'arg' [-Wunused-parameter] 206 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_ffmpeg.c:28: libmpcodecs/ad_ffmpeg.c: In function 'decode_audio': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ad_ffmpeg.c:328:41: note: in expansion of macro 'MP_NOPTS_VALUE' 328 | ds_parse(sh_audio->ds, &start, &x, MP_NOPTS_VALUE, 0); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ad_ffmpeg.c:345:13: note: in expansion of macro 'MP_NOPTS_VALUE' 345 | if (pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c:349:2: warning: 'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations] 349 | y=avcodec_decode_audio4(sh_audio->context, frame, &got_frame, &pkt); | ^ In file included from libmpcodecs/ad_ffmpeg.c:47: ffmpeg/libavcodec/avcodec.h:4769:5: note: declared here 4769 | int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, | ^~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_spdif.c:23: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_lavcdeint.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_screenshot.o libmpcodecs/vf_screenshot.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_lavf.o libmpdemux/demux_lavf.c libmpcodecs/ad_spdif.c: In function 'read_packet': libmpcodecs/ad_spdif.c:51:30: warning: unused parameter 'p' [-Wunused-parameter] 51 | static int read_packet(void *p, uint8_t *buf, int buf_size) | ~~~~~~^ libmpcodecs/ad_spdif.c:51:42: warning: unused parameter 'buf' [-Wunused-parameter] 51 | 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] 51 | static int read_packet(void *p, uint8_t *buf, int buf_size) | ~~~~^~~~~~~~ libmpcodecs/ad_spdif.c: In function 'seek': libmpcodecs/ad_spdif.c:68:27: warning: unused parameter 'p' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~~~^ libmpcodecs/ad_spdif.c:68:38: warning: unused parameter 'offset' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~~~~~^~~~~~ libmpcodecs/ad_spdif.c:68:50: warning: unused parameter 'whence' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~^~~~~~ libmpcodecs/ad_spdif.c: In function 'init': libmpcodecs/ad_spdif.c:129:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] 129 | lavf_ctx->streams[0]->codec->codec_id = fmt_id_type[i].id; | ^~~~~~~~ In file included from libmpcodecs/ad_spdif.c:25: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_ffmpeg.c:38: ./libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_spdif.c:23: ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ad_spdif.c:145:15: note: in expansion of macro 'MP_NOPTS_VALUE' 145 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ad_spdif.c:164:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] 164 | switch (lavf_ctx->streams[0]->codec->codec_id) { | ^~~~~~ In file included from libmpcodecs/ad_spdif.c:25: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_spdif.c:23: libmpcodecs/ad_spdif.c: In function 'decode_audio': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ad_spdif.c:245:42: note: in expansion of macro 'MP_NOPTS_VALUE' 245 | ds_parse(sh->ds, &start, &x, MP_NOPTS_VALUE, 0); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ad_spdif.c:266:20: note: in expansion of macro 'MP_NOPTS_VALUE' 266 | if (pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ libmpcodecs/ad_spdif.c: In function 'control': libmpcodecs/ad_spdif.c:278:51: warning: unused parameter 'arg' [-Wunused-parameter] 278 | static int control(sh_audio_t *sh, int cmd, void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_spdif.c: In function 'uninit': libmpcodecs/ad_spdif.c:302:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] 302 | av_freep(&lavf_ctx->streams[0]->codec); | ^~~~~~~~ In file included from libmpcodecs/ad_spdif.c:25: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ libmpcodecs/vf_lavcdeint.c: In function 'vf_open': libmpcodecs/vf_lavcdeint.c:36:24: warning: unused parameter 'vf' [-Wunused-parameter] 36 | vf_open(vf_instance_t *vf, char *args) | ~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_ffmpeg.o stream/stream_ffmpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/av_sub.o sub/av_sub.c libmpcodecs/vf_lavc.c: In function 'config': libmpcodecs/vf_lavc.c:50:35: warning: unused parameter 'outfmt' [-Wunused-parameter] 50 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_lavc.c: In function 'put_image': libmpcodecs/vf_lavc.c:102:5: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] 102 | ret = avcodec_encode_video2(&lavc_venc_context, &pkt, pic, &got_pkt); | ^~~ In file included from libmpcodecs/vf_lavc.c:32: ffmpeg/libavcodec/avcodec.h:5449:5: note: declared here 5449 | int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, | ^~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_fspp.o libmpcodecs/vf_fspp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_qp.o libmpcodecs/vf_qp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_spp.o libmpcodecs/vf_spp.c libmpcodecs/vd_ffmpeg.c: In function 'vdpau_render_wrapper': libmpcodecs/vd_ffmpeg.c:222:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 222 | data.surface = (VdpVideoSurface)mpi->priv; | ^ libmpcodecs/vd_ffmpeg.c: In function 'init': libmpcodecs/vd_ffmpeg.c:427:41: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 427 | if (!sh->bih || sh->bih->biSize <= sizeof(*sh->bih)) | ^~ libmpcodecs/vd_ffmpeg.c:451:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 451 | if(sh->bih->biSizebih)+8){ | ^ libmpcodecs/vd_ffmpeg.c:487:5: warning: 'refcounted_frames' is deprecated [-Wdeprecated-declarations] 487 | avctx->refcounted_frames = 1; | ^~~~~ In file included from ffmpeg/libavcodec/vdpau.h:57, from libmpcodecs/vd_ffmpeg.c:41: ffmpeg/libavcodec/avcodec.h:2386:9: note: declared here 2386 | int refcounted_frames; | ^~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c: In function 'draw_slice': libmpcodecs/vd_ffmpeg.c:539:36: warning: unused parameter 'type' [-Wunused-parameter] 539 | int y, int type, int height){ | ~~~~^~~~ libmpcodecs/vd_ffmpeg.c: In function 'is_in_format_list': libmpcodecs/vd_ffmpeg.c:616:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 616 | if (sh->codec->outfmt[i] == imgfmt) | ^~ libmpcodecs/vd_ffmpeg.c: In function 'get_buffer': libmpcodecs/vd_ffmpeg.c:740:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 740 | VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; | ^ libmpcodecs/vd_ffmpeg.c:742:24: warning: assignment to 'unsigned char *' from 'VdpVideoSurface' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 742 | mpi->planes[3] = surface; | ^ libmpcodecs/vd_ffmpeg.c:747:16: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations] 747 | struct xvmc_pix_fmt *render = mpi->priv; //same as data[2] | ^~~~~~~~~~~~ In file included from libmpcodecs/vd_ffmpeg.c:75: ffmpeg/libavcodec/xvmc.h:46:29: note: declared here 46 | struct attribute_deprecated xvmc_pix_fmt { | ^~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c: In function 'decode': libmpcodecs/vd_ffmpeg.c:905:5: warning: 'av_packet_split_side_data' is deprecated [-Wdeprecated-declarations] 905 | av_packet_split_side_data(&pkt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ffmpeg/libavcodec/vdpau.h:57, from libmpcodecs/vd_ffmpeg.c:41: ffmpeg/libavcodec/avcodec.h:4519:5: note: declared here 4519 | int av_packet_split_side_data(AVPacket *pkt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:917:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 917 | sh->bih_size - sh->bih->biSize > palsize) { | ^ libmpcodecs/vd_ffmpeg.c:928:5: warning: 'avcodec_decode_video2' is deprecated [-Wdeprecated-declarations] 928 | ret = avcodec_decode_video2(avctx, pic, &got_picture, &pkt); | ^~~ In file included from ffmpeg/libavcodec/vdpau.h:57, from libmpcodecs/vd_ffmpeg.c:41: ffmpeg/libavcodec/avcodec.h:4818:5: note: declared here 4818 | int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:974:13: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] 974 | int8_t *q = av_frame_get_qp_table(pic, &qstride, &dummy); | ^~~~~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from ffmpeg/libavcodec/vdpau.h:57, from libmpcodecs/vd_ffmpeg.c:41: ffmpeg/libavutil/frame.h:691:9: note: declared here 691 | int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:1019:13: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1019 | return &mpi_no_picture; // H.264 first field only | ^~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:1071:5: warning: 'av_frame_get_qp_table' is deprecated [-Wdeprecated-declarations] 1071 | mpi->qscale = av_frame_get_qp_table(pic, &mpi->qstride, &mpi->qscale_type); | ^~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from ffmpeg/libavcodec/vdpau.h:57, from libmpcodecs/vd_ffmpeg.c:41: ffmpeg/libavutil/frame.h:691:9: note: declared here 691 | int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c: In function 'mpcodec_default_release_buffer': libmpcodecs/vd_ffmpeg.c:1121:60: warning: unused parameter 's' [-Wunused-parameter] 1121 | static void mpcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic) | ~~~~~~~~~~~~~~~~^ libmpcodecs/vd_ffmpeg.c: In function 'compat_free_buffer': libmpcodecs/vd_ffmpeg.c:1132:55: warning: unused parameter 'data' [-Wunused-parameter] 1132 | static void compat_free_buffer(void *opaque, uint8_t *data) | ~~~~~~~~~^~~~ libmpcodecs/vd_ffmpeg.c: In function 'compat_release_buffer': libmpcodecs/vd_ffmpeg.c:1139:58: warning: unused parameter 'data' [-Wunused-parameter] 1139 | static void compat_release_buffer(void *opaque, uint8_t *data) | ~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_uspp.o libmpcodecs/vf_uspp.c libmpcodecs/vf_screenshot.c: In function 'draw_slice': libmpcodecs/vf_screenshot.c:64:34: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 64 | sws_scale(vf->priv->ctx, src, stride, y, h, vf->priv->pic->data, vf->priv->pic->linesize); | ^~~ | | | unsigned char ** In file included from libmpcodecs/vf_screenshot.c:38: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_lavf.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_screenshot.c: In function 'write_png': libmpcodecs/vf_screenshot.c:118:5: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] 118 | res = avcodec_encode_video2(priv->avctx, &pkt, priv->pic, &got_pkt); | ^~~ In file included from libmpcodecs/vf_screenshot.c:39: ffmpeg/libavcodec/avcodec.h:5449:5: note: declared here 5449 | int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_screenshot.c: In function 'scale_image': libmpcodecs/vf_screenshot.c:158:29: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 158 | sws_scale(priv->ctx, mpi->planes, mpi->stride, 0, mpi->height, priv->pic->data, priv->pic->linesize); | ~~~^~~~~~~~ | | | unsigned char ** In file included from libmpcodecs/vf_screenshot.c:38: ffmpeg/libswscale/swscale.h:217:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 217 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libmpcodecs/vf_screenshot.c: In function 'vf_open': libmpcodecs/vf_screenshot.c:302:5: warning: 'avcodec_register_all' is deprecated [-Wdeprecated-declarations] 302 | avcodec_register_all(); | ^~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/vf_screenshot.c:39: ffmpeg/libavcodec/avcodec.h:4149:6: note: declared here 4149 | void avcodec_register_all(void); | ^~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/font_load_ft.o sub/font_load_ft.c In file included from ./libmpdemux/stheader.h:22, from sub/av_sub.c:20: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from stream/stream_ffmpeg.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_lavf.c: In function 'mp_seek': libmpdemux/demux_lavf.c:115:18: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 115 | if (size > stream->end_pos) | ^ libmpdemux/demux_lavf.c: In function 'mp_read_seek': libmpdemux/demux_lavf.c:133:75: warning: unused parameter 'flags' [-Wunused-parameter] 133 | static int64_t mp_read_seek(void *opaque, int stream_idx, int64_t ts, int flags) { | ~~~~^~~~~ libmpdemux/demux_lavf.c: In function 'list_formats': libmpdemux/demux_lavf.c:151:5: warning: 'av_iformat_next' is deprecated [-Wdeprecated-declarations] 151 | for (fmt = av_iformat_next(NULL); fmt; fmt = av_iformat_next(fmt)) | ^~~ In file included from libmpdemux/demux_lavf.c:39: ffmpeg/libavformat/avformat.h:2087:17: note: declared here 2087 | AVInputFormat *av_iformat_next(const AVInputFormat *f); | ^~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:151:5: warning: 'av_iformat_next' is deprecated [-Wdeprecated-declarations] 151 | for (fmt = av_iformat_next(NULL); fmt; fmt = av_iformat_next(fmt)) | ^~~ In file included from libmpdemux/demux_lavf.c:39: ffmpeg/libavformat/avformat.h:2087:17: note: declared here 2087 | AVInputFormat *av_iformat_next(const AVInputFormat *f); | ^~~~~~~~~~~~~~~ stream/stream_ffmpeg.c: In function 'open_f': stream/stream_ffmpeg.c:89:53: warning: unused parameter 'opts' [-Wunused-parameter] 89 | static int open_f(stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ libmpcodecs/vf_spp.c: In function 'hardthresh_mmx': libmpdemux/demux_lavf.c: In function 'handle_stream': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_ftp.o stream/stream_ftp.c libmpdemux/demux_lavf.c:291:5: warning: 'codec' is deprecated [-Wdeprecated-declarations] 291 | AVCodecContext *codec= st->codec; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_lavf.c:39: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ libmpcodecs/vf_spp.c:157:79: warning: unused parameter 'permutation' [-Wunused-parameter] 157 | static void hardthresh_mmx(int16_t dst[64], int16_t src[64], int qp, uint8_t *permutation){ | ~~~~~~~~~^~~~~~~~~~~ libmpcodecs/vf_spp.c: In function 'softthresh_mmx': libmpcodecs/vf_spp.c:225:79: warning: unused parameter 'permutation' [-Wunused-parameter] 225 | static void softthresh_mmx(int16_t dst[64], int16_t src[64], int qp, uint8_t *permutation){ | ~~~~~~~~~^~~~~~~~~~~ libmpdemux/demux_lavf.c:370:35: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 370 | if (rg && rg_size >= sizeof(*rg)) { | ^~ sub/av_sub.c: In function 'avsub_to_spudec': sub/av_sub.c:46:29: warning: 'pict' is deprecated [-Wdeprecated-declarations] 46 | rects[0]->pict.data[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3900:15: note: declared here 3900 | AVPicture pict; | ^~~~ sub/av_sub.c:46:29: warning: 'data' is deprecated [-Wdeprecated-declarations] 46 | rects[0]->pict.data[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3858:14: note: declared here 3858 | uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes | ^~~~ sub/av_sub.c:47:29: warning: 'pict' is deprecated [-Wdeprecated-declarations] 47 | rects[0]->pict.linesize[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3900:15: note: declared here 3900 | AVPicture pict; | ^~~~ sub/av_sub.c:47:29: warning: 'linesize' is deprecated [-Wdeprecated-declarations] 47 | rects[0]->pict.linesize[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3860:9: note: declared here 3860 | int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line | ^~~~~~~~ sub/av_sub.c:48:29: warning: 'pict' is deprecated [-Wdeprecated-declarations] 48 | rects[0]->pict.data[1], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3900:15: note: declared here 3900 | AVPicture pict; | ^~~~ sub/av_sub.c:48:29: warning: 'data' is deprecated [-Wdeprecated-declarations] 48 | rects[0]->pict.data[1], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3858:14: note: declared here 3858 | uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes | ^~~~ sub/av_sub.c:69:28: warning: 'pict' is deprecated [-Wdeprecated-declarations] 69 | rects[i]->pict.data[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3900:15: note: declared here 3900 | AVPicture pict; | ^~~~ sub/av_sub.c:69:28: warning: 'data' is deprecated [-Wdeprecated-declarations] 69 | rects[i]->pict.data[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3858:14: note: declared here 3858 | uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes | ^~~~ sub/av_sub.c:70:28: warning: 'pict' is deprecated [-Wdeprecated-declarations] 70 | rects[i]->pict.linesize[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3900:15: note: declared here 3900 | AVPicture pict; | ^~~~ sub/av_sub.c:70:28: warning: 'linesize' is deprecated [-Wdeprecated-declarations] 70 | rects[i]->pict.linesize[0], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3860:9: note: declared here 3860 | int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line | ^~~~~~~~ sub/av_sub.c:71:28: warning: 'pict' is deprecated [-Wdeprecated-declarations] 71 | rects[i]->pict.data[1], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3900:15: note: declared here 3900 | AVPicture pict; | ^~~~ sub/av_sub.c:71:28: warning: 'data' is deprecated [-Wdeprecated-declarations] 71 | rects[i]->pict.data[1], | ^~~~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:3858:14: note: declared here 3858 | uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes | ^~~~ In file included from ./libmpdemux/stheader.h:22, from sub/av_sub.c:20: sub/av_sub.c: In function 'decode_avsub': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/av_sub.c:107:17: note: in expansion of macro 'MP_NOPTS_VALUE' 107 | if (*pts != MP_NOPTS_VALUE && *endpts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/av_sub.c:107:46: note: in expansion of macro 'MP_NOPTS_VALUE' 107 | if (*pts != MP_NOPTS_VALUE && *endpts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ sub/av_sub.c:108:9: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] 108 | pkt.convergence_duration = (*endpts - *pts) * 1000; | ^~~ In file included from sub/av_sub.c:19: ffmpeg/libavcodec/avcodec.h:1500:13: note: declared here 1500 | int64_t convergence_duration; | ^~~~~~~~~~~~~~~~~~~~ In file included from ./libmpdemux/stheader.h:22, from sub/av_sub.c:20: ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/av_sub.c:132:17: note: in expansion of macro 'MP_NOPTS_VALUE' 132 | if (*pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:516:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] 516 | if (st->codec->codec_id == AV_CODEC_ID_TTF || st->codec->codec_id == AV_CODEC_ID_OTF) { | ^~ In file included from libmpdemux/demux_lavf.c:39: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ libmpdemux/demux_lavf.c:516:13: warning: 'codec' is deprecated [-Wdeprecated-declarations] 516 | if (st->codec->codec_id == AV_CODEC_ID_TTF || st->codec->codec_id == AV_CODEC_ID_OTF) { | ^~ In file included from libmpdemux/demux_lavf.c:39: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_bmovl.o libmpcodecs/vf_bmovl.c libmpdemux/demux_lavf.c: In function 'demux_open_lavf': libmpdemux/demux_lavf.c:633:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 633 | for(i=0; i < avfc->nb_chapters; i++) { | ^ libmpdemux/demux_lavf.c:641:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 641 | for(i=0; inb_streams; i++) | ^ libmpdemux/demux_lavf.c:647:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 647 | for (p = 0; p < avfc->nb_programs; p++) { | ^ In file included from libmpdemux/aviheader.h:27, from libmpdemux/aviprint.h:23, from libmpdemux/demux_lavf.c:33: libmpdemux/demux_lavf.c: In function 'demux_lavf_fill_buffer': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_lavf.c:677:25: note: in expansion of macro 'MP_NOPTS_VALUE' 677 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:686:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 686 | for (id = priv->nb_streams_last; id < priv->avfc->nb_streams; id++) | ^ libmpdemux/demux_lavf.c:719:9: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] 719 | av_free_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavformat/avformat.h:317, from libmpdemux/demux_lavf.c:39: ffmpeg/libavcodec/avcodec.h:4463:6: note: declared here 4463 | void av_free_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_export.o libaf/af_export.c libmpdemux/demux_lavf.c:723:9: warning: 'av_packet_merge_side_data' is deprecated [-Wdeprecated-declarations] 723 | av_packet_merge_side_data(&pkt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ffmpeg/libavformat/avformat.h:317, from libmpdemux/demux_lavf.c:39: ffmpeg/libavcodec/avcodec.h:4516:5: note: declared here 4516 | int av_packet_merge_side_data(AVPacket *pkt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:726:9: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations] 726 | av_free_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavformat/avformat.h:317, from libmpdemux/demux_lavf.c:39: ffmpeg/libavcodec/avcodec.h:4463:6: note: declared here 4463 | void av_free_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:734:9: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] 734 | if(ds == demux->sub && pkt.convergence_duration > 0) | ^~ In file included from ffmpeg/libavformat/avformat.h:317, from libmpdemux/demux_lavf.c:39: ffmpeg/libavcodec/avcodec.h:1500:13: note: declared here 1500 | int64_t convergence_duration; | ^~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:735:13: warning: 'convergence_duration' is deprecated [-Wdeprecated-declarations] 735 | dp->endpts = dp->pts + pkt.convergence_duration * av_q2d(priv->avfc->streams[id]->time_base); | ^~ In file included from ffmpeg/libavformat/avformat.h:317, from libmpdemux/demux_lavf.c:39: ffmpeg/libavcodec/avcodec.h:1500:13: note: declared here 1500 | int64_t convergence_duration; | ^~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:671:69: warning: unused parameter 'dsds' [-Wunused-parameter] 671 | static int demux_lavf_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_lavf.c: In function 'demux_lavf_control': libmpdemux/demux_lavf.c:864:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 864 | while(pavfc->nb_programs && priv->avfc->programs[p]->id != priv->cur_program) | ^ libmpdemux/demux_lavf.c:870:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 870 | for(i=0; iavfc->nb_programs; i++) | ^ libmpdemux/demux_lavf.c:873:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 873 | if(i==priv->avfc->nb_programs) | ^~ libmpdemux/demux_lavf.c:880:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 880 | for(i=0; inb_stream_indexes; i++) | ^ libmpdemux/demux_lavf.c:882:17: warning: 'codec' is deprecated [-Wdeprecated-declarations] 882 | switch(priv->avfc->streams[program->stream_index[i]]->codec->codec_type) | ^~~~~~ In file included from libmpdemux/demux_lavf.c:39: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ libmpcodecs/vf_uspp.c: In function 'filter': libmpcodecs/vf_uspp.c:189:9: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] 189 | avcodec_encode_video2(p->avctx_enc[i], &pkt, p->frame, &got_pkt); | ^~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/vf_uspp.c:34: ffmpeg/libavcodec/avcodec.h:5449:5: note: declared here 5449 | int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_uspp.c:190:9: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 190 | p->frame_dec = p->avctx_enc[i]->coded_frame; | ^ In file included from libmpcodecs/vf_uspp.c:34: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/vf_uspp.c:181:13: warning: unused variable 'ret' [-Wunused-variable] 181 | int ret, got_pkt; | ^~~ libmpcodecs/vf_uspp.c:140:159: warning: unused parameter 'qp_stride' [-Wunused-parameter] 140 | static void filter(struct vf_priv_s *p, uint8_t *dst[3], uint8_t *src[3], int dst_stride[3], int src_stride[3], int width, int height, uint8_t *qp_store, int qp_stride){ | ~~~~^~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/mmap_anon.o osdep/mmap_anon.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ass.o libmpcodecs/vf_ass.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/ass_mp.o sub/ass_mp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/subassconvert.o sub/subassconvert.c libmpcodecs/vf_bmovl.c: In function 'query_format': libmpcodecs/vf_bmovl.c:128:34: warning: unused parameter 'vf' [-Wunused-parameter] 128 | query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~~~~~~~~^~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_bmovl.c:86: libmpcodecs/vf_bmovl.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:267:77: note: in expansion of macro 'MP_NOPTS_VALUE' 267 | else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:267:93: note: in expansion of macro 'MP_NOPTS_VALUE' 267 | else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:270:43: note: in expansion of macro 'MP_NOPTS_VALUE' 270 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:270:59: note: in expansion of macro 'MP_NOPTS_VALUE' 270 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:289:41: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:289:57: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:350:40: note: in expansion of macro 'MP_NOPTS_VALUE' 350 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:350:56: note: in expansion of macro 'MP_NOPTS_VALUE' 350 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:408:58: note: in expansion of macro 'MP_NOPTS_VALUE' 408 | if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:408:74: note: in expansion of macro 'MP_NOPTS_VALUE' 408 | if(vf->priv->hidden) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:463:40: note: in expansion of macro 'MP_NOPTS_VALUE' 463 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:463:56: note: in expansion of macro 'MP_NOPTS_VALUE' 463 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_bmovl.c:220:59: warning: unused parameter 'pts' [-Wunused-parameter] 220 | put_image(struct vf_instance *vf, mp_image_t* mpi, double pts, double endpts){ | ~~~~~~~^~~ libmpcodecs/vf_bmovl.c:220:71: warning: unused parameter 'endpts' [-Wunused-parameter] 220 | put_image(struct vf_instance *vf, mp_image_t* mpi, double pts, double endpts){ | ~~~~~~~^~~~~~ In file included from ./mpcommon.h:25, from sub/font_load_ft.c:51: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from libmpcodecs/vf_ass.c:33: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass.o libass/ass.c In file included from ./mpcommon.h:25, from sub/ass_mp.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/subassconvert.c: In function 'subassconvert_subrip': sub/subassconvert.c:148:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 148 | for (i = 0; i < FF_ARRAY_ELEMS(subrip_basic_tags); i++) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_bitmap.o libass/ass_bitmap.c sub/subassconvert.c:190:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 190 | && sp + 1 < FF_ARRAY_ELEMS(font_stack)) { | ^ sub/subassconvert.c:223:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 223 | for (i = 0; i < FF_ARRAY_ELEMS(subrip_web_colors); i++) { | ^ sub/subassconvert.c: In function 'microdvd_open_tags': sub/subassconvert.c:432:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 432 | for (i = 0; i < sizeof(MICRODVD_TAGS) - 1; i++) { | ^ sub/subassconvert.c:438:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 438 | for (sidx = 0; sidx < sizeof(MICRODVD_STYLES) - 1; sidx++) | ^ sub/font_load_ft.c: In function 'render_one_glyph': sub/font_load_ft.c:546:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 546 | if (glyph->bitmap.width > maxw) { | ^ sub/subassconvert.c: In function 'microdvd_load_tags': sub/subassconvert.c:357:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 357 | tag.persistent = MICRODVD_PERSISTENT_ON; | ^ sub/subassconvert.c:358:9: note: here 358 | case 'f': | ^~~~ sub/font_load_ft.c:577:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 577 | glyph->bitmap.width <= maxw ? glyph->bitmap.width : maxw); | ^~ sub/subassconvert.c:372:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 372 | tag.persistent = MICRODVD_PERSISTENT_ON; | ^ sub/subassconvert.c:373:9: note: here 373 | case 's': | ^~~~ sub/font_load_ft.c:577:56: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 577 | glyph->bitmap.width <= maxw ? glyph->bitmap.width : maxw); | ^~~~ libmpcodecs/vf_ass.c: In function 'vf_open': libmpcodecs/vf_ass.c:893:45: warning: unused parameter 'args' [-Wunused-parameter] 893 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ sub/font_load_ft.c: In function 'prepare_charset': sub/font_load_ft.c:781:18: warning: comparison of integer expressions of different signedness: 'FT_ULong' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 781 | for (i = 0; i 0 ? sqrt(2 * be) : 0; | ^~~ At top level: libass/ass_bitmap.c:44:27: warning: 'maxcolor' defined but not used [-Wunused-const-variable=] 44 | static const unsigned int maxcolor = 255; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_drawing.o libass/ass_drawing.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_font.o libass/ass_font.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_fontconfig.o libass/ass_fontconfig.c In file included from libass/ass_cache.c:34: libass/ass_cache_template.h: In function 'outline_bitmap_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:63:1: note: in expansion of macro 'START' 63 | START(outline_bitmap, outline_bitmap_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'clip_bitmap_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:82:1: note: in expansion of macro 'START' 82 | START(clip_bitmap, clip_bitmap_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'glyph_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:87:1: note: in expansion of macro 'START' 87 | START(glyph, glyph_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'glyph_metrics_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:101:1: note: in expansion of macro 'START' 101 | START(glyph_metrics, glyph_metrics_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'drawing_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:111:1: note: in expansion of macro 'START' 111 | START(drawing, drawing_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'composite_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:123:1: note: in expansion of macro 'START' 123 | START(composite, composite_hash_key) | ^~~~~ In file included from libass/ass_cache.c:36: libass/ass_cache_template.h: In function 'outline_bitmap_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:63:1: note: in expansion of macro 'START' 63 | START(outline_bitmap, outline_bitmap_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'clip_bitmap_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:82:1: note: in expansion of macro 'START' 82 | START(clip_bitmap, clip_bitmap_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'glyph_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:87:1: note: in expansion of macro 'START' 87 | START(glyph, glyph_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'glyph_metrics_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:101:1: note: in expansion of macro 'START' 101 | START(glyph_metrics, glyph_metrics_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'drawing_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:111:1: note: in expansion of macro 'START' 111 | START(drawing, drawing_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'composite_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:123:1: note: in expansion of macro 'START' 123 | START(composite, composite_hash_key) | ^~~~~ libass/ass_cache.c: In function 'font_hash': libass/ass_cache.c:39:45: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned font_hash(void *buf, size_t len) | ~~~~~~~^~~ libass/ass_cache.c: In function 'font_compare': libass/ass_cache.c:52:61: warning: unused parameter 'key_size' [-Wunused-parameter] 52 | static unsigned font_compare(void *key1, void *key2, size_t key_size) | ~~~~~~~^~~~~~~~ libass/ass_cache.c: In function 'bitmap_size': libass/ass_cache.c:92:47: warning: unused parameter 'value_size' [-Wunused-parameter] 92 | static size_t bitmap_size(void *value, size_t value_size) | ~~~~~~~^~~~~~~~~~ libass/ass_cache.c: In function 'ass_cache_empty': libass/ass_cache.c:285:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 285 | for (i = 0; i < cache->buckets; i++) { | ^ libass/ass_fontconfig.c: In function 'match_fullname': libass/ass_fontconfig.c:92:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 92 | || at < italic) | ^ libass/ass_fontconfig.c:95:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 95 | || at < bold) | ^ libass/ass_fontconfig.c:65:29: warning: unused parameter 'lib' [-Wunused-parameter] 65 | match_fullname(ASS_Library *lib, FCInstance *priv, const char *family, | ~~~~~~~~~~~~~^~~ libass/ass_drawing.c: In function 'token_check_values': libass/ass_drawing.c:125:35: warning: comparison of integer expressions of different signedness: 'ASS_TokenType' and 'int' [-Wsign-compare] 125 | if (!token || token->type != type) return 0; | ^~ libass/ass_drawing.c: In function 'drawing_evaluate_curve': libass/ass_drawing.c:254:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 254 | int x0 = cur.x; | ^~~ libass/ass_drawing.c:259:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 259 | int x1 = cur.x; | ^~~ libass/ass_drawing.c:264:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 264 | int x2 = cur.x; | ^~~ libass/ass_drawing.c:269:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 269 | int x3 = cur.x; | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_library.o libass/ass_library.c libass/ass_font.c: In function 'ass_strike_outline_glyph': libass/ass_font.c:329:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 329 | FT_Vector points[4] = { | ^~~~~~~~~ libass/ass_font.c:359:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 359 | FT_Vector points[4] = { | ^~~~~~~~~ libass/ass_font.c: In function 'ass_font_get_glyph': libass/ass_font.c:564:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 564 | FT_Matrix scale = { double_to_d16(font->scale_x), 0, 0, | ^~~~~~~~~ libass/ass_font.c:499:35: warning: unused parameter 'fontconfig_priv' [-Wunused-parameter] 499 | FT_Glyph ass_font_get_glyph(void *fontconfig_priv, ASS_Font *font, | ~~~~~~^~~~~~~~~~~~~~~ libass/ass_font.c: In function 'get_contour_cbox': libass/ass_font.c:626:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 626 | int i; | ^~~ libass/ass_font.c: In function 'fix_freetype_stroker': libass/ass_font.c:699:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 699 | int dir = get_contour_direction(outline->points, start, end); | ^~~ libass/ass_font.c:728:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 728 | int width = box.xMax - box.xMin; | ^~~ libass/ass_library.c: In function 'ass_msg_handler': libass/ass_library.c:31:75: warning: unused parameter 'data' [-Wunused-parameter] 31 | static void ass_msg_handler(int level, const char *fmt, va_list va, void *data) | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_parse.o libass/ass_parse.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_render.o libass/ass_render.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_render_api.o libass/ass_render_api.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_shaper.o libass/ass_shaper.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_strtod.o libass/ass_strtod.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_utils.o libass/ass_utils.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_libmad.o libmpcodecs/ad_libmad.c libass/ass_strtod.c:20:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] 20 | static int maxExponent = 511; /* Largest possible base 10 exponent. Any | ^~~~~~ libass/ass_strtod.c:27:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] 27 | static double powersOf10[] = { /* Table giving binary powers of 10. Entry */ | ^~~~~~ libass/ass_strtod.c:61:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 61 | ass_strtod(string, endPtr) | ^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_theora.o libmpcodecs/vd_theora.c libass/ass_parse.c: In function 'update_font': libass/ass_parse.c:84:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 84 | if (val == 1 || val == -1) | ^~ libass/ass_parse.c:91:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 91 | if (val == 1 || val == -1) | ^~ libass/ass_render.c: In function 'render_glyph': libass/ass_render.c:354:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 354 | int b_x0, b_y0, b_x1, b_y1; // visible part of the bitmap | ^~~ libass/ass_render.c: In function 'draw_opaque_box': libass/ass_render.c:956:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 956 | FT_Vector points[4] = { | ^~~~~~~~~ libass/ass_render.c: In function 'fill_glyph_hash': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_rtsp.o stream/stream_rtsp.c libass/ass_render.c:1033:31: warning: unused parameter 'priv' [-Wunused-parameter] 1033 | fill_glyph_hash(ASS_Renderer *priv, OutlineHashKey *outline_key, | ~~~~~~~~~~~~~~^~~~ libass/ass_render.c: In function 'get_outline_glyph': libass/ass_render.c:1110:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1110 | FT_Glyph glyph = | ^~~~~~~~ libass/ass_render.c: In function 'get_bitmap_glyph': libass/ass_render.c:1295:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1295 | FT_Matrix m = { double_to_d16(scale_x), 0, | ^~~~~~~~~ libass/ass_render.c: In function 'wrap_lines_smart': libass/ass_render.c:1589:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1589 | double height = | ^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/freesdp/common.o stream/freesdp/common.c libass/ass_render.c: In function 'ass_render_event': libass/ass_render.c:1719:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1719 | int in_tag = 0; | ^~~ libass/ass_render.c:1921:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1921 | double max_text_width = | ^~~~~~ libass/ass_render.c:1938:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1938 | FriBidiStrIndex *cmap = ass_shaper_reorder(render_priv->shaper, text_info); | ^~~~~~~~~~~~~~~ libass/ass_render.c:1943:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1943 | int lineno = 1; | ^~~ libass/ass_render.c:1955:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1955 | FT_Vector cluster_pen = pen; | ^~~~~~~~~ libass/ass_render.c:1971:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1971 | double width = 0; | ^~~~~~ libass/ass_render.c:1978:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1978 | double shift = 0; | ^~~~~~ libass/ass_render.c:2151:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2151 | int left = render_priv->settings.left_margin; | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/freesdp/errorlist.o stream/freesdp/errorlist.c libass/ass_render.c:1689:13: warning: variable 'num_glyphs' set but not used [-Wunused-but-set-variable] 1689 | FT_UInt num_glyphs; | ^~~~~~~~~~ libass/ass_render.c:1688:13: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 1688 | FT_UInt previous; | ^~~~~~~~ libass/ass_shaper.c: In function 'check_allocations': libass/ass_shaper.c:102:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 102 | if (new_size > shaper->n_glyphs) { | ^ libass/ass_shaper.c: In function 'ass_shaper_font_data_free': libass/ass_shaper.c:130:52: warning: unused parameter 'priv' [-Wunused-parameter] 130 | void ass_shaper_font_data_free(ASS_ShaperFontData *priv) | ~~~~~~~~~~~~~~~~~~~~^~~~ libass/ass_shaper.c: In function 'ass_shaper_set_kerning': libass/ass_shaper.c:699:41: warning: unused parameter 'shaper' [-Wunused-parameter] 699 | void ass_shaper_set_kerning(ASS_Shaper *shaper, int kern) | ~~~~~~~~~~~~^~~~~~ libass/ass_shaper.c:699:53: warning: unused parameter 'kern' [-Wunused-parameter] 699 | void ass_shaper_set_kerning(ASS_Shaper *shaper, int kern) | ~~~~^~~~ libass/ass_shaper.c: In function 'ass_shaper_find_runs': libass/ass_shaper.c:720:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 720 | for (i = 0; i < len; i++) { | ^ libass/ass_render.c: In function 'ass_start_frame': libass/ass_shaper.c:709:39: warning: unused parameter 'shaper' [-Wunused-parameter] 709 | void ass_shaper_find_runs(ASS_Shaper *shaper, ASS_Renderer *render_priv, | ~~~~~~~~~~~~^~~~~~ libass/ass_shaper.c: In function 'ass_shaper_set_language': libass/ass_render.c:2269:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2269 | double par = render_priv->settings.par; | ^~~~~~ libass/ass_shaper.c:753:42: warning: unused parameter 'shaper' [-Wunused-parameter] 753 | void ass_shaper_set_language(ASS_Shaper *shaper, const char *code) | ~~~~~~~~~~~~^~~~~~ libass/ass_shaper.c:753:62: warning: unused parameter 'code' [-Wunused-parameter] 753 | void ass_shaper_set_language(ASS_Shaper *shaper, const char *code) | ~~~~~~~~~~~~^~~~ libass/ass_shaper.c: In function 'ass_shaper_cleanup': libass/ass_shaper.c:876:37: warning: unused parameter 'shaper' [-Wunused-parameter] 876 | void ass_shaper_cleanup(ASS_Shaper *shaper, TextInfo *text_info) | ~~~~~~~~~~~~^~~~~~ libass/ass_shaper.c: In function 'resolve_base_direction': libass/ass_shaper.c:927:43: warning: unused parameter 'enc' [-Wunused-parameter] 927 | FriBidiParType resolve_base_direction(int enc) | ~~~~^~~ At top level: libass/ass_shaper.c:779:13: warning: 'ass_shaper_skip_characters' defined but not used [-Wunused-function] 779 | static void ass_shaper_skip_characters(TextInfo *text_info) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libass/ass_utils.c: In function 'parse_ycbcr_matrix': libass/ass_utils.c:132:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 132 | char *end = str + strlen(str); | ^~~~ libass/ass_utils.c:139:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 139 | char buffer[16]; | ^~~~ In file included from libass/ass_utils.c:30: libass/ass_utils.h:43:25: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 43 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libass/ass_utils.c:140:16: note: in expansion of macro 'FFMIN' 140 | size_t n = FFMIN(end - str, sizeof buffer - 1); | ^~~~~ libass/ass_utils.h:43:39: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 43 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libass/ass_utils.c:140:16: note: in expansion of macro 'FFMIN' 140 | size_t n = FFMIN(end - str, sizeof buffer - 1); | ^~~~~ libass/ass_render_api.c: In function 'ass_set_shaper': libass/ass_render_api.c:74:35: warning: unused parameter 'priv' [-Wunused-parameter] 74 | void ass_set_shaper(ASS_Renderer *priv, ASS_ShapingLevel level) | ~~~~~~~~~~~~~~^~~~ libass/ass_render_api.c:74:58: warning: unused parameter 'level' [-Wunused-parameter] 74 | void ass_set_shaper(ASS_Renderer *priv, ASS_ShapingLevel level) | ~~~~~~~~~~~~~~~~~^~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_theora.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/freesdp/parser.o stream/freesdp/parser.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/librtsp/rtsp.o stream/librtsp/rtsp.c In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_libmad.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_rtp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/librtsp/rtsp_session.o stream/librtsp/rtsp_session.c In file included from stream/stream_rtsp.c:41: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/stream_rtsp.c: In function 'rtsp_streaming_read': stream/stream_rtsp.c:51:26: warning: unused parameter 'fd' [-Wunused-parameter] 51 | rtsp_streaming_read (int fd, char *buffer, | ~~~~^~ stream/stream_rtsp.c: In function 'rtsp_streaming_open': stream/stream_rtsp.c:142:44: warning: unused parameter 'mode' [-Wunused-parameter] 142 | 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] 142 | 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] 142 | rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~^~~~~~~~~~~ libmpcodecs/vd_theora.c: In function 'control': libmpcodecs/vd_theora.c:71:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 71 | if (*(int *)arg == theora_pixelformat2imgfmt(context->ti.pixel_fmt)) | ^~ libmpcodecs/vd_theora.c: In function 'decode': libmpcodecs/vd_theora.c:166:68: warning: unused parameter 'flags' [-Wunused-parameter] 166 | static mp_image_t *decode(sh_video_t *sh, void *data, int len, int flags) | ~~~~^~~~~ libmpcodecs/ad_libmad.c: In function 'control': libmpcodecs/ad_libmad.c:171:49: warning: unused parameter 'arg' [-Wunused-parameter] 171 | static int control(sh_audio_t *sh,int cmd,void* arg, ...){ | ~~~~~~^~~ stream/librtsp/rtsp.c: In function 'read_stream': stream/librtsp/rtsp.c:97:16: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (total < count) { | ^ stream/librtsp/rtsp.c: In function 'rtsp_get_param': stream/librtsp/rtsp.c:647:22: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 647 | len = nparam ? nparam - param : strlen(param); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_netstream.o stream/stream_netstream.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/asf_mmst_streaming.o stream/asf_mmst_streaming.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/asf_streaming.o stream/asf_streaming.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cookies.o stream/cookies.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/http.o stream/http.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/network.o stream/network.c stream/cookies.c: In function 'load_file': stream/cookies.c:131:17: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 131 | if (*length > SIZE_MAX - 1) { | ^ stream/stream_netstream.c: In function 'control': stream/stream_netstream.c:212:51: warning: unused parameter 'arg' [-Wunused-parameter] 212 | static int control(struct stream *s,int cmd,void* arg) { | ~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/pnm.o stream/pnm.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/rtp.o stream/rtp.c In file included from ./mpcommon.h:25, from stream/asf_mmst_streaming.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from stream/asf_streaming.c:30: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/udp.o stream/udp.c In file included from stream/http.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/asf_mmst_streaming.c: In function 'asf_mmst_streaming_seek': stream/asf_mmst_streaming.c:511:107: warning: unused parameter 'streaming_ctrl' [-Wunused-parameter] 511 | static int asf_mmst_streaming_seek( int av_unused fd, int64_t av_unused pos, streaming_ctrl_t * av_unused streaming_ctrl ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stream/asf_mmst_streaming.c: In function 'asf_mmst_streaming_start': stream/asf_mmst_streaming.c:522:24: warning: variable 'len' set but not used [-Wunused-but-set-variable] 522 | int len, i, packet_length; | ^~~ stream/http.c: In function 'my_read': stream/http.c:65:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 65 | if (cp_len > len) | ^ stream/http.c:70:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 70 | while (pos < len) { | ^ In file included from stream/network.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/http.c: In function 'scast_meta_read': stream/http.c:133:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 133 | for (i = 0; i < nlen; i++) | ^ stream/http.c: In function 'scast_streaming_read': stream/http.c:156:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 156 | if (block > size) | ^ stream/http.c:164:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 164 | while (done < size) { // now comes the metadata | ^ stream/http.c: In function 'http_response_parse': stream/http.c:457:29: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 457 | if( pos_hdr_sep+hdr_sep_lenbuffer_size ) { | ^ stream/asf_streaming.c: In function 'asf_streaming_parse_header': stream/asf_streaming.c:204:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 204 | if (size > SIZE_MAX - buffer_size) | ^ stream/network.c: In function 'nop_streaming_seek': stream/network.c:485:25: warning: unused parameter 'fd' [-Wunused-parameter] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~^~ stream/network.c:485:37: warning: unused parameter 'pos' [-Wunused-parameter] 485 | 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] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stream/asf_streaming.c: In function 'asf_http_streaming_seek': stream/asf_streaming.c:457:107: warning: unused parameter 'streaming_ctrl' [-Wunused-parameter] 457 | static int asf_http_streaming_seek( int av_unused fd, int64_t av_unused pos, streaming_ctrl_t * av_unused streaming_ctrl ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stream/http.c: In function 'open_s1': stream/http.c:893:41: warning: unused parameter 'mode' [-Wunused-parameter] 893 | 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] 893 | static int open_s1(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ stream/http.c: In function 'open_s2': stream/http.c:919:41: warning: unused parameter 'mode' [-Wunused-parameter] 919 | 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] 919 | static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ stream/asf_streaming.c: In function 'open_s': stream/asf_streaming.c:811:40: warning: unused parameter 'mode' [-Wunused-parameter] 811 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tcp.o stream/tcp.c stream/asf_streaming.c:811:52: warning: unused parameter 'opts' [-Wunused-parameter] 811 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_rtp.o stream/stream_rtp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_udp.o stream/stream_udp.c In file included from stream/pnm.c:49: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/asmrp.o stream/realrtsp/asmrp.c stream/pnm.c: In function 'rm_read': stream/pnm.c:225:16: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 225 | while (total < count) { | ^ stream/pnm.c: In function 'pnm_send_request': stream/pnm.c:417:49: warning: unused parameter 'bandwidth' [-Wunused-parameter] 417 | static void pnm_send_request(pnm_t *p, uint32_t bandwidth) { | ~~~~~~~~~^~~~~~~~~ stream/pnm.c: In function 'pnm_get_stream_chunk': stream/pnm.c:665:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 665 | if (size > sizeof(p->buffer) - 4) size = sizeof(p->buffer) - 4; | ^ stream/pnm.c:718:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 718 | if (n INT_MAX - XBUFFER_HEADER_SIZE - xbuf->chunk_size) | ^ stream/realrtsp/xbuffer.c:98:18: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 98 | if (xbuf->size < size) { | ^ stream/realrtsp/real.c: In function 'real_get_rdt_chunk': stream/realrtsp/real.c:325:7: warning: variable 'unknown1' set but not used [-Wunused-but-set-variable] 325 | int unknown1; | ^~~~~~~~ stream/realrtsp/sdpplin.c: In function 'b64_decode': stream/realrtsp/sdpplin.c:67:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 67 | for (j=0; jfileheader->num_headers; i++) { | ^ stream/realrtsp/rmff.c:423:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (i=1; ifileheader->num_headers; i++) { | ^ stream/realrtsp/rmff.c: In function 'rmff_fix_header': stream/realrtsp/rmff.c:803:33: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 803 | if(h->fileheader->num_headers != num_headers) { | ^~ stream/realrtsp/rmff.c:811:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 811 | if (h->prop->data_offset != header_size) { | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pp.o libmpcodecs/vf_pp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_pvr.o stream/stream_pvr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_radio.o stream/stream_radio.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/audio_in.o stream/audio_in.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_realaud.o libmpcodecs/ad_realaud.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_realvid.o libmpcodecs/vd_realvid.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cache2.o stream/cache2.c In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/dec_video.h:22, from libmpcodecs/vf_pp.c:33: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_realaud.c:33: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/pnm.c:767:6: warning: 'need_response' may be used uninitialized in this function [-Wmaybe-uninitialized] 767 | if (need_response) | ^ stream/pnm.c:755:7: note: 'need_response' was declared here 755 | int need_response=0; | ^~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/frequencies.o stream/frequencies.c In file included from stream/stream_radio.c:60: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from stream/tv.h:29, from stream/pvr.h:31, from stream/stream_pvr.c:48: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_mpng.c:31: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ad_realaud.c: In function 'init': libmpcodecs/ad_realaud.c:412:29: warning: unused parameter 'sh_audio' [-Wunused-parameter] 412 | static int init(sh_audio_t *sh_audio){ | ~~~~~~~~~~~~^~~~~~~~ libmpcodecs/ad_realaud.c: In function 'decode_audio': libmpcodecs/ad_realaud.c:450:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 450 | int result; | ^~~~~~ libmpcodecs/ad_realaud.c:449:63: warning: unused parameter 'minlen' [-Wunused-parameter] 449 | static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen){ | ~~~~^~~~~~ libmpcodecs/ad_realaud.c:449:74: warning: unused parameter 'maxlen' [-Wunused-parameter] 449 | static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen){ | ~~~~^~~~~~ libmpcodecs/ad_realaud.c: In function 'control': libmpcodecs/ad_realaud.c:478:32: warning: unused parameter 'sh' [-Wunused-parameter] 478 | static int control(sh_audio_t *sh,int cmd,void* arg, ...){ | ~~~~~~~~~~~~^~ libmpcodecs/ad_realaud.c:478:49: warning: unused parameter 'arg' [-Wunused-parameter] 478 | static int control(sh_audio_t *sh,int cmd,void* arg, ...){ | ~~~~~~^~~ libmpcodecs/vd_mpng.c: In function 'control': libmpcodecs/vd_mpng.c:54:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 54 | if (*((int *) arg) == out_fmt) return CONTROL_TRUE; | ^~ libmpcodecs/vd_mpng.c:50:32: warning: unused parameter 'sh' [-Wunused-parameter] 50 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpng.c: In function 'init': libmpcodecs/vd_mpng.c:61:29: warning: unused parameter 'sh' [-Wunused-parameter] 61 | static int init(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpng.c: In function 'uninit': libmpcodecs/vd_mpng.c:67:32: warning: unused parameter 'sh' [-Wunused-parameter] 67 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpng.c: In function 'pngReadFN': libmpcodecs/vd_mpng.c:78:9: warning: comparison of integer expressions of different signedness: 'png_size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(size>pngLength-pngPointer && pngLength>=pngPointer) size=pngLength-pngPointer; | ^ libmpcodecs/vd_mpng.c: In function 'decode': libmpcodecs/vd_mpng.c:138:11: warning: comparison of integer expressions of different signedness: 'int' and 'png_uint_32' {aka 'unsigned int'} [-Wsign-compare] 138 | if(last_w!=png_width || last_h!=png_height || last_c!=out_fmt){ | ^~ libmpcodecs/vd_mpng.c:138:32: warning: comparison of integer expressions of different signedness: 'int' and 'png_uint_32' {aka 'unsigned int'} [-Wsign-compare] 138 | if(last_w!=png_width || last_h!=png_height || last_c!=out_fmt){ | ^~ libmpcodecs/vd_mpng.c:138:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 138 | if(last_w!=png_width || last_h!=png_height || last_c!=out_fmt){ | ^~ In file included from ffmpeg/libavutil/intmath.h:33, from ffmpeg/libpostproc/postprocess_internal.h:31, from libmpcodecs/vf_pp.c:41: ffmpeg/libavutil/x86/intmath.h: At top level: ffmpeg/libavutil/x86/intmath.h:107: warning: "av_clipd" redefined 107 | #define av_clipd av_clipd_sse2 | In file included from ffmpeg/libavutil/common.h:110, from ./libmpdemux/aviheader.h:25, from ./libmpdemux/stheader.h:23, from libmpcodecs/dec_video.h:22, from libmpcodecs/vf_pp.c:33: ffmpeg/libavutil/common.h:550: note: this is the location of the previous definition 550 | # define av_clipd av_clipd_c | In file included from ffmpeg/libavutil/intmath.h:33, from ffmpeg/libpostproc/postprocess_internal.h:31, from libmpcodecs/vf_pp.c:41: ffmpeg/libavutil/x86/intmath.h:123: warning: "av_clipf" redefined 123 | #define av_clipf av_clipf_sse | libmpcodecs/vd_mpng.c:170:20: warning: comparison of integer expressions of different signedness: 'png_uint_32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 170 | for (i = 0; i < cols; i++) { | ^ In file included from ffmpeg/libavutil/common.h:110, from ./libmpdemux/aviheader.h:25, from ./libmpdemux/stheader.h:23, from libmpcodecs/dec_video.h:22, from libmpcodecs/vf_pp.c:33: ffmpeg/libavutil/common.h:547: note: this is the location of the previous definition 547 | # define av_clipf av_clipf_c | libmpcodecs/vd_mpng.c:84:65: warning: unused parameter 'flags' [-Wunused-parameter] 84 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_realvid.c:33: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_tv.o stream/stream_tv.c libmpcodecs/vf_pp.c: In function 'put_image': libmpcodecs/vf_pp.c:145:20: warning: passing argument 1 of 'pp_postprocess' from incompatible pointer type [-Wincompatible-pointer-types] 145 | pp_postprocess(mpi->planes ,mpi->stride, | ~~~^~~~~~~~ | | | unsigned char ** In file included from libmpcodecs/vf_pp.c:37: ffmpeg/libpostproc/postprocess.h:69:38: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'unsigned char **' 69 | void pp_postprocess(const uint8_t * src[3], const int srcStride[3], | ~~~~~~~~~~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tv.o stream/tv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tvi_dummy.o stream/tvi_dummy.c stream/stream_radio.c: In function 'radio_set_channel': stream/stream_radio.c:1016:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1016 | for ( ; tmp; tmp=tmp->next) | ^~~ stream/stream_radio.c:1019:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1019 | if (!tmp){ | ^~ libmpcodecs/vd_realvid.c: In function 'control': libmpcodecs/vd_realvid.c:89:32: warning: unused parameter 'sh' [-Wunused-parameter] 89 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_realvid.c:89:39: warning: unused parameter 'cmd' [-Wunused-parameter] 89 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_realvid.c:89:49: warning: unused parameter 'arg' [-Wunused-parameter] 89 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ libmpcodecs/vd_realvid.c: In function 'init': In file included from stream/cache2.c:69: stream/cache2.c: In function 'cache_execute_control': libmpcodecs/vd_realvid.c:319:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 319 | if (extrahdr_size-8 < cmsg_cnt) { | ^ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ stream/cache2.c:277:26: note: in expansion of macro 'MP_NOPTS_VALUE' 277 | s->stream_time_pos = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vd_realvid.c:325:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 325 | if (extrahdr_size-8 > cmsg_cnt) | ^ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ stream/cache2.c:291:28: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | s->stream_time_pos = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/stream_pvr.c: In function 'pvr_stream_open': stream/cache2.c:343:23: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 343 | (old_pos != s->stream->pos || old_eof != s->stream->eof)) | ^~ stream/stream_pvr.c:1690:52: warning: unused parameter 'opts' [-Wunused-parameter] 1690 | pvr_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ libmpcodecs/vd_realvid.c: In function 'decode': libmpcodecs/vd_realvid.c:426:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 426 | (sh->disp_w != transform_out[3] || sh->disp_h != transform_out[4])) | ^~ libmpcodecs/vd_realvid.c:426:51: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 426 | (sh->disp_w != transform_out[3] || sh->disp_h != transform_out[4])) | ^~ stream/stream_pvr.c:1690:63: warning: unused parameter 'file_format' [-Wunused-parameter] 1690 | pvr_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~^~~~~~~~~~~ stream/cache2.c: In function 'exit_sighandler': stream/cache2.c:412:33: warning: unused parameter 'x' [-Wunused-parameter] 412 | static void exit_sighandler(int x){ | ~~~~^ stream/cache2.c: In function 'dummy_sighandler': stream/cache2.c:417:34: warning: unused parameter 'x' [-Wunused-parameter] 417 | static void dummy_sighandler(int x) { | ~~~~^ stream/cache2.c: In function 'stream_enable_cache': stream/cache2.c:465:12: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 465 | if (size > SIZE_MAX) { | ^ In file included from stream/cache2.c:69: stream/cache2.c: In function 'cache_do_control': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ stream/cache2.c:647:36: note: in expansion of macro 'MP_NOPTS_VALUE' 647 | return s->stream_time_pos != MP_NOPTS_VALUE ? STREAM_OK : STREAM_UNSUPPORTED; | ^~~~~~~~~~~~~~ stream/cache2.c: In function 'cache_execute_control': stream/cache2.c:305:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 305 | double_res = s->control_double_arg; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ stream/cache2.c:306:5: note: here 306 | case STREAM_CTRL_GET_CURRENT_TIME: | ^~~~ stream/cache2.c:314:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 314 | uint_res = s->control_uint_arg; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ stream/cache2.c:315:5: note: here 315 | case STREAM_CTRL_GET_NUM_TITLES: | ^~~~ stream/cache2.c: In function 'cache_do_control': stream/cache2.c:649:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 649 | s->control_lang_arg = *(struct stream_lang_req *)arg; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/cache2.c:650:5: note: here 650 | case STREAM_CTRL_GET_NUM_TITLES: | ^~~~ In file included from stream/stream_tv.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from stream/tv.h:29, from stream/tvi_dummy.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/tvi_dummy.c: In function 'tvi_init_dummy': stream/tvi_dummy.c:46:49: warning: unused parameter 'tv_param' [-Wunused-parameter] 46 | static tvi_handle_t *tvi_init_dummy(tv_param_t* tv_param) | ~~~~~~~~~~~~^~~~~~~~ stream/tvi_dummy.c: In function 'start': stream/tvi_dummy.c:60:26: warning: unused parameter 'priv' [-Wunused-parameter] 60 | static int start(priv_t *priv) | ~~~~~~~~^~~~ stream/tvi_dummy.c: In function 'uninit': stream/tvi_dummy.c:65:27: warning: unused parameter 'priv' [-Wunused-parameter] 65 | static int uninit(priv_t *priv) | ~~~~~~~~^~~~ stream/tvi_dummy.c: In function 'grab_video_frame': stream/tvi_dummy.c:109:40: warning: unused parameter 'priv' [-Wunused-parameter] 109 | static double grab_video_frame(priv_t *priv, char *buffer, int len) | ~~~~~~~~^~~~ stream/tvi_dummy.c: In function 'grab_audio_frame': stream/tvi_dummy.c:121:40: warning: unused parameter 'priv' [-Wunused-parameter] 121 | static double grab_audio_frame(priv_t *priv, char *buffer, int len) | ~~~~~~~~^~~~ stream/tvi_dummy.c: In function 'get_audio_framesize': stream/tvi_dummy.c:127:40: warning: unused parameter 'priv' [-Wunused-parameter] 127 | static int get_audio_framesize(priv_t *priv) | ~~~~~~~~^~~~ stream/stream_tv.c: In function 'tv_stream_control': stream/stream_tv.c:109:40: warning: unused parameter 'stream' [-Wunused-parameter] 109 | static int tv_stream_control(stream_t *stream, int cmd, void *arg) | ~~~~~~~~~~^~~~~~ stream/stream_tv.c:109:52: warning: unused parameter 'cmd' [-Wunused-parameter] 109 | static int tv_stream_control(stream_t *stream, int cmd, void *arg) | ~~~~^~~ stream/stream_tv.c:109:63: warning: unused parameter 'arg' [-Wunused-parameter] 109 | static int tv_stream_control(stream_t *stream, int cmd, void *arg) | ~~~~~~^~~ stream/stream_tv.c: In function 'tv_stream_open': stream/stream_tv.c:114:39: warning: unused parameter 'mode' [-Wunused-parameter] 114 | tv_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tvi_v4l2.o stream/tvi_v4l2.c In file included from stream/tv.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/unrar_exec.o sub/unrar_exec.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_vcd.o stream/stream_vcd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_xanim.o libmpcodecs/vd_xanim.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_xvid4.o libmpcodecs/vd_xvid4.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/shmem.o osdep/shmem.c stream/tv.c: In function 'open_tv': stream/tv.c:442:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 442 | for (i = 0; i < sizeof (tv_fmt_list) / sizeof (*tv_fmt_list); i++) | ^ stream/tv.c: In function 'tv_step_chanlist': stream/tv.c:1138:36: warning: unused parameter 'tvh' [-Wunused-parameter] 1138 | int tv_step_chanlist(tvi_handle_t *tvh) | ~~~~~~~~~~~~~~^~~ sub/unrar_exec.c: In function 'unrar_exec_get': sub/unrar_exec.c:117:19: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 117 | if (*size == bufsize) { | ^~ sub/unrar_exec.c:137:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 137 | if (bufsize > *size) { | ^ osdep/shmem.c: In function 'shmem_alloc': osdep/shmem.c:62:10: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 62 | if (size > SIZE_MAX) { | ^ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_xanim.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_xvid4.c:34: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from stream/tv.h:29, from stream/tvi_v4l2.c:63: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from stream/stream_vcd.c:42: stream/vcd_read_libcdio.h: In function 'vcd_read_toc': stream/vcd_read_libcdio.h:50:47: warning: unused parameter 'fd' [-Wunused-parameter] 50 | static inline mp_vcd_priv_t *vcd_read_toc(int fd) | ~~~~^~ In file included from stream/stream_vcd.c:55: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/stream_vcd.c: In function 'fill_buffer': stream/stream_vcd.c:82:55: warning: unused parameter 'max_len' [-Wunused-parameter] 82 | static int fill_buffer(stream_t *s, char* buffer, int max_len){ | ~~~~^~~~~~~ libmpcodecs/vd_xvid4.c: In function 'control': libmpcodecs/vd_xvid4.c:87:32: warning: unused parameter 'sh' [-Wunused-parameter] 87 | static int control(sh_video_t *sh,int cmd,void* arg,...) | ~~~~~~~~~~~~^~ libmpcodecs/vd_xvid4.c:87:39: warning: unused parameter 'cmd' [-Wunused-parameter] 87 | static int control(sh_video_t *sh,int cmd,void* arg,...) | ~~~~^~~ libmpcodecs/vd_xvid4.c:87:49: warning: unused parameter 'arg' [-Wunused-parameter] 87 | static int control(sh_video_t *sh,int cmd,void* arg,...) | ~~~~~~^~~ libmpcodecs/vd_xvid4.c: In function 'decode': libmpcodecs/vd_xvid4.c:291:17: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 291 | dec.bitstream += consumed; | ^~ libmpcodecs/vd_xvid4.c:214:68: warning: unused parameter 'flags' [-Wunused-parameter] 214 | static mp_image_t* decode(sh_video_t *sh, void* data, int len, int flags) | ~~~~^~~~~ libmpcodecs/vd_xanim.c: In function 'XA_Add_Func_To_Free_Chain': libmpcodecs/vd_xanim.c:386:45: warning: unused parameter 'anim_hdr' [-Wunused-parameter] 386 | void XA_Add_Func_To_Free_Chain(XA_ANIM_HDR *anim_hdr, void (*function)(void)) | ~~~~~~~~~~~~~^~~~~~~~ libmpcodecs/vd_xanim.c: In function 'XA_2x2_OUT_1BLK_Convert': libmpcodecs/vd_xanim.c:450:18: warning: unused parameter 'imagex' [-Wunused-parameter] 450 | unsigned int imagex, XA_2x2_Color *cmap2x2) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vd_xanim.c: In function 'XA_2x2_OUT_4BLKS_Convert': libmpcodecs/vd_xanim.c:467:18: warning: unused parameter 'imagex' [-Wunused-parameter] 467 | unsigned int imagex, XA_2x2_Color *cm0, XA_2x2_Color *cm1, XA_2x2_Color *cm2, | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vd_xanim.c: In function 'control': libmpcodecs/vd_xanim.c:675:32: warning: unused parameter 'sh' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_xanim.c:675:39: warning: unused parameter 'cmd' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_xanim.c:675:49: warning: unused parameter 'arg' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ libmpcodecs/vd_xanim.c: In function 'init': libmpcodecs/vd_xanim.c:707:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 707 | codec_hdr.description = codec_idx2str(sh->codec->info_idx); | ^ stream/tvi_v4l2.c: In function 'uninit': stream/tvi_v4l2.c:1194:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1194 | if(priv->video_fd!=-1)close(priv->video_fd); priv->video_fd = -1; | ^~ stream/tvi_v4l2.c:1194:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1194 | if(priv->video_fd!=-1)close(priv->video_fd); priv->video_fd = -1; | ^~~~ stream/tvi_v4l2.c: In function 'control': stream/tvi_v4l2.c:762:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 762 | if (priv->tv_param->force_audio) return TVI_CONTROL_TRUE; | ^ stream/tvi_v4l2.c:763:5: note: here 763 | case TVI_CONTROL_IS_TUNER: | ^~~~ make -C ffmpeg libpostproc/libpostproc.a make -C ffmpeg libavfilter/libavfilter.a make -C ffmpeg libavformat/libavformat.a make -C ffmpeg libavcodec/libavcodec.a make -C ffmpeg libswscale/libswscale.a make -C ffmpeg libswresample/libswresample.a make -C ffmpeg libavutil/libavutil.a gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mencoder.o mencoder.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o parser-mecmd.o parser-mecmd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o xvid_vbr.o xvid_vbr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae.o libmpcodecs/ae.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve.o libmpcodecs/ve.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer.o libmpdemux/muxer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c libmpcodecs/ve.c: In function 'parse_forced_key_frames': libmpcodecs/ve.c:82:47: warning: unused parameter 'opt' [-Wunused-parameter] 82 | int parse_forced_key_frames(const m_option_t *opt, const char *arg) | ~~~~~~~~~~~~~~~~~~^~~ xvid_vbr.c: In function 'vbr_update_dummy': xvid_vbr.c:457:12: warning: unused parameter 'quant' [-Wunused-parameter] 457 | int quant, | ~~~~^~~~~ xvid_vbr.c:458:12: warning: unused parameter 'intra' [-Wunused-parameter] 458 | int intra, | ~~~~^~~~~ xvid_vbr.c:459:12: warning: unused parameter 'header_bytes' [-Wunused-parameter] 459 | int header_bytes, | ~~~~^~~~~~~~~~~~ xvid_vbr.c:460:12: warning: unused parameter 'total_bytes' [-Wunused-parameter] 460 | int total_bytes, | ~~~~^~~~~~~~~~~ xvid_vbr.c:461:12: warning: unused parameter 'kblocks' [-Wunused-parameter] 461 | int kblocks, | ~~~~^~~~~~~ xvid_vbr.c:462:12: warning: unused parameter 'mblocks' [-Wunused-parameter] 462 | int mblocks, | ~~~~^~~~~~~ xvid_vbr.c:463:12: warning: unused parameter 'ublocks' [-Wunused-parameter] 463 | int ublocks) | ~~~~^~~~~~~ xvid_vbr.c: In function 'vbr_finish_dummy': xvid_vbr.c:472:35: warning: unused parameter 'state' [-Wunused-parameter] 472 | static int vbr_finish_dummy(void *state) | ~~~~~~^~~~~ xvid_vbr.c: In function 'vbr_getquant_1pass': xvid_vbr.c:483:37: warning: unused parameter 'state' [-Wunused-parameter] 483 | static int vbr_getquant_1pass(void *state) | ~~~~~~^~~~~ xvid_vbr.c: In function 'vbr_getintra_1pass': xvid_vbr.c:490:37: warning: unused parameter 'state' [-Wunused-parameter] 490 | static int vbr_getintra_1pass(void *state) | ~~~~~~^~~~~ xvid_vbr.c: In function 'vbr_getquant_2pass1': xvid_vbr.c:542:38: warning: unused parameter 'state' [-Wunused-parameter] 542 | static int vbr_getquant_2pass1(void *state) | ~~~~~~^~~~~ xvid_vbr.c: In function 'vbr_getintra_2pass1': xvid_vbr.c:549:38: warning: unused parameter 'state' [-Wunused-parameter] 549 | static int vbr_getintra_2pass1(void *state) | ~~~~~~^~~~~ xvid_vbr.c: In function 'vbr_init_2pass2': xvid_vbr.c:703:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 703 | state->nb_keyframes >= 0x7fffffff / sizeof(int) || | ^~ In file included from ./libmpdemux/aviheader.h:27, from libmpcodecs/ae.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ xvid_vbr.c: In function 'vbr_update_2pass2': xvid_vbr.c:1490:13: warning: unused parameter 'header_bytes' [-Wunused-parameter] 1490 | int header_bytes, | ~~~~^~~~~~~~~~~~ xvid_vbr.c:1492:13: warning: unused parameter 'kblocks' [-Wunused-parameter] 1492 | int kblocks, | ~~~~^~~~~~~ xvid_vbr.c:1493:13: warning: unused parameter 'mblocks' [-Wunused-parameter] 1493 | int mblocks, | ~~~~^~~~~~~ xvid_vbr.c:1494:13: warning: unused parameter 'ublocks' [-Wunused-parameter] 1494 | int ublocks) | ~~~~^~~~~~~ xvid_vbr.c: In function 'vbr_getintra_fixedquant': xvid_vbr.c:1643:42: warning: unused parameter 'state' [-Wunused-parameter] 1643 | static int vbr_getintra_fixedquant(void *state) | ~~~~~~^~~~~ In file included from libmpcodecs/ve_raw.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c In file included from ./libmpdemux/aviheader.h:27, from libmpcodecs/ae_pcm.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_faac.o libmpcodecs/ae_faac.c In file included from libmpdemux/aviheader.h:27, from libmpdemux/muxer_rawaudio.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpdemux/aviheader.h:27, from libmpdemux/muxer_mpeg.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/muxer.c:26: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ae_pcm.c: In function 'set_decoded_len': libmpcodecs/ae_pcm.c:73:45: warning: unused parameter 'encoder' [-Wunused-parameter] 73 | static int set_decoded_len(audio_encoder_t *encoder, int len) | ~~~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ae_pcm.c: In function 'close_pcm': libmpcodecs/ae_pcm.c:78:39: warning: unused parameter 'encoder' [-Wunused-parameter] 78 | static int close_pcm(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ae_pcm.c: In function 'get_frame_size': libmpcodecs/ae_pcm.c:83:44: warning: unused parameter 'encoder' [-Wunused-parameter] 83 | static int get_frame_size(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from ./libmpdemux/aviheader.h:27, from ./libmpdemux/muxer.h:24, from libmpcodecs/ae.h:22, from mencoder.c:63: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_rawaudio.c: In function 'rawaudiofile_write_chunk': libmpdemux/muxer_rawaudio.c:67:80: warning: unused parameter 'flags' [-Wunused-parameter] 67 | static void rawaudiofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~~~~~~~^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_rawaudio.c:67:94: warning: unused parameter 'dts' [-Wunused-parameter] 67 | static void rawaudiofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawaudio.c:67:106: warning: unused parameter 'pts' [-Wunused-parameter] 67 | static void rawaudiofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawaudio.c: In function 'rawaudiofile_write_header': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_rawaudio.c:75:48: warning: unused parameter 'muxer' [-Wunused-parameter] 75 | static void rawaudiofile_write_header(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpdemux/muxer_rawaudio.c: In function 'rawaudiofile_write_index': libmpdemux/muxer_rawaudio.c:79:47: warning: unused parameter 'muxer' [-Wunused-parameter] 79 | static void rawaudiofile_write_index(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpcodecs/ve_raw.c: In function 'config': libmpcodecs/ve_raw.c:112:15: warning: unused parameter 'flags' [-Wunused-parameter] 112 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~ libmpcodecs/ve_raw.c: In function 'control': libmpcodecs/ve_raw.c:125:40: warning: unused parameter 'vf' [-Wunused-parameter] 125 | static int control(struct vf_instance *vf, int request, void *data) { | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/ve_raw.c:125:48: warning: unused parameter 'request' [-Wunused-parameter] 125 | static int control(struct vf_instance *vf, int request, void *data) { | ~~~~^~~~~~~ libmpcodecs/ve_raw.c:125:63: warning: unused parameter 'data' [-Wunused-parameter] 125 | static int control(struct vf_instance *vf, int request, void *data) { | ~~~~~~^~~~ libmpcodecs/ve_raw.c: In function 'query_format': libmpcodecs/ve_raw.c:129:45: warning: unused parameter 'vf' [-Wunused-parameter] 129 | static int query_format(struct vf_instance *vf, unsigned int fmt) { | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/ve_raw.c: In function 'vf_open': libmpcodecs/ve_raw.c:166:19: warning: assignment to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)'} from incompatible pointer type 'int (*)(struct vf_instance *, mp_image_t *, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double)'} [-Wincompatible-pointer-types] 166 | vf->put_image = put_image; | ^ libmpcodecs/ve_raw.c: At top level: libmpcodecs/ve_raw.c:186:1: warning: missing initializer for field 'opts' of 'vf_info_t' {aka 'const struct vf_info_s'} [-Wmissing-field-initializers] 186 | }; | ^ In file included from libmpcodecs/ve_raw.c:37: libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ libmpdemux/muxer_avi.c: In function 'write_avi_chunk': libmpdemux/muxer_avi.c:145:30: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 145 | stream_write_buffer(stream, &le_id, 4); | ^~~~~~ | | | int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:146:30: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 146 | stream_write_buffer(stream, &le_len, 4); | ^~~~~~~ | | | int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'write_avi_list': libmpdemux/muxer_avi.c:179:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 179 | stream_write_buffer(stream, &list_id, 4); | ^~~~~~~~ | | | unsigned int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:180:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 180 | stream_write_buffer(stream, &le_len, 4); | ^~~~~~~ | | | int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:181:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 181 | stream_write_buffer(stream, &le_id, 4); | ^~~~~~ | | | int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'avifile_odml_new_riff': libmpdemux/muxer_avi.c:202:40: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 202 | stream_write_buffer(muxer->stream, riff, 12); | ^~~~ | | | uint32_t * {aka unsigned int *} In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer.c: In function 'muxer_write_chunk': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/muxer.c:127:15: note: in expansion of macro 'MP_NOPTS_VALUE' 127 | if(dts == MP_NOPTS_VALUE) dts= s->timer; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/muxer.c:128:15: note: in expansion of macro 'MP_NOPTS_VALUE' 128 | if(pts == MP_NOPTS_VALUE) pts= s->timer; // this is wrong | ^~~~~~~~~~~~~~ libmpdemux/muxer_avi.c: In function 'avifile_write_header': libmpdemux/muxer_avi.c:254:45: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 254 | stream_write_buffer(muxer->stream,&rifflen,4); | ^~~~~~~~ | | | unsigned int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:259:49: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 259 | stream_write_buffer(muxer->stream,&movilen,4); | ^~~~~~~~ | | | unsigned int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:272:39: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 272 | stream_write_buffer(muxer->stream,&riff,12); | ^~~~~ | | | uint32_t (*)[3] {aka unsigned int (*)[3]} In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'uint32_t (*)[3]' {aka 'unsigned int (*)[3]'} 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c libmpdemux/muxer_mpeg.c: In function 'mpegfile_new_stream': libmpdemux/muxer_mpeg.c:426:33: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 426 | int v = (conf_vbuf_size ? conf_vbuf_size*1024 : | ^~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_avi.c:409:38: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 409 | stream_write_buffer(muxer->stream,idxhdr,sizeof(idxhdr)); | ^~~~~~ | | | unsigned int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:417:42: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 417 | stream_write_buffer(muxer->stream,data,sizeof(data)); | ^~~~ | | | unsigned int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_mpeg.c:463:34: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 463 | int a1 = (conf_abuf_size ? conf_abuf_size*1024 : | ^~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_avi.c:433:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 433 | info[0].text=mencoder_version; | ^ libmpdemux/muxer_avi.c: In function 'avifile_write_chunk': libmpdemux/muxer_avi.c:515:89: warning: unused parameter 'dts' [-Wunused-parameter] 515 | static void avifile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_avi.c:515:101: warning: unused parameter 'pts' [-Wunused-parameter] 515 | static void avifile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'avifile_odml_write_index': libmpdemux/muxer_avi.c:579:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 579 | for (i=0; iavih.dwStreams; i++) { | ^ libmpdemux/muxer_avi.c:645:37: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 645 | stream_write_buffer(muxer->stream, idxhdr,sizeof(idxhdr)); | ^~~~~~ | | | unsigned int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:651:41: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 651 | stream_write_buffer(muxer->stream, entry, sizeof(entry)); | ^~~~~ | | | unsigned int * In file included from ./libmpdemux/demuxer.h:27, from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./stream/stream.h:202:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 202 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_mpeg.c: In function 'calc_pes_hlen': libmpdemux/muxer_mpeg.c:806:77: warning: unused parameter 'priv' [-Wunused-parameter] 806 | static uint32_t calc_pes_hlen(int format, muxer_headers_t *h, muxer_priv_t *priv) | ~~~~~~~~~~~~~~^~~~ libmpdemux/muxer_mpeg.c: In function 'write_mpeg_pack': libmpdemux/muxer_mpeg.c:838:60: warning: unused parameter 's' [-Wunused-parameter] 838 | static int write_mpeg_pack(muxer_t *muxer, muxer_stream_t *s, stream_t *stream, int isoend) | ~~~~~~~~~~~~~~~~^ libmpdemux/muxer_mpeg.c: In function 'update_demux_bufsize': libmpdemux/muxer_mpeg.c:883:90: warning: unused parameter 'type' [-Wunused-parameter] 883 | static void update_demux_bufsize(muxer_headers_t *spriv, uint64_t dts, int framelen, int type) | ~~~~^~~~ In file included from libmpdemux/aviheader.h:25, from libmpdemux/muxer_mpeg.c:31: libmpdemux/muxer_mpeg.c: In function 'calc_packet_len': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/muxer_mpeg.c:947:7: note: in expansion of macro 'FFMIN' 947 | m = FFMIN(spriv->framebuf[n].size - frpos, psize - len); | ^~~~~ ffmpeg/libavutil/common.h:96:33: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/muxer_mpeg.c:947:7: note: in expansion of macro 'FFMIN' 947 | m = FFMIN(spriv->framebuf[n].size - frpos, psize - len); | ^~~~~ libmpdemux/muxer_mpeg.c:950:12: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 950 | if(frpos == spriv->framebuf[n].size) | ^~ libmpdemux/muxer_mpeg.c: In function 'find_packet_timestamps': libmpdemux/muxer_mpeg.c:999:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 999 | if(start + pes_hlen + m < priv->packet_size - threshold) | ^ In file included from libmpdemux/aviheader.h:25, from libmpdemux/muxer_mpeg.c:31: libmpdemux/muxer_mpeg.c: In function 'fill_packet': ffmpeg/libavutil/common.h:96:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/muxer_mpeg.c:1239:7: note: in expansion of macro 'FFMIN' 1239 | m = FFMIN(frm->size - frm->pos, priv->packet_size - spriv->pack_offset); | ^~~~~ ffmpeg/libavutil/common.h:96:33: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 96 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/muxer_mpeg.c:1239:7: note: in expansion of macro 'FFMIN' 1239 | m = FFMIN(frm->size - frm->pos, priv->packet_size - spriv->pack_offset); | ^~~~~ libmpdemux/muxer_mpeg.c: In function 'find_best_stream': libmpdemux/muxer_mpeg.c:1308:15: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1308 | for(i = 0; i < muxer->avih.dwStreams; i++) | ^ libmpdemux/muxer_mpeg.c: In function 'update_scr': libmpdemux/muxer_mpeg.c:1405:15: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1405 | for(i = 0; i < muxer->avih.dwStreams; i++) | ^ libmpdemux/muxer_mpeg.c:1415:15: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1415 | for(i = 0; i < muxer->avih.dwStreams; i++) | ^ libmpdemux/muxer_mpeg.c: In function 'flush_buffers': libmpdemux/muxer_mpeg.c:1502:15: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1502 | for(i = 0; i < muxer->avih.dwStreams; i++) | ^ libmpdemux/muxer_mpeg.c:1576:16: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1576 | if(skip_cnt == muxer->avih.dwStreams) | ^~ libmpdemux/muxer_mpeg.c: In function 'parse_mpeg12_video': libmpdemux/muxer_mpeg.c:1654:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1654 | while(i + 4 < len) | ^ libmpdemux/muxer_mpeg.c:1662:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1662 | if(i + 11 > len) | ^ libmpdemux/muxer_mpeg.c:1682:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1682 | if(i + 9 > len) | ^ libmpdemux/muxer_mpeg.c:1706:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1706 | if(i + 5 > len) | ^ libmpdemux/muxer_mpeg.c:1745:14: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1745 | if(temp_ref > spriv->max_tr || gop_reset) | ^ libmpdemux/muxer_mpeg.c: In function 'parse_mpeg4_video': libmpdemux/muxer_mpeg.c:1886:29: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1886 | if((delta > 0) && (delta > (vpriv->picture.timeinc_resolution/2))) | ^ libmpdemux/muxer_mpeg.c:1888:34: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 1888 | else if((delta < 0) && (delta < (-(vpriv->picture.timeinc_resolution/2)))) | ^ libmpdemux/muxer_mpeg.c:1849:66: warning: unused parameter 'priv' [-Wunused-parameter] 1849 | static size_t parse_mpeg4_video(muxer_stream_t *s, muxer_priv_t *priv, muxer_headers_t *vpriv, float fps, size_t len) | ~~~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c libmpdemux/muxer_mpeg.c:1849:102: warning: unused parameter 'fps' [-Wunused-parameter] 1849 | static size_t parse_mpeg4_video(muxer_stream_t *s, muxer_priv_t *priv, muxer_headers_t *vpriv, float fps, size_t len) | ~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c libmpdemux/muxer_mpeg.c: In function 'analyze_mpa': libmpdemux/muxer_mpeg.c:2034:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2034 | while(i < s->b_buffer_len + 3) | ^ libmpdemux/muxer_mpeg.c:2039:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2039 | if(len > 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ libmpdemux/muxer_mpeg.c:2039:63: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2039 | if(len > 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_lame.o libmpcodecs/ae_lame.c libmpdemux/muxer_mpeg.c: In function 'parse_audio': libmpdemux/muxer_mpeg.c:2084:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2084 | if(i + 3 >= s->b_buffer_len) | ^~ mencoder.c: In function 'config_video_out': mencoder.c:201:44: warning: unused parameter 'vo' [-Wunused-parameter] 201 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~~~~~~~~~~~~~~^~ mencoder.c:201:57: warning: unused parameter 'width' [-Wunused-parameter] 201 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~ mencoder.c:201:73: warning: unused parameter 'height' [-Wunused-parameter] 201 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~~ mencoder.c:202:31: warning: unused parameter 'd_width' [-Wunused-parameter] 202 | uint32_t d_width, uint32_t d_height, uint32_t flags, | ~~~~~~~~~^~~~~~~ libmpdemux/muxer_mpeg.c:2093:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2093 | if(len > 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len) | ^~ mencoder.c:202:49: warning: unused parameter 'd_height' [-Wunused-parameter] 202 | uint32_t d_width, uint32_t d_height, uint32_t flags, | ~~~~~~~~~^~~~~~~~ mencoder.c:202:68: warning: unused parameter 'flags' [-Wunused-parameter] 202 | uint32_t d_width, uint32_t d_height, uint32_t flags, | ~~~~~~~~~^~~~~ mencoder.c:203:28: warning: unused parameter 'title' [-Wunused-parameter] 203 | char *title, uint32_t format) { | ~~~~~~^~~~~ mencoder.c:203:44: warning: unused parameter 'format' [-Wunused-parameter] 203 | char *title, uint32_t format) { | ~~~~~~~~~^~~~~~ mencoder.c: In function 'mplayer_put_key': mencoder.c:212:26: warning: unused parameter 'code' [-Wunused-parameter] 212 | void mplayer_put_key(int code) | ~~~~^~~~ libmpdemux/muxer_mpeg.c:2093:65: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2093 | if(len > 0 && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len) | ^~ libmpdemux/muxer_mpeg.c:2107:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2107 | if(i + 6 >= s->b_buffer_len) | ^~ libmpdemux/muxer_mpeg.c:2117:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2117 | if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ libmpdemux/muxer_mpeg.c:2117:67: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2117 | if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ libmpdemux/muxer_mpeg.c:2132:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2132 | if(i + 7 >= s->b_buffer_len) | ^~ libmpdemux/muxer_mpeg.c:2141:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2141 | if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ libmpdemux/muxer_mpeg.c:2141:67: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2141 | if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ libmpdemux/muxer_mpeg.c:2062:108: warning: unused parameter 'drop' [-Wunused-parameter] 2062 | static int parse_audio(muxer_stream_t *s, int finalize, unsigned int *nf, double *timer, double delay, int drop) | ~~~~^~~~ libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_chunk': In file included from libmpdemux/aviheader.h:27, from libmpdemux/muxer_rawvideo.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_mpeg.c:2288:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2288 | if(s->buffer == NULL || len == -1) | ^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2278:76: warning: unused parameter 'flags' [-Wunused-parameter] 2278 | static void mpegfile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts_arg, double pts_arg) | ~~~~~~~~~~~~~^~~~~ libmpdemux/muxer_mpeg.c:2278:90: warning: unused parameter 'dts_arg' [-Wunused-parameter] 2278 | static void mpegfile_write_chunk(muxer_stream_t *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] 2278 | static void mpegfile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts_arg, double pts_arg) | ~~~~~~~^~~~~~~ libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_index': libmpdemux/muxer_mpeg.c:2389:15: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 2389 | for(i = 0; i < muxer->avih.dwStreams; i++) | ^ libmpdemux/muxer_rawvideo.c: In function 'rawvideofile_write_chunk': libmpdemux/muxer_mpeg.c: In function 'generate_flags': libmpdemux/muxer_rawvideo.c:67:80: warning: unused parameter 'flags' [-Wunused-parameter] 67 | static void rawvideofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~~~~~~~^~~~~ In file included from ./libmpdemux/aviheader.h:27, from libmpcodecs/ae_faac.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_rawvideo.c:67:94: warning: unused parameter 'dts' [-Wunused-parameter] 67 | static void rawvideofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawvideo.c:67:106: warning: unused parameter 'pts' [-Wunused-parameter] 67 | static void rawvideofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawvideo.c: In function 'rawvideofile_write_header': libmpdemux/muxer_rawvideo.c:78:48: warning: unused parameter 'muxer' [-Wunused-parameter] 78 | static void rawvideofile_write_header(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpdemux/muxer_rawvideo.c: In function 'rawvideofile_write_index': libmpdemux/muxer_rawvideo.c:82:47: warning: unused parameter 'muxer' [-Wunused-parameter] 82 | static void rawvideofile_write_index(muxer_t *muxer){ | ~~~~~~~~~^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2482:10: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2482 | if(tfl >= source) | ^~ In file included from cfg-mencoder.h:34, from mencoder.c:246: cfg-common.h: At top level: cfg-common.h:301:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 301 | {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c cfg-common.h:314:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 314 | {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL}, | ^~~~~~~~~~~~~ libmpcodecs/ae_faac.c: In function 'get_frame_size': In file included from cfg-mencoder.h:34, from mencoder.c:246: cfg-common.h:431:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ libmpcodecs/ae_faac.c:112:44: warning: unused parameter 'encoder' [-Wunused-parameter] 112 | static int get_frame_size(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ cfg-common.h:432:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ libmpcodecs/ae_faac.c: In function 'close_faac': libmpcodecs/ae_faac.c:133:40: warning: unused parameter 'encoder' [-Wunused-parameter] 133 | static int close_faac(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ cfg-common.h:435:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 435 | { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:448:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, | ^~~~~~~~~~~ cfg-common.h:450:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 450 | {"radio", radioopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:455:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-common.h:460:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | {"pvr", pvropts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~ cfg-common.h:464:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 464 | {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-common.h:466:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 466 | {"dvbin", dvbin_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~ cfg-common.h:506:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 506 | {"af-adv", audio_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~ cfg-common.h:509:65: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 509 | {"vf*", &vf_settings, CONF_TYPE_OBJ_SETTINGS_LIST, 0, 0, 0, &vf_obj_list}, | ^ libmpdemux/muxer_mpeg.c: In function 'parse_audio': cfg-common.h:519:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 519 | {"pphelp", pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, | ^~~~~~~ cfg-common.h:524:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 524 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2079:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 2079 | mp_msg(MSGT_MUXER, MSGL_ERR, "Unknown audio format, assuming MP2/3, use -fafmttag!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2081:3: note: here 2081 | case AUDIO_MP2: | ^~~~ cfg-common.h:546:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 546 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~~ cfg-common.h:547:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 547 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:550:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 550 | {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ In file included from ./libmpdemux/aviheader.h:27, from libmpcodecs/ae_lavc.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from mencoder.c:246: cfg-mencoder.h:190:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~ cfg-mencoder.h:191:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~ cfg-mencoder.h:194:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~ cfg-mencoder.h:221:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 221 | {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mencoder.h:226:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:229:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ In file included from mencoder.c:246: cfg-mencoder.h:244:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 244 | {"faacopts", faacopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:252:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 252 | {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~ cfg-mencoder.h:261:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:263:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ mencoder.c: In function 'exit_sighandler': mencoder.c:308:33: warning: unused parameter 'x' [-Wunused-parameter] 308 | static void exit_sighandler(int x){ | ~~~~^ In file included from libmpcodecs/vf.h:118, from mencoder.c:68: mencoder.c: In function 'adjusted_muxer_time': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:362:23: note: in expansion of macro 'MP_NOPTS_VALUE' 362 | if (! mux) return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ mencoder.c: In function 'forward_audio': mencoder.c:402:59: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 402 | avg = (sh_audio->wf ? sh_audio->wf->nAvgBytesPerSec : sh_audio->i_bps); | ^~~~~~~~~~~~~~~ In file included from libmpcodecs/vf.h:118, from mencoder.c:68: mencoder.c: In function 'slowseek': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:466:109: note: in expansion of macro 'MP_NOPTS_VALUE' 466 | void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:466:125: note: in expansion of macro 'MP_NOPTS_VALUE' 466 | void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:468:41: note: in expansion of macro 'MP_NOPTS_VALUE' 468 | filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:468:57: note: in expansion of macro 'MP_NOPTS_VALUE' 468 | filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ make[1]: Entering directory '/home/buildozer/aports/community/mplayer/src/MPlayer-1.4/ffmpeg' mencoder.c: In function 'main': mencoder.c:829:73: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 829 | vobsub_writer=vobsub_out_open(vobsub_out, stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL, | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_xvid4.o libmpcodecs/ve_xvid4.c mencoder.c:923:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 923 | (mux_v->bih->biCompression != sh_video->format)) { | ^~ GEN libavutil/libavutil.version gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/vidix.o vidix/vidix.c In file included from ./libmpdemux/aviheader.h:27, from libmpcodecs/ae_lame.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ GEN libswscale/libswscale.version mencoder.c:1363:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1363 | if(sz > 0 && mux_a->buffer_len >= sz) | ^~ In file included from libmpcodecs/vf.h:118, from mencoder.c:68: ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1404:55: note: in expansion of macro 'MP_NOPTS_VALUE' 1404 | muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1404:71: note: in expansion of macro 'MP_NOPTS_VALUE' 1404 | muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ mencoder.c:1408:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1408 | if(mux_a->buffer_len>=bytes_to_mux){ | ^~ make[1]: Entering directory '/home/buildozer/aports/community/mplayer/src/MPlayer-1.4/ffmpeg' GEN libswresample/libswresample.version libmpcodecs/ve_lavc.c: In function 'config': In file included from libmpcodecs/vf.h:118, from mencoder.c:68: ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1494:107: note: in expansion of macro 'MP_NOPTS_VALUE' 1494 | if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:347:5: warning: 'b_frame_strategy' is deprecated [-Wdeprecated-declarations] 347 | lavc_venc_context->b_frame_strategy= lavc_param_vb_strategy; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:1833:9: note: declared here 1833 | int b_frame_strategy; | ^~~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:349:5: warning: 'rtp_payload_size' is deprecated [-Wdeprecated-declarations] 349 | lavc_venc_context->rtp_payload_size= lavc_param_packet_size; | ^~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1494:123: note: in expansion of macro 'MP_NOPTS_VALUE' 1494 | if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2537:9: note: declared here 2537 | int rtp_payload_size; /* The size of the RTP payload: the coder will */ | ^~~~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:27, from libmpdemux/muxer_lavf.c:30: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/ve_lavc.c:366:5: warning: 'pre_me' is deprecated [-Wdeprecated-declarations] 366 | lavc_venc_context->pre_me= lavc_param_pre_me; | ^~~~~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:1999:9: note: declared here 1999 | int pre_me; | ^~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:371:5: warning: 'coder_type' is deprecated [-Wdeprecated-declarations] 371 | lavc_venc_context->coder_type= lavc_param_coder; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2472:9: note: declared here 2472 | int coder_type; | ^~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:372:5: warning: 'context_model' is deprecated [-Wdeprecated-declarations] 372 | lavc_venc_context->context_model= lavc_param_context; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2478:9: note: declared here 2478 | int context_model; | ^~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:373:5: warning: 'scenechange_threshold' is deprecated [-Wdeprecated-declarations] 373 | lavc_venc_context->scenechange_threshold= lavc_param_sc_threshold; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2069:9: note: declared here 2069 | int scenechange_threshold; | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:374:5: warning: 'noise_reduction' is deprecated [-Wdeprecated-declarations] 374 | lavc_venc_context->noise_reduction= lavc_param_noise_reduction; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2073:9: note: declared here 2073 | int noise_reduction; | ^~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:376:5: warning: 'frame_skip_threshold' is deprecated [-Wdeprecated-declarations] 376 | lavc_venc_context->frame_skip_threshold= lavc_param_skip_threshold; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2484:9: note: declared here 2484 | int frame_skip_threshold; | ^~~~~~~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:377:5: warning: 'frame_skip_factor' is deprecated [-Wdeprecated-declarations] 377 | lavc_venc_context->frame_skip_factor= lavc_param_skip_factor; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2488:9: note: declared here 2488 | int frame_skip_factor; | ^~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1498:74: note: in expansion of macro 'MP_NOPTS_VALUE' 1498 | if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:378:5: warning: 'frame_skip_exp' is deprecated [-Wdeprecated-declarations] 378 | lavc_venc_context->frame_skip_exp= lavc_param_skip_exp; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2492:9: note: declared here 2492 | int frame_skip_exp; | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:379:5: warning: 'frame_skip_cmp' is deprecated [-Wdeprecated-declarations] 379 | lavc_venc_context->frame_skip_cmp= lavc_param_skip_cmp; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2496:9: note: declared here 2496 | int frame_skip_cmp; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_x264.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1498:90: note: in expansion of macro 'MP_NOPTS_VALUE' 1498 | if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:430:39: warning: assignment to 'RcOverride *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 430 | lavc_venc_context->rc_override= | ^ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1507:52: note: in expansion of macro 'MP_NOPTS_VALUE' 1507 | drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:447:5: warning: 'mpeg_quant' is deprecated [-Wdeprecated-declarations] 447 | lavc_venc_context->mpeg_quant=lavc_param_mpeg_quant; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:1854:9: note: declared here 1854 | int mpeg_quant; | ^~~~~~~~~~ GEN libpostproc/libpostproc.version ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1507:68: note: in expansion of macro 'MP_NOPTS_VALUE' 1507 | drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ GEN libavcodec/libavcodec.version ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1510:38: note: in expansion of macro 'MP_NOPTS_VALUE' 1510 | if (did_seek && sh_video->pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ libmpcodecs/ae_lavc.c: In function 'encode_lavc': libmpcodecs/ae_lavc.c:118:41: warning: unused parameter 'encoder' [-Wunused-parameter] 118 | static int encode_lavc(audio_encoder_t *encoder, uint8_t *dest, void *src, int size, int max_size) | ~~~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ae_lavc.c: In function 'close_lavc': libmpcodecs/ae_lavc.c:127:40: warning: unused parameter 'encoder' [-Wunused-parameter] 127 | static int close_lavc(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ae_lavc.c: In function 'get_frame_size': libmpcodecs/ae_lavc.c:133:44: warning: unused parameter 'encoder' [-Wunused-parameter] 133 | static int get_frame_size(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1520:100: note: in expansion of macro 'MP_NOPTS_VALUE' 1520 | blit_frame = decoded_frame && filter_video(sh_video, decoded_frame, v_muxer_time + sub_offset, MP_NOPTS_VALUE);} | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:537:5: warning: 'prediction_method' is deprecated [-Wdeprecated-declarations] 537 | lavc_venc_context->prediction_method= lavc_param_prediction_method; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:1918:10: note: declared here 1918 | int prediction_method; | ^~~~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:538:5: warning: 'brd_scale' is deprecated [-Wdeprecated-declarations] 538 | lavc_venc_context->brd_scale = lavc_param_brd_scale; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2128:9: note: declared here 2128 | int brd_scale; | ^~~~~~~~~ libmpcodecs/ve_lavc.c:549:5: warning: 'b_sensitivity' is deprecated [-Wdeprecated-declarations] 549 | lavc_venc_context->b_sensitivity = lavc_param_b_sensitivity; | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2161:9: note: declared here 2161 | int b_sensitivity; | ^~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1560:35: note: in expansion of macro 'MP_NOPTS_VALUE' 1560 | muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:614:4: warning: 'noise_reduction' is deprecated [-Wdeprecated-declarations] 614 | lavc_venc_context->noise_reduction = 0; // nr=0 | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2073:9: note: declared here 2073 | int noise_reduction; | ^~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1560:51: note: in expansion of macro 'MP_NOPTS_VALUE' 1560 | muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/ae_lame.c: In function 'close_lame': libmpcodecs/ae_lame.c:150:40: warning: unused parameter 'encoder' [-Wunused-parameter] 150 | static int close_lame(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ve_lavc.c:310:15: warning: unused parameter 'flags' [-Wunused-parameter] 310 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~ libmpcodecs/ve_lavc.c:310:35: warning: unused parameter 'outfmt' [-Wunused-parameter] 310 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_lavc.c:52: libmpcodecs/ve_lavc.c: In function 'control': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_lavc.c:671:46: note: in expansion of macro 'MP_NOPTS_VALUE' 671 | while(encode_frame(vf, NULL, MP_NOPTS_VALUE) > 0); | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:666:63: warning: unused parameter 'data' [-Wunused-parameter] 666 | static int control(struct vf_instance *vf, int request, void* data){ | ~~~~~~^~~~ libmpcodecs/ve_lavc.c: In function 'query_format': libmpcodecs/ve_lavc.c:685:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 685 | if(lavc_param_format == fmt) | ^~ libmpcodecs/ve_lavc.c:678:45: warning: unused parameter 'vf' [-Wunused-parameter] 678 | static int query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~~~~~~~~^~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_lavc.c:52: libmpcodecs/ve_lavc.c: In function 'encode_frame': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_lavc.c:725:15: note: in expansion of macro 'MP_NOPTS_VALUE' 725 | if(pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_lavc.c:733:19: note: in expansion of macro 'MP_NOPTS_VALUE' 733 | if(pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_lavc.c:736:23: note: in expansion of macro 'MP_NOPTS_VALUE' 736 | pic->pts= MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:742:5: warning: 'avcodec_encode_video2' is deprecated [-Wdeprecated-declarations] 742 | res = avcodec_encode_video2(lavc_venc_context, &pkt, pic, &got_pkt); | ^~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:5449:5: note: declared here 5449 | int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, | ^~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_lavc.c:52: ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_lavc.c:758:17: note: in expansion of macro 'MP_NOPTS_VALUE' 758 | dts = pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ GEN libavutil/libavutil.version libmpcodecs/ve_lavc.c:793:2: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 793 | q = lavc_venc_context->coded_frame->qscale_table; | ^ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:793:2: warning: 'qscale_table' is deprecated [-Wdeprecated-declarations] 793 | q = lavc_venc_context->coded_frame->qscale_table; | ^ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:588:13: note: declared here 588 | int8_t *qscale_table; | ^~~~~~~~~~~~ libmpcodecs/ve_lavc.c:801:3: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 801 | q += lavc_venc_context->coded_frame->qstride; | ^ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:801:3: warning: 'qstride' is deprecated [-Wdeprecated-declarations] 801 | q += lavc_venc_context->coded_frame->qstride; | ^ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:593:9: note: declared here 593 | int qstride; | ^~~~~~~ libmpcodecs/ve_lavc.c:805:6: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 805 | quality = lavc_venc_context->coded_frame->quality / (float)FF_QP2LAMBDA; | ^~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:808:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 808 | lavc_venc_context->coded_frame->coded_picture_number, | ^~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:811:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 811 | psnr(lavc_venc_context->coded_frame->error[0]/f), | ^~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:811:13: warning: 'error' is deprecated [-Wdeprecated-declarations] 811 | psnr(lavc_venc_context->coded_frame->error[0]/f), | ^~~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:403:14: note: declared here 403 | uint64_t error[AV_NUM_DATA_POINTERS]; | ^~~~~ libmpcodecs/ve_lavc.c:812:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 812 | psnr(lavc_venc_context->coded_frame->error[1]*4/f), | ^~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:812:13: warning: 'error' is deprecated [-Wdeprecated-declarations] 812 | psnr(lavc_venc_context->coded_frame->error[1]*4/f), | ^~~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:403:14: note: declared here 403 | uint64_t error[AV_NUM_DATA_POINTERS]; | ^~~~~ libmpcodecs/ve_lavc.c:813:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 813 | psnr(lavc_venc_context->coded_frame->error[2]*4/f), | ^~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:813:13: warning: 'error' is deprecated [-Wdeprecated-declarations] 813 | psnr(lavc_venc_context->coded_frame->error[2]*4/f), | ^~~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:403:14: note: declared here 403 | uint64_t error[AV_NUM_DATA_POINTERS]; | ^~~~~ libmpcodecs/ve_lavc.c:814:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 814 | psnr((lavc_venc_context->coded_frame->error[0]+lavc_venc_context->coded_frame->error[1]+lavc_venc_context->coded_frame->error[2])/(f*1.5)), | ^~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:814:13: warning: 'error' is deprecated [-Wdeprecated-declarations] 814 | psnr((lavc_venc_context->coded_frame->error[0]+lavc_venc_context->coded_frame->error[1]+lavc_venc_context->coded_frame->error[2])/(f*1.5)), | ^~~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:403:14: note: declared here 403 | uint64_t error[AV_NUM_DATA_POINTERS]; | ^~~~~ libmpcodecs/ve_lavc.c:814:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 814 | psnr((lavc_venc_context->coded_frame->error[0]+lavc_venc_context->coded_frame->error[1]+lavc_venc_context->coded_frame->error[2])/(f*1.5)), | ^~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:814:13: warning: 'error' is deprecated [-Wdeprecated-declarations] 814 | psnr((lavc_venc_context->coded_frame->error[0]+lavc_venc_context->coded_frame->error[1]+lavc_venc_context->coded_frame->error[2])/(f*1.5)), | ^~~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:403:14: note: declared here 403 | uint64_t error[AV_NUM_DATA_POINTERS]; | ^~~~~ libmpcodecs/ve_lavc.c:814:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 814 | psnr((lavc_venc_context->coded_frame->error[0]+lavc_venc_context->coded_frame->error[1]+lavc_venc_context->coded_frame->error[2])/(f*1.5)), | ^~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c:814:13: warning: 'error' is deprecated [-Wdeprecated-declarations] 814 | psnr((lavc_venc_context->coded_frame->error[0]+lavc_venc_context->coded_frame->error[1]+lavc_venc_context->coded_frame->error[2])/(f*1.5)), | ^~~~ In file included from ffmpeg/libavcodec/avcodec.h:38, from libmpcodecs/ve_lavc.c:57: ffmpeg/libavutil/frame.h:403:14: note: declared here 403 | uint64_t error[AV_NUM_DATA_POINTERS]; | ^~~~~ libmpcodecs/ve_lavc.c:815:13: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 815 | pict_type_char[lavc_venc_context->coded_frame->pict_type] | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c: In function 'uninit': GEN libswscale/libswscale.version libmpcodecs/ve_lavc.c:827:9: warning: 'coded_frame' is deprecated [-Wdeprecated-declarations] 827 | f*= lavc_venc_context->coded_frame->coded_picture_number; | ^ In file included from libmpcodecs/ve_lavc.c:57: ffmpeg/libavcodec/avcodec.h:2805:35: note: declared here 2805 | attribute_deprecated AVFrame *coded_frame; | ^~~~~~~~~~~ libmpcodecs/ve_lavc.c: In function 'vf_open': libmpcodecs/ve_lavc.c:861:18: warning: assignment to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)'} from incompatible pointer type 'int (*)(struct vf_instance *, mp_image_t *, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double)'} [-Wincompatible-pointer-types] 861 | vf->put_image=put_image; | ^ GEN libswresample/libswresample.version libmpcodecs/ve_lavc.c: At top level: libmpcodecs/ve_lavc.c:981:1: warning: missing initializer for field 'opts' of 'vf_info_t' {aka 'const struct vf_info_s'} [-Wmissing-field-initializers] 981 | }; | ^ In file included from libmpcodecs/ve_lavc.c:52: libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ GEN libpostproc/libpostproc.version make[1]: Entering directory '/home/buildozer/aports/community/mplayer/src/MPlayer-1.4/ffmpeg' GEN libavcodec/libavcodec.version GEN libavutil/libavutil.version make[1]: Entering directory '/home/buildozer/aports/community/mplayer/src/MPlayer-1.4/ffmpeg' GEN libavformat/libavformat.version GEN libavutil/libavutil.version GEN libswscale/libswscale.version GEN libavfilter/libavfilter.version GEN libavdevice/libavdevice.version GEN libswscale/libswscale.version GEN libswresample/libswresample.version GEN libswresample/libswresample.version GEN libpostproc/libpostproc.version GEN libavcodec/libavcodec.version GEN libpostproc/libpostproc.version libmpcodecs/ve_x264.c: In function 'x264enc_set_param': libmpcodecs/ve_x264.c:68:42: warning: unused parameter 'opt' [-Wunused-parameter] 68 | void x264enc_set_param(const m_option_t* opt, char* arg) | ~~~~~~~~~~~~~~~~~~^~~ libmpcodecs/ve_x264.c: In function 'config': libmpcodecs/ve_x264.c:145:106: warning: unused parameter 'flags' [-Wunused-parameter] 145 | static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) { | ~~~~~~~~~~~~~^~~~~ libmpcodecs/ve_x264.c: In function 'control': libmpcodecs/ve_x264.c:205:63: warning: unused parameter 'data' [-Wunused-parameter] 205 | static int control(struct vf_instance *vf, int request, void *data) | ~~~~~~^~~~ libmpdemux/muxer_lavf.c: In function 'mp_seek': libmpcodecs/ve_x264.c: In function 'query_format': libmpdemux/muxer_lavf.c:99:95: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 99 | if(stream_control(muxer->stream, STREAM_CTRL_GET_SIZE, &size) == STREAM_UNSUPPORTED || size < pos) | ^ libmpcodecs/ve_x264.c:218:45: warning: unused parameter 'vf' [-Wunused-parameter] 218 | static int query_format(struct vf_instance *vf, unsigned int fmt) | ~~~~~~~~~~~~~~~~~~~~^~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_x264.c:50: libmpcodecs/ve_x264.c: In function 'encode_frame': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_x264.c:274:72: note: in expansion of macro 'MP_NOPTS_VALUE' 274 | muxer_write_chunk(mod->mux, i_size, keyframe?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_xvid4.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_x264.c:274:88: note: in expansion of macro 'MP_NOPTS_VALUE' 274 | muxer_write_chunk(mod->mux, i_size, keyframe?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:289:11: note: in expansion of macro 'MP_NOPTS_VALUE' 289 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c: In function 'lavf_new_stream': libmpdemux/muxer_lavf.c:157:2: warning: 'codec' is deprecated [-Wdeprecated-declarations] 157 | ctx = spriv->avstream->codec; | ^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:290:14: note: in expansion of macro 'MP_NOPTS_VALUE' 290 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:291:20: note: in expansion of macro 'MP_NOPTS_VALUE' 291 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ve_x264.c: In function 'vf_open': libmpcodecs/ve_x264.c:296:19: warning: assignment to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)'} from incompatible pointer type 'int (*)(struct vf_instance *, mp_image_t *, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double)'} [-Wincompatible-pointer-types] 296 | vf->put_image = put_image; | ^ In file included from libmpdemux/muxer_lavf.c:40: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ GEN libavcodec/libavcodec.version libmpdemux/muxer_lavf.c: In function 'fix_parameters': libmpdemux/muxer_lavf.c:180:2: warning: 'codec' is deprecated [-Wdeprecated-declarations] 180 | AVCodecContext *ctx = spriv->avstream->codec; | ^~~~~~~~~~~~~~ libmpcodecs/ve_x264.c: At top level: In file included from libmpdemux/muxer_lavf.c:40: ffmpeg/libavformat/avformat.h:885:21: note: declared here 885 | AVCodecContext *codec; | ^~~~~ libmpcodecs/ve_x264.c:317:1: warning: missing initializer for field 'opts' of 'vf_info_t' {aka 'const struct vf_info_s'} [-Wmissing-field-initializers] 317 | }; | ^ In file included from libmpcodecs/ve_x264.c:50: libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ libmpdemux/muxer_lavf.c:234:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 234 | if(stream->bih->biSize > sizeof(*stream->bih)) | ^ GEN libavformat/libavformat.version libmpdemux/muxer_lavf.c: In function 'write_trailer': libmpdemux/muxer_lavf.c:311:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 311 | for(i = 0; i < priv->oc->nb_streams; i++) | ^ libmpdemux/muxer_lavf.c: In function 'list_formats': libmpdemux/muxer_lavf.c:324:2: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations] 324 | for (fmt = av_oformat_next(NULL); fmt; fmt = av_oformat_next(fmt)) | ^~~ In file included from libmpdemux/muxer_lavf.c:40: ffmpeg/libavformat/avformat.h:2095:17: note: declared here 2095 | AVOutputFormat *av_oformat_next(const AVOutputFormat *f); | ^~~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c:324:2: warning: 'av_oformat_next' is deprecated [-Wdeprecated-declarations] 324 | for (fmt = av_oformat_next(NULL); fmt; fmt = av_oformat_next(fmt)) | ^~~ In file included from libmpdemux/muxer_lavf.c:40: ffmpeg/libavformat/avformat.h:2095:17: note: declared here 2095 | AVOutputFormat *av_oformat_next(const AVOutputFormat *f); | ^~~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c: In function 'muxer_init_muxer_lavf': libmpdemux/muxer_lavf.c:371:13: warning: 'filename' is deprecated [-Wdeprecated-declarations] 371 | av_strlcpy(priv->oc->filename, src, sizeof(priv->oc->filename)); | ^~~~~~~~~~ In file included from libmpdemux/muxer_lavf.c:40: ffmpeg/libavformat/avformat.h:1424:10: note: declared here 1424 | char filename[1024]; | ^~~~~~~~ libmpdemux/muxer_lavf.c:371:13: warning: 'filename' is deprecated [-Wdeprecated-declarations] 371 | av_strlcpy(priv->oc->filename, src, sizeof(priv->oc->filename)); | ^~~~~~~~~~ In file included from libmpdemux/muxer_lavf.c:40: ffmpeg/libavformat/avformat.h:1424:10: note: declared here 1424 | char filename[1024]; | ^~~~~~~~ make[1]: Entering directory '/home/buildozer/aports/community/mplayer/src/MPlayer-1.4/ffmpeg' libmpdemux/muxer_lavf.c: In function 'write_header': libmpdemux/muxer_lavf.c:298:2: warning: ignoring return value of 'avformat_write_header' declared with attribute 'warn_unused_result' [-Wunused-result] 298 | avformat_write_header(priv->oc, &opts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GEN libavfilter/libavfilter.version make[1]: Entering directory '/home/buildozer/aports/community/mplayer/src/MPlayer-1.4/ffmpeg' GEN libavutil/libavutil.version GEN libavdevice/libavdevice.version gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/drivers.o vidix/drivers.c GEN libswscale/libswscale.version gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/dha.o vidix/dha.c GEN libavutil/libavutil.version GEN libavformat/libavformat.version GEN libswresample/libswresample.version GEN libpostproc/libpostproc.version GEN libavformat/libavformat.version GEN libavcodec/libavcodec.version GEN libswscale/libswscale.version GEN libswresample/libswresample.version libmpcodecs/ve_xvid4.c: In function 'config': libmpcodecs/ve_xvid4.c:394:21: warning: unused parameter 'flags' [-Wunused-parameter] 394 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~ libmpcodecs/ve_xvid4.c:394:41: warning: unused parameter 'outfmt' [-Wunused-parameter] 394 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/ve_xvid4.c: In function 'control': libmpcodecs/ve_xvid4.c:489:52: warning: unused parameter 'data' [-Wunused-parameter] 489 | control(struct vf_instance *vf, int request, void* data) | ~~~~~~^~~~ libmpcodecs/ve_xvid4.c: In function 'query_format': libmpcodecs/ve_xvid4.c:507:34: warning: unused parameter 'vf' [-Wunused-parameter] 507 | query_format(struct vf_instance *vf, unsigned int fmt) | ~~~~~~~~~~~~~~~~~~~~^~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_xvid4.c:51: libmpcodecs/ve_xvid4.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:574:53: note: in expansion of macro 'MP_NOPTS_VALUE' 574 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ GEN libavfilter/libavfilter.version ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:574:69: note: in expansion of macro 'MP_NOPTS_VALUE' 574 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c: In function 'vf_open': libmpcodecs/ve_xvid4.c:596:19: warning: assignment to 'int (*)(struct vf_instance *, mp_image_t *, double, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double, double)'} from incompatible pointer type 'int (*)(struct vf_instance *, mp_image_t *, double)' {aka 'int (*)(struct vf_instance *, struct mp_image *, double)'} [-Wincompatible-pointer-types] 596 | vf->put_image = put_image; | ^ GEN libavfilter/libavfilter.version GEN libpostproc/libpostproc.version GEN libavdevice/libavdevice.version GEN libavcodec/libavcodec.version In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_xvid4.c:51: libmpcodecs/ve_xvid4.c: In function 'flush_internal_buffers': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:1353:53: note: in expansion of macro 'MP_NOPTS_VALUE' 1353 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:1353:69: note: in expansion of macro 'MP_NOPTS_VALUE' 1353 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ GEN libavdevice/libavdevice.version libmpcodecs/ve_xvid4.c: At top level: libmpcodecs/ve_xvid4.c:1562:1: warning: missing initializer for field 'opts' of 'vf_info_t' {aka 'const struct vf_info_s'} [-Wmissing-field-initializers] 1562 | }; | ^ In file included from libmpcodecs/ve_xvid4.c:51: libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/mtrr.o vidix/mtrr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/pci.o vidix/pci.c GEN libavformat/libavformat.version make[1]: Entering directory '/home/buildozer/aports/community/mplayer/src/MPlayer-1.4/ffmpeg' GEN libavfilter/libavfilter.version GEN libavformat/libavformat.version GEN libavutil/libavutil.version GEN libavdevice/libavdevice.version GEN libswscale/libswscale.version GEN libswresample/libswresample.version GEN libavfilter/libavfilter.version GEN libpostproc/libpostproc.version GEN libavdevice/libavdevice.version GEN libavcodec/libavcodec.version gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/pci_names.o vidix/pci_names.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/pci_dev_ids.o vidix/pci_dev_ids.c GEN libavformat/libavformat.version GEN libavfilter/libavfilter.version gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/cyberblade_vid.o vidix/cyberblade_vid.c GEN libavdevice/libavdevice.version gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/mach64_vid.o vidix/mach64_vid.c In file included from vidix/pci.c:67: vidix/sysdep/pci_linux.c: In function 'pci_get_vendor': vidix/sysdep/pci_linux.c:163:15: warning: unused parameter 'func' [-Wunused-parameter] 163 | int func) | ~~~~^~~~ vidix/sysdep/pci_linux.c: In function 'pci_config_read_long': vidix/sysdep/pci_linux.c:192:15: warning: unused parameter 'func' [-Wunused-parameter] 192 | int func, | ~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/mga_vid.o vidix/mga_vid.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/mga_crtc2_vid.o vidix/mga_crtc2_vid.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/nvidia_vid.o vidix/nvidia_vid.c vidix/cyberblade_vid.c: In function 'cyberblade_probe': vidix/cyberblade_vid.c:115:46: warning: unused parameter 'force' [-Wunused-parameter] 115 | static int cyberblade_probe(int verbose, int force) | ~~~~^~~~~ vidix/cyberblade_vid.c: In function 'cyberblade_set_eq': vidix/cyberblade_vid.c:306:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 306 | if (cr < 0) cr = 0; if(cr > 7) cr = 7; | ^~ vidix/cyberblade_vid.c:306:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 306 | if (cr < 0) cr = 0; if(cr > 7) cr = 7; | ^~ vidix/cyberblade_vid.c:310:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 310 | if (br < 0) br = 0; if(br > 63) br = 63; | ^~ vidix/cyberblade_vid.c:310:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 310 | if (br < 0) br = 0; if(br > 63) br = 63; | ^~ vidix/cyberblade_vid.c:314:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 314 | if (sat < 0) sat = 0; if(sat > 31) sat = 31; | ^~ vidix/cyberblade_vid.c:314:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 314 | if (sat < 0) sat = 0; if(sat > 31) sat = 31; | ^~ vidix/cyberblade_vid.c: At top level: vidix/cyberblade_vid.c:595:12: warning: initialized field overwritten [-Woverride-init] 595 | .probe = cyberblade_probe, | ^~~~~~~~~~~~~~~~ vidix/cyberblade_vid.c:595:12: note: (near initialization for 'cyberblade_drv.probe') In file included from vidix/mga_crtc2_vid.c:3: vidix/mga_vid.c: In function 'mga_probe': vidix/mga_vid.c:1084:38: warning: unused parameter 'force' [-Wunused-parameter] 1084 | static int mga_probe(int verbose,int force) | ~~~~^~~~~ vidix/mga_vid.c: At top level: vidix/mga_vid.c:1388:12: warning: initialized field overwritten [-Woverride-init] 1388 | .probe = mga_probe, | ^~~~~~~~~ vidix/mga_vid.c:1388:12: note: (near initialization for 'mga_crtc2_drv.probe') vidix/mga_vid.c: In function 'mga_probe': vidix/mga_vid.c:1084:38: warning: unused parameter 'force' [-Wunused-parameter] 1084 | static int mga_probe(int verbose,int force) | ~~~~^~~~~ vidix/mga_vid.c: At top level: vidix/mga_vid.c:1388:12: warning: initialized field overwritten [-Woverride-init] 1388 | .probe = mga_probe, | ^~~~~~~~~ vidix/mga_vid.c:1388:12: note: (near initialization for 'mga_drv.probe') vidix/mach64_vid.c: In function 'mach64_set_eq': vidix/mach64_vid.c:980:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 980 | if(br < -64) br = -64; if(br > 63) br = 63; | ^~ vidix/mach64_vid.c:980:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 980 | if(br < -64) br = -64; if(br > 63) br = 63; | ^~ vidix/mach64_vid.c:982:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 982 | if(sat < 0) sat = 0; if(sat > 31) sat = 31; | ^~ vidix/mach64_vid.c:982:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 982 | if(sat < 0) sat = 0; if(sat > 31) sat = 31; | ^~ vidix/mach64_vid.c: At top level: vidix/mach64_vid.c:1061:12: warning: initialized field overwritten [-Woverride-init] 1061 | .probe = mach64_probe, | ^~~~~~~~~~~~ vidix/mach64_vid.c:1061:12: note: (near initialization for 'mach64_drv.probe') vidix/nvidia_vid.c: In function 'nv_init': vidix/nvidia_vid.c:891:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 891 | info->chip.PFIFO = (uint32_t *) (info->control_base + 0x00002000); | ^ vidix/nvidia_vid.c:892:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 892 | info->chip.FIFO = (uint32_t *) (info->control_base + 0x00800000); | ^ vidix/nvidia_vid.c:893:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 893 | info->chip.PMC = (uint32_t *) (info->control_base + 0x00000000); | ^ vidix/nvidia_vid.c:894:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 894 | info->chip.PFB = (uint32_t *) (info->control_base + 0x00100000); | ^ vidix/nvidia_vid.c:895:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 895 | info->chip.PME = (uint32_t *) (info->control_base + 0x00000000); | ^ vidix/nvidia_vid.c:896:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 896 | info->chip.PCIO = (uint8_t *) (info->control_base + 0x00601000); | ^ vidix/nvidia_vid.c:897:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 897 | info->chip.PVIO = (uint8_t *) (info->control_base + 0x000C0000); | ^ vidix/nvidia_vid.c:898:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 898 | info->chip.PGRAPH = (uint32_t *) (info->control_base + 0x00400000); | ^ vidix/nvidia_vid.c:904:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 904 | info->chip.PVIDEO = (uint32_t *) (info->control_base + 0x00680000); | ^ vidix/nvidia_vid.c:909:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 909 | info->chip.PRAMIN = (uint32_t *) (info->control_base + 0x00700000); | ^ vidix/nvidia_vid.c:910:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 910 | info->chip.PVIDEO = (uint32_t *) (info->control_base + 0x00680000); | ^ vidix/nvidia_vid.c:918:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 918 | info->chip.PRAMIN = (uint32_t *) (info->control_base + 0x00700000); | ^ vidix/nvidia_vid.c:919:56: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 919 | info->chip.PVIDEO = (uint32_t *) (info->control_base + 0x00008000); | ^ vidix/nvidia_vid.c:929:47: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 929 | info->picture_base = info->video_base + info->picture_offset; | ^ vidix/nvidia_vid.c:930:60: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 930 | info->chip.PRAMIN = (uint32_t *) (info->video_base + 0x00C00000); | ^ vidix/nvidia_vid.c:944:41: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 944 | info->picture_base = info->video_base + info->picture_offset; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -mtune=generic -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -fomit-frame-pointer -fpie -DPIC -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o vidix/pm2_vid.o vidix/pm2_vid.c vidix/nvidia_vid.c: At top level: vidix/nvidia_vid.c:1116:12: warning: initialized field overwritten [-Woverride-init] 1116 | .probe = nv_probe, | ^~~~~~~~ vidix/nvidia_vid.c:1116:12: note: (near initialization for 'nvidia_drv.probe') CC libswresample/audioconvert.o CC libswscale/alphablend.o vidix/pci_dev_ids.c:11577:33: warning: 'dev_lst_ffff' defined but not used [-Wunused-const-variable=] 11577 | static const struct device_id_s dev_lst_ffff[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11572:33: warning: 'dev_lst_fffe' defined but not used [-Wunused-const-variable=] 11572 | static const struct device_id_s dev_lst_fffe[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11568:33: warning: 'dev_lst_fffd' defined but not used [-Wunused-const-variable=] 11568 | static const struct device_id_s dev_lst_fffd[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11564:33: warning: 'dev_lst_fede' defined but not used [-Wunused-const-variable=] 11564 | static const struct device_id_s dev_lst_fede[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11559:33: warning: 'dev_lst_feda' defined but not used [-Wunused-const-variable=] 11559 | static const struct device_id_s dev_lst_feda[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11556:33: warning: 'dev_lst_febd' defined but not used [-Wunused-const-variable=] 11556 | static const struct device_id_s dev_lst_febd[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11553:33: warning: 'dev_lst_fab7' defined but not used [-Wunused-const-variable=] 11553 | static const struct device_id_s dev_lst_fab7[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11549:33: warning: 'dev_lst_fa57' defined but not used [-Wunused-const-variable=] 11549 | static const struct device_id_s dev_lst_fa57[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11538:33: warning: 'dev_lst_f1d0' defined but not used [-Wunused-const-variable=] 11538 | static const struct device_id_s dev_lst_f1d0[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11531:33: warning: 'dev_lst_edd8' defined but not used [-Wunused-const-variable=] 11531 | static const struct device_id_s dev_lst_edd8[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11528:33: warning: 'dev_lst_ecc0' defined but not used [-Wunused-const-variable=] 11528 | static const struct device_id_s dev_lst_ecc0[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11524:33: warning: 'dev_lst_ec80' defined but not used [-Wunused-const-variable=] 11524 | static const struct device_id_s dev_lst_ec80[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11510:33: warning: 'dev_lst_eace' defined but not used [-Wunused-const-variable=] 11510 | static const struct device_id_s dev_lst_eace[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11507:33: warning: 'dev_lst_eabb' defined but not used [-Wunused-const-variable=] 11507 | static const struct device_id_s dev_lst_eabb[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11501:33: warning: 'dev_lst_ea60' defined but not used [-Wunused-const-variable=] 11501 | static const struct device_id_s dev_lst_ea60[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11490:33: warning: 'dev_lst_ea01' defined but not used [-Wunused-const-variable=] 11490 | static const struct device_id_s dev_lst_ea01[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11487:33: warning: 'dev_lst_e55e' defined but not used [-Wunused-const-variable=] 11487 | static const struct device_id_s dev_lst_e55e[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11484:33: warning: 'dev_lst_e4bf' defined but not used [-Wunused-const-variable=] 11484 | static const struct device_id_s dev_lst_e4bf[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11479:33: warning: 'dev_lst_e159' defined but not used [-Wunused-const-variable=] 11479 | static const struct device_id_s dev_lst_e159[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11475:33: warning: 'dev_lst_e000' defined but not used [-Wunused-const-variable=] 11475 | static const struct device_id_s dev_lst_e000[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11469:33: warning: 'dev_lst_deaf' defined but not used [-Wunused-const-variable=] 11469 | static const struct device_id_s dev_lst_deaf[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11466:33: warning: 'dev_lst_dead' defined but not used [-Wunused-const-variable=] 11466 | static const struct device_id_s dev_lst_dead[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11463:33: warning: 'dev_lst_d84d' defined but not used [-Wunused-const-variable=] 11463 | static const struct device_id_s dev_lst_d84d[] = { | ^~~~~~~~~~~~ vidix/pci_dev_ids.c:11460:33: warning: 'dev_lst_d531' defined but not used [-Wunused-const-variable=] 11460 | static const struct device_id_s dev