>>> mplayer: Building community/mplayer 1.5.0-r3 (using abuild 3.9.0-r5) started Sat, 20 Aug 2022 10:13:51 +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 libcdio-paranoia-dev ffmpeg-dev (1/137) Installing libxau (1.0.9-r1) (2/137) Installing libmd (1.0.4-r0) (3/137) Installing libbsd (0.11.6-r2) (4/137) Installing libxdmcp (1.1.3-r1) (5/137) Installing libxcb (1.15-r0) (6/137) Installing libx11 (1.8.1-r1) (7/137) Installing libxext (1.3.4-r1) (8/137) Installing libxxf86dga (1.1.5-r0) (9/137) Installing xorgproto (2022.2-r0) (10/137) Installing libxau-dev (1.0.9-r1) (11/137) Installing xcb-proto (1.15-r0) (12/137) Installing libxdmcp-dev (1.1.3-r1) (13/137) Installing libxcb-dev (1.15-r0) (14/137) Installing xtrans (1.4.0-r2) (15/137) Installing libx11-dev (1.8.1-r1) (16/137) Installing libxext-dev (1.3.4-r1) (17/137) Installing libxxf86dga-dev (1.1.5-r0) (18/137) Installing libxv (1.0.11-r3) (19/137) Installing libxv-dev (1.0.11-r3) (20/137) Installing libmad (0.15.1b-r9) (21/137) Installing libmad-dev (0.15.1b-r9) (22/137) Installing lame (3.100-r1) (23/137) Installing lame-dev (3.100-r1) (24/137) Installing alsa-lib (1.2.7.2-r0) (25/137) Installing libao (1.2.2-r1) (26/137) Installing libao-dev (1.2.2-r1) (27/137) Installing libogg (1.3.5-r1) (28/137) Installing libogg-dev (1.3.5-r1) (29/137) Installing libtheora (1.1.1-r16) (30/137) Installing libtheora-dev (1.1.1-r16) (31/137) Installing xvidcore (1.3.7-r1) (32/137) Installing xvidcore-dev (1.3.7-r1) (33/137) Installing zlib-dev (1.2.12-r3) (34/137) Installing sdl2 (2.24.0-r0) (35/137) Installing libbz2 (1.0.8-r2) (36/137) Installing libpng (1.6.37-r2) (37/137) Installing freetype (2.12.1-r0) (38/137) Installing tslib (1.22-r1) (39/137) Installing directfb (1.7.7-r4) (40/137) Installing directfb-dev (1.7.7-r4) (41/137) Installing linux-headers (5.16.7-r1) (42/137) Installing libdrm (2.4.112-r0) (43/137) Installing libdrm-dev (2.4.112-r0) (44/137) Installing libxdamage (1.1.5-r1) (45/137) Installing libxfixes (6.0.0-r0) (46/137) Installing libxfixes-dev (6.0.0-r0) (47/137) Installing libxdamage-dev (1.1.5-r1) (48/137) Installing libxshmfence (1.3-r1) (49/137) Installing libxshmfence-dev (1.3-r1) (50/137) Installing mesa (22.1.7-r1) (51/137) Installing libffi (3.4.2-r1) (52/137) Installing wayland-libs-server (1.21.0-r0) (53/137) Installing mesa-gbm (22.1.7-r1) (54/137) Installing mesa-glapi (22.1.7-r1) (55/137) Installing wayland-libs-client (1.21.0-r0) (56/137) Installing mesa-egl (22.1.7-r1) (57/137) Installing libxxf86vm (1.1.4-r3) (58/137) Installing mesa-gl (22.1.7-r1) (59/137) Installing mesa-gles (22.1.7-r1) (60/137) Installing xz-libs (5.2.6-r0) (61/137) Installing libxml2 (2.10.0-r0) (62/137) Installing llvm14-libs (14.0.6-r3) (63/137) Installing mesa-osmesa (22.1.7-r1) (64/137) Installing mesa-xatracker (22.1.7-r1) (65/137) Installing libxxf86vm-dev (1.1.4-r3) (66/137) Installing mesa-dev (22.1.7-r1) (67/137) Installing sdl2-dev (2.24.0-r0) (68/137) Installing brotli-dev (1.0.9-r7) (69/137) Installing libpng-dev (1.6.37-r2) (70/137) Installing freetype-dev (2.12.1-r0) (71/137) Installing libdvdcss (1.4.3-r0) (72/137) Installing libdvdread (6.1.3-r0) (73/137) Installing libdvdcss-dev (1.4.3-r0) (74/137) Installing libdvdread-dev (6.1.3-r0) (75/137) Installing x264-libs (0.164_git20220602-r0) (76/137) Installing x264-dev (0.164_git20220602-r0) (77/137) Installing faac (1.30-r1) (78/137) Installing faac-dev (1.30-r1) (79/137) Installing fontconfig (2.14.0-r0) (80/137) Installing expat (2.4.8-r1) (81/137) Installing expat-dev (2.4.8-r1) (82/137) Installing fontconfig-dev (2.14.0-r0) (83/137) Installing libxvmc (1.0.13-r0) (84/137) Installing libxvmc-dev (1.0.13-r0) (85/137) Installing alsa-lib-dev (1.2.7.2-r0) (86/137) Installing live-media (2022.07.14-r0) (87/137) Installing live-media-dev (2022.07.14-r0) (88/137) Installing yasm (1.3.0-r3) (89/137) Installing libvdpau (1.5-r0) (90/137) Installing libvdpau-dev (1.5-r0) (91/137) Installing libcdio (2.1.0-r0) (92/137) Installing libcdio-paranoia (10.2.2.0.1-r1) (93/137) Installing libcdio++ (2.1.0-r0) (94/137) Installing libcdio-dev (2.1.0-r0) (95/137) Installing libcdio-paranoia-dev (10.2.2.0.1-r1) (96/137) Installing aom-libs (3.4.0-r0) (97/137) Installing fribidi (1.0.12-r0) (98/137) Installing libintl (0.21-r3) (99/137) Installing libblkid (2.38.1-r0) (100/137) Installing libmount (2.38.1-r0) (101/137) Installing glib (2.72.3-r0) (102/137) Installing graphite2 (1.3.14-r1) (103/137) Installing harfbuzz (5.1.0-r0) (104/137) Installing libass (0.16.0-r0) (105/137) Installing libdav1d (1.0.0-r0) (106/137) Installing nettle (3.8.1-r0) (107/137) Installing p11-kit (0.24.1-r0) (108/137) Installing libtasn1 (4.18.0-r0) (109/137) Installing libunistring (1.0-r0) (110/137) Installing gnutls (3.7.7-r0) (111/137) Installing opus (1.3.1-r1) (112/137) Installing libasyncns (0.8-r1) (113/137) Installing dbus-libs (1.14.0-r1) (114/137) Installing libltdl (2.4.7-r0) (115/137) Installing orc (0.4.32-r1) (116/137) Installing flac (1.3.4-r0) (117/137) Installing libvorbis (1.3.7-r0) (118/137) Installing libsndfile (1.1.0-r1) (119/137) Installing soxr (0.1.3-r2) (120/137) Installing speexdsp (1.2.1-r0) (121/137) Installing tdb-libs (1.4.7-r0) (122/137) Installing libpulse (16.1-r2) (123/137) Installing mbedtls (2.28.1-r0) (124/137) Installing librist (0.2.7-r0) (125/137) Installing libsrt (1.5.0-r1) (126/137) Installing libssh (0.9.6-r2) (127/137) Installing libjpeg-turbo (2.1.4-r0) (128/137) Installing v4l-utils-libs (1.22.1-r2) (129/137) Installing libva (2.15.0-r0) (130/137) Installing vidstab (1.1.0-r1) (131/137) Installing libvpx (1.12.0-r0) (132/137) Installing libwebp (1.2.4-r0) (133/137) Installing numactl (2.0.14-r0) (134/137) Installing x265-libs (3.5-r3) (135/137) Installing ffmpeg-libs (5.1-r2) (136/137) Installing ffmpeg-dev (5.1-r2) (137/137) Installing .makedepends-mplayer (20220820.101353) Executing busybox-1.35.0-r22.trigger OK: 675 MiB in 236 packages >>> mplayer: Cleaning up srcdir >>> mplayer: Cleaning up pkgdir >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/MPlayer-1.5.tar.xz >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/MPlayer-1.5.tar.xz >>> mplayer: Checking sha512sums... MPlayer-1.5.tar.xz: OK x11-libs.patch: OK mplayer_alpine_aarch64.patch: OK >>> mplayer: Unpacking /var/cache/distfiles/edge/MPlayer-1.5.tar.xz... >>> mplayer: x11-libs.patch patching file configure Hunk #1 succeeded at 4962 (offset 568 lines). >>> mplayer: mplayer_alpine_aarch64.patch patching file configure Hunk #1 succeeded at 595 (offset 18 lines). Hunk #2 succeeded at 657 (offset 18 lines). Hunk #3 succeeded at 1471 (offset 31 lines). Hunk #4 succeeded at 3434 with fuzz 2 (offset 128 lines). patching file ffmpeg/libavcodec/aarch64/idctdsp_init_aarch64.c Hunk #1 succeeded at 36 (offset 4 lines). patching file ffmpeg/libavcodec/Makefile Hunk #1 succeeded at 101 (offset 7 lines). 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/libavcodec/cbs_internal.h ... found Checking for ffmpeg/libavformat/protocols.c ... found Checking for ffmpeg/libavfilter/allfilters.c ... found Checking for gcc version ... 12.1.1 Checking for working compiler ... yes Detected operating system: Linux Detected host architecture: aarch64 Checking for cross compilation ... no Checking for host cc ... gcc Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for relocatable binary ... no (unavailable or untested architecture) Checking for PIC ... no Checking for as_func ... no Checking for ARMv5TE (Enhanced DSP Extensions) ... no Checking for ARMv6 (SIMD instructions) ... no Checking for ARMv6t2 (SIMD instructions) ... no Checking for ARM VFP ... yes Checking for ARM VFPV3 ... no Checking for ARM setend ... no Checking for softfloat ABI ... no Checking for ARM NEON ... yes Checking for ARM NEON intrinsics ... yes Checking for ARM THUMB ... no Checking for iWMMXt (Intel XScale SIMD instructions) ... no Checking for langinfo ... yes Checking for NLS ... no 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 windows.h ... no Checking for socklib ... yes Checking for struct pollfd ... yes Checking for netdb.h, struct addrinfo ... yes Checking for netdb.h, getaddrinfo() ... yes Checking for sockaddr_storage ... yes Checking for struct ipv6_mreq ... yes Checking for struct sockaddr_in6 ... yes Checking for struct sockaddr sa_len ... no Checking for arpa/inet.h ... yes Checking for inet_pton() ... yes Checking for inet_aton() ... yes Checking for socklen_t ... yes Checking for closesocket() ... no Checking for networking ... yes Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for SCTP ... no Checking for sys/un.h ... yes Checking for sys/poll.h ... yes Checking for unistd.h ... yes Checking for emmintrin.h (SSE intrinsics) ... no Checking for inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.h ... yes Checking for stdatomic.h ... yes Checking for malloc.h ... yes Checking for aligned malloc ... no Checking for memalign() ... yes Checking for posix_memalign() ... yes Checking for alloca.h ... yes Checking for fastmemcpy ... yes Checking for hard-coded tables ... no Checking for mman.h ... yes Checking for mprotect ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... yes Checking for pthread_cancel ... yes Checking for direct.h ... no Checking for io.h ... no Checking for rpath ... no Checking for iconv ... yes Checking for soundcard.h ... yes (sys/soundcard.h) Checking for termcap ... 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 ... 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 (dynamic linking to libopenjpeg is irrelevant when using dynamic FFmpeg) 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 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 (using shared FFmpeg, but static FFmpeg is recommended) Checking for libpostproc ... yes Checking for libxml2 ... no (dynamic linking to libxml2 is irrelevant when using dynamic FFmpeg) Checking for libopencore_amr narrowband ... no (ffmpeg (static) is required by libopencore_amrnb, sorry) Checking for libopencore_amr wideband ... no (ffmpeg (static) is required by libopencore_amrwb, sorry) Checking for libdv-0.9.5+ ... no Checking for CrystalHD ... no Checking for Xvid ... yes Checking for Xvid two pass plugin ... yes Checking for x264 ... yes (in FFmpeg: yes) Checking for libvpx ... no (dynamic linking to libvpx is irrelevant when using dynamic FFmpeg) Checking for libdav1d ... no (dynamic linking to libdav1d is irrelevant when using dynamic FFmpeg) Checking for libaom ... no (dynamic linking to libaom is irrelevant when using dynamic FFmpeg) Checking for libnut ... no Checking for zr ... no Checking for libmp3lame ... 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 maemo (Nokia 770|8x0) ... 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-ffmpeg_a --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: x264 xvid ffmpeg real xanim faac libtheora libmad Audio output: alsa oss v4l2 mpegpes(dvb) Video output: v4l2 matrixview opengl pnm mpegpes(dvb) fbdev 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: libaom libdav1d libvpx 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 dxr2 sdl Video output: zr zr2 dxr3 dxr2 sdl vesa gif89a jpeg mng svga caca aa ggi xvidix winvidix cvidix 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'. NOTE: Win32 codec DLLs are not supported on your CPU (aarch64) 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. WARNING: --enable-runtime-cpudetection is not fully supported on Arm, it only compiles for your compilers default target instead of the host CPU (-march=native). 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libao2/ao_null.c: In function 'drain': libao2/ao_null.c:49:14: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 49 | if (temp > buffer) buffer=0; | ^ libao2/ao_null.c: In function 'control': libao2/ao_null.c:56:24: warning: unused parameter 'cmd' [-Wunused-parameter] 56 | static int control(int cmd,void *arg){ | ~~~~^~~ libao2/ao_null.c:56:34: warning: unused parameter 'arg' [-Wunused-parameter] 56 | static int control(int cmd,void *arg){ | ~~~~~~^~~ libao2/ao_null.c: In function 'init': libao2/ao_null.c:62:54: warning: unused parameter 'flags' [-Wunused-parameter] 62 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ libao2/ao_null.c: In function 'uninit': libao2/ao_null.c:79:24: warning: unused parameter 'immed' [-Wunused-parameter] 79 | static void uninit(int immed){ | ~~~~^~~~~ libao2/ao_null.c: In function 'play': libao2/ao_null.c:110:23: warning: unused parameter 'data' [-Wunused-parameter] 110 | static int play(void* data,int len,int flags){ | ~~~~~~^~~~ libao2/ao_null.c:110:40: warning: unused parameter 'flags' [-Wunused-parameter] 110 | static int play(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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -o codec-cfg codec-cfg.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~^~~ 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) | ~~~~~~~~~^~~~~~~ libao2/ao_v4l2.c: In function 'init': 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) | ~~~~~~~~~^~~~~~~~ libao2/ao_v4l2.c:62:47: warning: unused parameter 'flags' [-Wunused-parameter] 62 | init (int rate, int channels, int format, int flags) | ~~~~^~~~~ 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) | ~~~~~~^~~~~ libao2/ao_v4l2.c: In function 'uninit': 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) | ~~~~~~~~~^~~~~~ 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) | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./version.sh `gcc -dumpversion` In file included from ./mp_core.h:27, from libvo/vo_md5sum.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; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 cpudetect.c:428:13: warning: 'sigill_handler' defined but not used [-Wunused-function] 428 | static void sigill_handler (int sig) | ^~~~~~~~~~~~~~ libvo/vo_yuv4mpeg.c: In function 'config': libvo/vo_yuv4mpeg.c:101:25: 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:50: 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 && | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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, | ~~~~~~^~~~~ In file included from ./mp_core.h:27, from gui/interface.h:23, from mplayer.c:73: ./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_fbdev.c: In function 'find_best_mode': 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_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_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_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) | ^~~~~~ 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) | ^ 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:16: note: 'transp' declared here 286 | __u16 *transp; /* transparency, can be 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libao2/ao_mpegpes.c: In function 'preinit': libao2/ao_mpegpes.c:148:32: warning: unused parameter 'arg' [-Wunused-parameter] 148 | static int preinit(const char *arg) | ~~~~~~~~~~~~^~~ input/appleir.c: In function 'mp_input_appleir_read': libao2/ao_mpegpes.c: In function 'init': 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)) | ^ 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_mpegpes.c:237:54: warning: unused parameter 'flags' [-Wunused-parameter] 237 | static int init(int rate,int channels,int format,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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ~~~~^~~~~ libao2/ao_mpegpes.c: In function 'play': libao2/ao_mpegpes.c:320:40: warning: unused parameter 'flags' [-Wunused-parameter] 320 | static int play(void* data,int len,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) | ^ 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) | ~~~~~~~~~^~~~~~ libvo/vo_fbdev.c:772:9: warning: unused variable 'zoom' [-Wunused-variable] 772 | int zoom = flags & VOFLAG_SWSCALE; | ^~~~ libvo/vo_fbdev.c:767:60: warning: unused parameter 'title' [-Wunused-parameter] 767 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ In file included from mp_core.h:27, from udp_sync.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; | ^~~~~~~~~~~~~~ In file included from ./mp_core.h:27, from libvo/vo_pnm.c:45: ./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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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 || | ^~ In file included from ./mp_core.h:27, from libao2/audio_out.c:28: ./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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~~~~^~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 m_property.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; | ^~~~~~~~~~~~~~ libao2/ao_alsa.c: In function 'init': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_alsa.c:340:60: warning: unused parameter 'flags' [-Wunused-parameter] 340 | static int init(int rate_hz, int channels, int format, int flags) | ~~~~^~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 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." | ^~~~~~~ /usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include instead." [-Wcpp] 10 | #warning "include instead." | ^~~~~~~ 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++) | ^ libvo/vo_md5sum.c: In function 'config': libvo/vo_md5sum.c:138:28: warning: unused parameter 'width' [-Wunused-parameter] 138 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~ libvo/vo_md5sum.c:138:44: warning: unused parameter 'height' [-Wunused-parameter] 138 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~ libvo/vo_md5sum.c:138:61: warning: unused parameter 'd_width' [-Wunused-parameter] 138 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~~ libvo/vo_md5sum.c:139:33: warning: unused parameter 'd_height' [-Wunused-parameter] 139 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ libvo/vo_md5sum.c:139:52: warning: unused parameter 'flags' [-Wunused-parameter] 139 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~ libvo/vo_md5sum.c:139:65: warning: unused parameter 'title' [-Wunused-parameter] 139 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/vo_md5sum.c:140:33: warning: unused parameter 'format' [-Wunused-parameter] 140 | uint32_t format) | ~~~~~~~~~^~~~~~ 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++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ffmpeg/libavutil/common.h:43, from libvo/vo_xv.c:64: libvo/vo_xv.c: In function 'fixup_osd_position': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 49 | #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/macros.h:49:39: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 49 | #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/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 49 | #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/macros.h:49:39: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 49 | #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); | ^~~~~ m_property.c: In function 'm_property_int_ro': m_property.c:221:41: warning: unused parameter 'prop' [-Wunused-parameter] 221 | int m_property_int_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ 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) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from command.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; | ^~~~~~~~~~~~~~ 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 }; | ^~~~~~~ m_property.c: In function 'm_property_float_ro': In file included from libvo/vo_fbdev2.c:31: /usr/include/linux/fb.h:286:16: note: 'transp' declared here 286 | __u16 *transp; /* transparency, can be NULL */ | ^~~~~~ 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/x11_common.c: In function 'vo_x11_classhint': libao2/ao_pcm.c: In function 'control': libao2/ao_pcm.c:134:24: warning: unused parameter 'cmd' [-Wunused-parameter] 134 | static int control(int cmd,void *arg){ | ~~~~^~~ 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; | ^ libao2/ao_pcm.c:134:34: warning: unused parameter 'arg' [-Wunused-parameter] 134 | static int control(int cmd,void *arg){ | ~~~~~~^~~ libvo/vo_fbdev2.c: In function 'config': libvo/vo_fbdev2.c:224:27: 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:55: 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:211:58: warning: unused parameter 'title' [-Wunused-parameter] 211 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ 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) | ^~ 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_pcm.c: In function 'uninit': libao2/ao_pcm.c:202:24: warning: unused parameter 'immed' [-Wunused-parameter] 202 | static void uninit(int immed){ | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ~~~~^~~~~ 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); | ^ libvo/vo_fbdev2.c: In function 'set_bpp': libvo/vo_fbdev2.c:61:42: warning: this statement may fall through [-Wimplicit-fallthrough=] 61 | p->transp.length = 8; | ~~~~~~~~~~~~~~~~~^~~ libvo/vo_fbdev2.c:63:17: note: here 63 | case 24: | ^~~~ m_property.c:286:43: warning: unused parameter 'prop' [-Wunused-parameter] 286 | int m_property_float_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ 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) { | ^~ libvo/vo_xover.c: In function 'set_window': libvo/vo_xv.c: In function 'query_format': 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_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_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); | ^~~~~~~~~~~~~~~ m_property.c: In function 'm_property_double_ro': m_property.c:333:44: warning: unused parameter 'prop' [-Wunused-parameter] 333 | int m_property_double_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ 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) | ^~ libao2/ao_oss.c: In function 'init': m_property.c: In function 'm_property_string_ro': libao2/ao_oss.c:218:54: warning: unused parameter 'flags' [-Wunused-parameter] 218 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ m_property.c:374:44: warning: unused parameter 'prop' [-Wunused-parameter] 374 | int m_property_string_ro(const m_option_t* prop,int action,void* arg,const char* str) { | ~~~~~~~~~~~~~~~~~~^~~~ libvo/x11_common.c: In function 'xss_suspend': libvo/x11_common.c:1522:29: warning: unused parameter 'suspend' [-Wunused-parameter] 1522 | static int xss_suspend(Bool suspend) | ^ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_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:32: warning: unused parameter 'w' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xv.c: In function 'control': libvo/vo_xover.c:349:39: warning: unused parameter 'h' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xover.c:349:46: warning: unused parameter 'x' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xover.c:349:53: warning: unused parameter 'y' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ 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: | ^~~~ 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[]) | ~~~~~~~~~^~~~~ 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++) | ^ 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) | ^ 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) | ~~~~~~~~~^~~~~~ In file included from libvo/vo_xover.c:37: libvo/video_out_internal.h: At top level: gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ^~ libvo/vo_dga.c:508:46: warning: unused parameter 'title' [-Wunused-parameter] 508 | uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_pnm.c: In function 'config': libvo/vo_pnm.c:259:28: warning: unused parameter 'width' [-Wunused-parameter] 259 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~ libvo/vo_pnm.c:259:44: warning: unused parameter 'height' [-Wunused-parameter] 259 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~ libvo/vo_pnm.c:259:61: warning: unused parameter 'd_width' [-Wunused-parameter] 259 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~~ libvo/vo_pnm.c:260:33: warning: unused parameter 'd_height' [-Wunused-parameter] 260 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/vo_pnm.c:260:52: warning: unused parameter 'flags' [-Wunused-parameter] 260 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~ libvo/vo_pnm.c:260:65: warning: unused parameter 'title' [-Wunused-parameter] 260 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/vo_pnm.c:261:33: warning: unused parameter 'format' [-Wunused-parameter] 261 | 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:76:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 76 | { MP_CMD_RADIO_STEP_CHANNEL, "radio_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | ^ In file included from input/input.c:34: 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_CHANNEL, "radio_set_channel", 1, { { MP_CMD_ARG_STRING, {0}}, {-1,{0}} }}, | ^ 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_SET_FREQ, "radio_set_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:79:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 79 | { MP_CMD_RADIO_STEP_FREQ, "radio_step_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ 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_SEEK, "seek", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_LOADFILE, "edl_loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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_EDL_MARK, "edl_mark", 0, { {-1,{0}} } }, | ^ 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_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_INCR, "speed_incr", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ 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_MULT, "speed_mult", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ 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_SPEED_SET, "speed_set", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ 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_QUIT, "quit", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_STOP, "stop", 0, { {-1,{0}} } }, | ^ 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_PAUSE, "pause", 0, { {-1,{0}} } }, | ^ 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_FRAME_STEP, "frame_step", 0, { {-1,{0}} } }, | ^ 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_STEP, "pt_step",1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } }, | ^ 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_TREE_UP_STEP, "pt_up_step",1, { { MP_CMD_ARG_INT,{0} }, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } }, | ^ 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_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, | ^ 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_LOOP, "loop", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_SUB_STEP, "sub_step",1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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_TEXT, "osd_show_text", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_PROPERTY_TEXT, "osd_show_property_text",1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_OSD_SHOW_PROGRESSION, "osd_show_progression", 0, { {-1,{0}} } }, | ^ 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_VOLUME, "volume", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_BALANCE, "balance", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } }, | ^ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_MUTE, "mute", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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_CONTRAST, "contrast",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_GAMMA, "gamma", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_BRIGHTNESS, "brightness",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_HUE, "hue",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_SATURATION, "saturation",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_FRAMEDROPPING, "frame_drop",0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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_POS, "sub_pos", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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_ALIGNMENT, "sub_alignment",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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_VISIBILITY, "sub_visibility", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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_LOAD, "sub_load", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ 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_REMOVE, "sub_remove", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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, "vobsub_lang", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, // for compatibility | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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_SELECT, "sub_select", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ subopt-helper.c: In function 'parse_str': 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_SOURCE, "sub_source", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ 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_VOB, "sub_vob", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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 | ^~~~~~~~~~~~~~~~~~~~~~~ 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_DEMUX, "sub_demux", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ 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_FILE, "sub_file", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ 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_LOG, "sub_log", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:124:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 124 | { MP_CMD_SUB_SCALE, "sub_scale",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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; libvo/x11_common.c:903:13: note: here 903 | case ButtonRelease: | ^~~~ input/input.c:126:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 126 | { MP_CMD_ASS_USE_MARGINS, "ass_use_margins", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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_PERCENT_POS, "get_percent_pos", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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': 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_POS, "get_time_pos", 0, { {-1,{0}} } }, | ^ 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_TIME_LENGTH, "get_time_length", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ subopt-helper.c: In function 'strargcmp': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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)) | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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)) | ^~ 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_FILENAME, "get_file_name", 0, { {-1,{0}} } }, | ^ 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_CODEC, "get_video_codec", 0, { {-1,{0}} } }, | ^ 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_BITRATE, "get_video_bitrate", 0, { {-1,{0}} } }, | ^ 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_VIDEO_RESOLUTION, "get_video_resolution", 0, { {-1,{0}} } }, | ^ 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_CODEC, "get_audio_codec", 0, { {-1,{0}} } }, | ^ 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_BITRATE, "get_audio_bitrate", 0, { {-1,{0}} } }, | ^ 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_AUDIO_SAMPLES, "get_audio_samples", 0, { {-1,{0}} } }, | ^ 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_TITLE, "get_meta_title", 0, { {-1,{0}} } }, | ^ 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_ARTIST, "get_meta_artist", 0, { {-1,{0}} } }, | ^ 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_ALBUM, "get_meta_album", 0, { {-1,{0}} } }, | ^ 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_YEAR, "get_meta_year", 0, { {-1,{0}} } }, | ^ 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_COMMENT, "get_meta_comment", 0, { {-1,{0}} } }, | ^ 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_TRACK, "get_meta_track", 0, { {-1,{0}} } }, | ^ 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_GET_META_GENRE, "get_meta_genre", 0, { {-1,{0}} } }, | ^ 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_AUDIO, "switch_audio", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ 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_ANGLE, "switch_angle", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:147:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 147 | { MP_CMD_SWITCH_TITLE, "switch_title", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ 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_START_SCAN, "tv_start_scan", 0, { {-1,{0}} }}, | ^ 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_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | ^ 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_NORM, "tv_step_norm",0, { {-1,{0}} } }, | ^ 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_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} } }, | ^ 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_SET_CHANNEL, "tv_set_channel", 1, { { MP_CMD_ARG_STRING, {0}}, {-1,{0}} }}, | ^ 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_LAST_CHANNEL, "tv_last_channel", 0, { {-1,{0}} } }, | ^ 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_SET_FREQ, "tv_set_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ 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_STEP_FREQ, "tv_step_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ 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_NORM, "tv_set_norm", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ 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_BRIGHTNESS, "tv_set_brightness", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ 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_CONTRAST, "tv_set_contrast", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_HUE, "tv_set_hue", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:161:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 161 | { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:163:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 163 | { MP_CMD_SUB_FORCED_ONLY, "forced_subs_only", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:165:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 165 | { MP_CMD_DVB_SET_CHANNEL, "dvb_set_channel", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}}, | ^ 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_SWITCH_RATIO, "switch_ratio", 0, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ 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_FULLSCREEN, "vo_fullscreen", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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_VO_ONTOP, "vo_ontop", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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_FILE_FILTER, "file_filter", 1, { { MP_CMD_ARG_INT, {0}}, {-1,{0}}}}, | ^ 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_ROOTWIN, "vo_rootwin", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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_VO_BORDER, "vo_border", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ 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_SCREENSHOT, "screenshot", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_PANSCAN, "panscan",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_SWITCH_VSYNC, "switch_vsync", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_LOADFILE, "loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_LOADLIST, "loadlist", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_RUN, "run", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ 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_CAPTURING, "capturing", 0, { {-1,{0}} } }, | ^ 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_VF_CHANGE_RECTANGLE, "change_rectangle", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}}, | ^ 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_ADD_DEC, "teletext_add_dec", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ 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_TV_TELETEXT_GO_LINK, "teletext_go_link", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_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}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:184:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 184 | { MP_CMD_OVERLAY_REMOVE, "overlay_remove", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_VO_FULLSCREEN, "get_vo_fullscreen", 0, { {-1,{0}} } }, | ^ 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_GET_SUB_VISIBILITY, "get_sub_visibility", 0, { {-1,{0}} } }, | ^ 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_KEYDOWN_EVENTS, "key_down_event", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_SET_PROPERTY, "set_property", 2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ 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_GET_PROPERTY, "get_property", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:203:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 203 | { MP_CMD_STEP_PROPERTY, "step_property", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_SEEK_CHAPTER, "seek_chapter", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:206:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 206 | { MP_CMD_SET_MOUSE_POS, "set_mouse_pos", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ 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_SWITCH, "af_switch", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ 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_ADD, "af_add", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ 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_DEL, "af_del", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ 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_CLR, "af_clr", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:212:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 212 | { MP_CMD_AF_CMDLINE, "af_cmdline", 2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:214:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 214 | { MP_CMD_GUI, "gui", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:74:35: warning: missing braces around initializer [-Wmissing-braces] 74 | static const mp_cmd_t mp_cmds[] = { | ^ ...... 216 | { 0, "", 0, { 0 } } | { } input/input.c:216:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 216 | { 0, "", 0, { 0 } } | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:74:35: warning: missing braces around initializer [-Wmissing-braces] 74 | static const mp_cmd_t mp_cmds[] = { | ^ ...... 216 | { 0, "", 0, { 0 } } | { } libvo/vo_png.c: In function 'config': 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) | ~~~~~~~~~^~~~~~~ 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) | ~~~~~~~~~^~~~~~~~ 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:176:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 176 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavcodec/avcodec.h:45, from libvo/vo_png.c:43: ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ m_config.c: In function 'set_profile': m_config.c:80:42: warning: unused parameter 'dst' [-Wunused-parameter] 80 | set_profile(const m_option_t *opt, void *dst, const void *src) | ~~~~~~^~~ m_config.c: In function 'show_profile': m_config.c:128:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 128 | char *tmp = av_strndup(list, l); | ^~~~ 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:53: 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) | ^~ m_config.c:102:12: warning: unused variable 'j' [-Wunused-variable] 102 | int i, j; | ^ m_config.c: In function 'list_options': m_config.c:143:48: warning: unused parameter 'name' [-Wunused-parameter] 143 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~ m_config.c:143:60: warning: unused parameter 'param' [-Wunused-parameter] 143 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~~ m_config.c: In function 'm_config_add_option': m_config.c:325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 325 | co->name = arg->name; | ^ 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++) | ^ m_config.c: In function 'm_config_parse_option': m_config.c:448:11: warning: unused variable 'l' [-Wunused-variable] 448 | int l = strlen(co->name) + 1 + strlen(lst[2*i]) + 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libvo/vo_xvmc.c:48: ffmpeg/libavcodec/xvmc.h:30:9: note: '#pragma message: XvMC is no longer supported; this header is deprecated and will be removed' 30 | #pragma message("XvMC is no longer supported; this header is deprecated and will be removed") | ^~~~~~~ input/input.c:635:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 635 | { "input", &input_conf, CONF_TYPE_SUBCONFIG, 0, 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/vo_xvmc.c:96:12: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations] 96 | struct xvmc_pix_fmt shared; | ^~~~~~~~~~~~ ffmpeg/libavcodec/xvmc.h:47:29: note: declared here 47 | struct attribute_deprecated xvmc_pix_fmt { | ^~~~~~~~~~~~ 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:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 218 | 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_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 ) | ^~ input/input.c: In function 'mp_input_get_cmd_from_keys': input/input.c:1091:49: warning: unused parameter 'paused' [-Wunused-parameter] 1091 | mp_input_get_cmd_from_keys(int n,int* keys, int paused) { | ~~~~^~~~~~ input/input.c: In function 'read_events': input/input.c:1235:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1235 | for (i = 0; i < num_key_fd; i++) | ^ input/input.c:1240:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1240 | for (i = 0; i < num_cmd_fd; i++) | ^ input/input.c:1251:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1251 | for (i = 0; i < num_key_fd; i++) { | ^ input/input.c:1259:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1259 | for (i = 0; i < num_cmd_fd; i++) { | ^ input/input.c:1291:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1291 | for (i = 0; i < num_key_fd; i++) { | ^ 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){ | ^~ input/input.c:1328:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1328 | for (i = 0; i < num_cmd_fd; i++) { | ^ 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; | ^~~~~~~~~~~~~~ input/input.c: In function 'mp_input_get_key_name': input/input.c:1471:14: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1471 | return key_names[i].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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 input/input.c: In function 'mp_input_init': input/input.c:1804:54: warning: cast between incompatible function types from 'int (*)(int)' to 'void (*)(int)' [-Wcast-function-type] 1804 | mp_input_add_key_fd(fd,1,mp_input_appleir_read,(mp_close_func_t)close); | ^ input/input.c:1818:45: warning: cast between incompatible function types from 'int (*)(int)' to 'void (*)(int)' [-Wcast-function-type] 1818 | 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': input/input.c:1860:48: warning: unused parameter 'cfg' [-Wunused-parameter] 1860 | static int mp_input_print_key_list(m_option_t* cfg) { | ~~~~~~~~~~~~^~~ input/input.c: In function 'mp_input_print_cmd_list': input/input.c:1868:48: warning: unused parameter 'cfg' [-Wunused-parameter] 1868 | static int mp_input_print_cmd_list(m_option_t* cfg) { | ~~~~~~~~~~~~^~~ libvo/vo_xvmc.c: In function 'draw_slice': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ~~~~^ input/input.c: In function 'mp_input_read_cmd': input/input.c:956:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 956 | mp_msg(MSGT_INPUT,MSGL_ERR,MSGTR_INPUT_INPUT_ErrReadingCmdFd,mp_fd->fd,strerror(errno)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input/input.c:957:7: note: here 957 | case MP_INPUT_NOTHING: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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: | ^~~~ codec-cfg.c: In function 'main': codec-cfg.c:1161:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 1161 | printf("{ 0x%08lx, %hu, %hu,", | ~~~~^ | | | long unsigned int | %08x 1162 | cod[i][j].guid.f1, | ~~~~~~~~~~~~~~~~~ | | | unsigned int asxparser.c: In function 'asx_parse_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) { | ~~~~~~^~~~~~ 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) { | ~~~~~~~^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libao2/audio_out.c: In function 'init_best_audio_out': libao2/audio_out.c:146:62: warning: unused parameter 'use_plugin' [-Wunused-parameter] 146 | const ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate,int channels,int format,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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ./libmpcodecs/vf.h:118, from libmenu/menu.h:24, from mplayer.c:78: 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:143:22: note: in expansion of macro 'MP_NOPTS_VALUE' 143 | 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:154:23: note: in expansion of macro 'MP_NOPTS_VALUE' 154 | .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:204:29: note: in expansion of macro 'MP_NOPTS_VALUE' 204 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 m_option.c: In function 'print_double': m_option.c:280:55: warning: unused parameter 'opt' [-Wunused-parameter] 280 | static char* print_double(const m_option_t* av_unused opt, const void* val) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'print_float': m_option.c:307:54: warning: unused parameter 'opt' [-Wunused-parameter] 307 | static char* print_float(const m_option_t* av_unused opt, const void* val) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 m_option.c: In function 'parse_position': m_option.c:328:101: warning: unused parameter 'src' [-Wunused-parameter] 328 | 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:361:47: warning: unused parameter 'opt' [-Wunused-parameter] 361 | static char* print_position(const m_option_t* opt, const void* val) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'parse_str': m_option.c:384:56: warning: unused parameter 'name' [-Wunused-parameter] 384 | static int parse_str(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~ m_option.c:384:96: warning: unused parameter 'src' [-Wunused-parameter] 384 | 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:411:42: warning: unused parameter 'opt' [-Wunused-parameter] 411 | static char* print_str(const m_option_t* opt, const void* val) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'copy_str': 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; | ^~~ m_option.c:415:40: warning: unused parameter 'opt' [-Wunused-parameter] 415 | static void copy_str(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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ^~ libaf/af_resample.c:253:18: 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 m_option.c: In function 'parse_str_list': m_option.c:565:101: warning: unused parameter 'src' [-Wunused-parameter] 565 | 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:652:45: warning: unused parameter 'opt' [-Wunused-parameter] 652 | static void copy_str_list(const m_option_t* opt,void* dst, const void* src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'print_str_list': m_option.c:676:47: warning: unused parameter 'opt' [-Wunused-parameter] 676 | static char* print_str_list(const m_option_t* opt, const void* src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c: In function 'parse_call_func': m_option.c:718:62: warning: unused parameter 'name' [-Wunused-parameter] 718 | static int parse_call_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~ m_option.c:718:93: warning: unused parameter 'dst' [-Wunused-parameter] 718 | static int parse_call_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~^~~ m_option.c:718:102: warning: unused parameter 'src' [-Wunused-parameter] 718 | 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:769:44: warning: unused parameter 'opt' [-Wunused-parameter] 769 | static int parse_func_pf(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:769:100: warning: unused parameter 'src' [-Wunused-parameter] 769 | 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:790:44: warning: unused parameter 'opt' [-Wunused-parameter] 790 | 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:816:57: warning: unused parameter 'dst' [-Wunused-parameter] 816 | static void set_func_param(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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 m_option.c: In function 'set_func_full': m_option.c:845:56: warning: unused parameter 'dst' [-Wunused-parameter] 845 | 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:875:41: warning: unused parameter 'opt' [-Wunused-parameter] 875 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:875:57: warning: unused parameter 'name' [-Wunused-parameter] 875 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~ m_option.c:875:75: warning: unused parameter 'param' [-Wunused-parameter] 875 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~^~~~~ 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: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:55:1: note: previous definition of 'direct_waitqueue_init' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 55 | direct_waitqueue_init( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:64:1: note: previous definition of 'direct_waitqueue_wait' with type 'DirectResult(DirectWaitQueue *, DirectMutex *)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *)'} 64 | direct_waitqueue_wait( DirectWaitQueue *queue, DirectMutex *mutex ) | ^~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:73:1: note: previous definition of 'direct_waitqueue_wait_timeout' with type 'DirectResult(DirectWaitQueue *, DirectMutex *, long unsigned int)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *, long unsigned int)'} 73 | direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:95:1: note: previous definition of 'direct_waitqueue_signal' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 95 | direct_waitqueue_signal( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:104:1: note: previous definition of 'direct_waitqueue_broadcast' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 104 | direct_waitqueue_broadcast( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:113:1: note: previous definition of 'direct_waitqueue_deinit' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 113 | direct_waitqueue_deinit( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ m_option.c:875:97: warning: unused parameter 'src' [-Wunused-parameter] 875 | static int parse_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ m_option.c: In function 'set_func': m_option.c:881:50: warning: unused parameter 'dst' [-Wunused-parameter] 881 | static void set_func(const m_option_t* opt,void* dst, const void* src) { | ~~~~~~^~~ m_option.c: In function 'parse_print': m_option.c:903:89: warning: unused parameter 'dst' [-Wunused-parameter] 903 | static int parse_print(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~^~~ m_option.c:903:98: warning: unused parameter 'src' [-Wunused-parameter] 903 | 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:1002:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1002 | if (!p || p[0] != '%' || (optlen > strlen(p) - 1)) { | ^ In file included from cfg-mplayer.h:27, from mplayer.c:332: 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}, | ^~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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}, | ^~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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:525:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 525 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 cfg-common.h:547:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 547 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~~ cfg-common.h:548:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 548 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:552:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 552 | {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 m_option.c: In function 'parse_imgfmt': m_option.c:1182:43: warning: unused parameter 'opt' [-Wunused-parameter] 1182 | static int parse_imgfmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1182:99: warning: unused parameter 'src' [-Wunused-parameter] 1182 | static int parse_imgfmt(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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) { | ^ m_option.c: In function 'parse_afmt': m_option.c:1272:41: warning: unused parameter 'opt' [-Wunused-parameter] 1272 | static int parse_afmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1272:97: warning: unused parameter 'src' [-Wunused-parameter] 1272 | 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:1333:13: note: in expansion of macro 'MP_NOPTS_VALUE' 1333 | *time = 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~ m_option.c: In function 'parse_time': m_option.c:1343:41: warning: unused parameter 'opt' [-Wunused-parameter] 1343 | static int parse_time(const m_option_t* opt,const char *name, const char *param, void* dst, int src) | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1343:97: warning: unused parameter 'src' [-Wunused-parameter] 1343 | 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:1377:46: warning: unused parameter 'opt' [-Wunused-parameter] 1377 | static int parse_time_size(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1377:102: warning: unused parameter 'src' [-Wunused-parameter] 1377 | static int parse_time_size(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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_2': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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); | ^~~~~~~~~~~~~~~~~~~ m_option.c: In function 'parse_obj_params': 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); | ^~~~~~~~~~~~~~~~~~~ m_option.c:1608:63: warning: unused parameter 'src' [-Wunused-parameter] 1608 | const char *param, void* dst, int src) { | ~~~~^~~ libvo/vo_dfbmga.c: In function 'preinit': libvo/vo_dfbmga.c:194:22: warning: unused parameter 'arg' [-Wunused-parameter] 194 | preinit( const char *arg ) | ~~~~~~~~~~~~^~~ 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); | ^~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_pcm.c:24: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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); | ^~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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); | ^~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/vo_dfbmga.c: In function 'config': libvo/vo_dfbmga.c:550:15: warning: unused parameter 'title' [-Wunused-parameter] 550 | char *title, | ~~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_alaw.c:24: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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); | ^~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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); | ^~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~~~~~~ m_option.c: In function 'parse_obj_presets': 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}, | ^~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ m_option.c:1975:63: warning: unused parameter 'src' [-Wunused-parameter] 1975 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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}, | ^~~~~~~~~ libmpcodecs/pullup.c: In function 'print_aff_and_breaks': 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); | ^~~~~~~~~~~~~~~~~~~ libmpcodecs/pullup.c:725:57: warning: unused parameter 'c' [-Wunused-parameter] 725 | static void print_aff_and_breaks(struct pullup_context *c, struct pullup_field *f) | ~~~~~~~~~~~~~~~~~~~~~~~^ 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}, | ^~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_osdlevel': command.c:233:44: warning: unused parameter 'mpctx' [-Wunused-parameter] 233 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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:507:30: note: in expansion of macro 'MP_NOPTS_VALUE' 507 | double video_start_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ m_option.c: In function 'parse_custom_url': In file included from libmpcodecs/ad.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': command.c: In function 'mp_property_playback_speed': command.c:258:61: warning: unused parameter 'mpctx' [-Wunused-parameter] 258 | void *arg, MPContext *mpctx) | ~~~~~~~~~~~^~~~~ command.c: In function 'mp_property_path': m_option.c:2047:61: warning: unused parameter 'src' [-Wunused-parameter] 2047 | const char *url, void* dst, int src) { | ~~~~^~~ command.c:281:40: warning: unused parameter 'mpctx' [-Wunused-parameter] 281 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_filename': command.c:288:44: warning: unused parameter 'mpctx' [-Wunused-parameter] 288 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ ./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:535:28: note: in expansion of macro 'MP_NOPTS_VALUE' 535 | 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:536:26: note: in expansion of macro 'MP_NOPTS_VALUE' 536 | if (start_pts == MP_NOPTS_VALUE || !mpctx->sh_audio || | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./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:22: note: in expansion of macro 'MP_NOPTS_VALUE' 540 | if (start_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_stream_start': command.c:330:49: warning: unused parameter 'prop' [-Wunused-parameter] 330 | static int mp_property_stream_start(m_option_t *prop, int action, | ~~~~~~~~~~~~^~~~ command.c: In function 'mp_property_stream_end': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 command.c:344:47: warning: unused parameter 'prop' [-Wunused-parameter] 344 | static int mp_property_stream_end(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ command.c: In function 'mp_property_stream_length': command.c:358:50: warning: unused parameter 'prop' [-Wunused-parameter] 358 | static int mp_property_stream_length(m_option_t *prop, int action, | ~~~~~~~~~~~~^~~~ In file included from libmpcodecs/vf.h:118, from command.c:40: command.c: In function 'mp_property_stream_time_pos': ./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:376:58: note: in expansion of macro 'MP_NOPTS_VALUE' 376 | if (!mpctx->demuxer || mpctx->demuxer->stream_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'child_sighandler': mplayer.c:765:34: warning: unused parameter 'x' [-Wunused-parameter] 765 | static void child_sighandler(int x) | ~~~~^ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'load_per_extension_config': mplayer.c:910:75: warning: unused parameter 'file' [-Wunused-parameter] 910 | static void load_per_extension_config(m_config_t *conf, const char *const file) | ~~~~~~~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'saddf': libaf/reorder_ch.c: In function 'reorder_self_4_step_2': mplayer.c:1159:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1159 | if (*pos >= len) { | ^~ 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) { | ^ libaf/reorder_ch.c: In function 'reorder_self_5_step_1': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_metadata': command.c:610:45: warning: unused parameter 'prop' [-Wunused-parameter] 610 | static int mp_property_metadata(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~^~~~~~ 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) | ^ 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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwmpa.c: In function 'control': libmpcodecs/ad_hwmpa.c:142:49: warning: unused parameter 'arg' [-Wunused-parameter] 142 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_hwmpa.c: In function 'uninit': libmpcodecs/ad_hwmpa.c:166:32: warning: unused parameter 'sh' [-Wunused-parameter] 166 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/dec_video.c: In function 'decode_video': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./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 | ^~~~~~~~~~~~~~ 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) { | ^ mplayer.c: In function 'is_at_end': ./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:1744:37: note: in expansion of macro 'MP_NOPTS_VALUE' 1744 | case END_AT_TIME: return pts != MP_NOPTS_VALUE && end_at->pos <= pts; | ^~~~~~~~~~~~~~ ./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:466:29: note: in expansion of macro 'MP_NOPTS_VALUE' 466 | 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:467:32: note: in expansion of macro 'MP_NOPTS_VALUE' 467 | sh_video->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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'generate_video_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 | ^~ mplayer.c:1794:23: note: in expansion of macro 'MP_NOPTS_VALUE' 1794 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_audio': command.c:895:42: warning: unused parameter 'prop' [-Wunused-parameter] 895 | static int mp_property_audio(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'adjust_sync_and_print_status': ./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:2068:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2068 | if (a_pts == MP_NOPTS_VALUE || v_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:2068:53: note: in expansion of macro 'MP_NOPTS_VALUE' 2068 | if (a_pts == MP_NOPTS_VALUE || v_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 mplayer.c: In function 'reinit_video_chain': command.c: In function 'mp_property_video': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:957:42: warning: unused parameter 'prop' [-Wunused-parameter] 957 | static int mp_property_video(m_option_t *prop, int action, void *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:2411:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2411 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_program': mplayer.c:2433:21: warning: assignment to 'sh_video_t *' {aka 'struct sh_video *'} from incompatible pointer type 'demux_stream_t *' [-Wincompatible-pointer-types] 2433 | mpctx->sh_video = mpctx->sh_video->ds = NULL; | ^ command.c:1018:44: warning: unused parameter 'prop' [-Wunused-parameter] 1018 | static int mp_property_program(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'update_video': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./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:2523:30: note: in expansion of macro 'MP_NOPTS_VALUE' 2523 | if (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 | ^~ mplayer.c:2527:35: note: in expansion of macro 'MP_NOPTS_VALUE' 2527 | if (sh_video->last_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ 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){ | ~~~~~~^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_pcm.c: In function 'uninit': 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 ); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_pcm.c:128:32: warning: unused parameter 'sh' [-Wunused-parameter] 128 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:55:1: note: previous definition of 'direct_waitqueue_init' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 55 | direct_waitqueue_init( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:64:1: note: previous definition of 'direct_waitqueue_wait' with type 'DirectResult(DirectWaitQueue *, DirectMutex *)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *)'} 64 | direct_waitqueue_wait( DirectWaitQueue *queue, DirectMutex *mutex ) | ^~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:73:1: note: previous definition of 'direct_waitqueue_wait_timeout' with type 'DirectResult(DirectWaitQueue *, DirectMutex *, long unsigned int)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *, long unsigned int)'} 73 | direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:95:1: note: previous definition of 'direct_waitqueue_signal' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 95 | direct_waitqueue_signal( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:104:1: note: previous definition of 'direct_waitqueue_broadcast' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 104 | direct_waitqueue_broadcast( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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 ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:113:1: note: previous definition of 'direct_waitqueue_deinit' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 113 | direct_waitqueue_deinit( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ 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) | ^ 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) { | ^ 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) | ~~~~~~^~~~~~~ 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' | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_vsync': command.c:1330:41: warning: unused parameter 'mpctx' [-Wunused-parameter] 1330 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ 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){ | ~~~~~~^~~~ libaf/reorder_ch.c: In function 'reorder_self_3_3': command.c: In function 'mp_property_sub_pos': 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); | ^~~~~~~~~~~~~~~~~~~~~ command.c:1433:43: warning: unused parameter 'mpctx' [-Wunused-parameter] 1433 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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) { | ^ 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:3297:23: note: in expansion of macro 'MP_NOPTS_VALUE' 3297 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_hmblck.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; | ^~~~~~~~~~~~~~ mplayer.c:3530:41: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 3530 | stream_write_buffer(os, &in_size, 4); | ^~~~~~~~ | | | int * In file included from ./mp_core.h:26: ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ 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: | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_sgi.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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); | ^~~~~~~~~~~~~~~~~~~~~ ./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:3737:28: note: in expansion of macro 'MP_NOPTS_VALUE' 3737 | if (seek_to_sec != 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': 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); | ^~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_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.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:1448:40: warning: unused parameter 'prop' [-Wunused-parameter] 1448 | static int mp_property_sub(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ 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': 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); | ^~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ ./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:3827:71: note: in expansion of macro 'MP_NOPTS_VALUE' 3827 | if (correct_pts && mpctx->sh_video->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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./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:3828:53: note: in expansion of macro 'MP_NOPTS_VALUE' 3828 | mpctx->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 | ^~ mplayer.c:3836:51: note: in expansion of macro 'MP_NOPTS_VALUE' 3836 | mpctx->sh_video->endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ ./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:4017:36: note: in expansion of macro 'MP_NOPTS_VALUE' 4017 | if (seek_to_sec == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ 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) { | ^ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_mpegpes.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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); | ^~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_vdpau.c: In function 'draw_slice': libvo/vo_vdpau.c:1073:45: warning: unused parameter 'stride' [-Wunused-parameter] 1073 | static int draw_slice(uint8_t *image[], int stride[], int w, int h, | ~~~~^~~~~~~~ libvo/vo_vdpau.c:1073:59: warning: unused parameter 'w' [-Wunused-parameter] 1073 | static int draw_slice(uint8_t *image[], int stride[], int w, int h, | ~~~~^ libvo/vo_vdpau.c:1073:66: warning: unused parameter 'h' [-Wunused-parameter] 1073 | static int draw_slice(uint8_t *image[], int stride[], int w, int h, | ~~~~^ 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); | ^~~~~~~~~~~~~~~~~~~~~ libvo/vo_vdpau.c:1074:27: warning: unused parameter 'x' [-Wunused-parameter] 1074 | int x, int y) | ~~~~^ libvo/vo_vdpau.c:1074:34: warning: unused parameter 'y' [-Wunused-parameter] 1074 | int x, int y) | ~~~~^ 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); | ^~~~~~~~~~~~~~~~~~~~~ libvo/vo_vdpau.c: In function 'draw_image': libvo/vo_vdpau.c:1136:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1136 | VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; | ^ 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); | ^~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/vd.c:32: ./libmpdemux/demuxer.h: In function 'new_demux_packet': command.c: In function 'mp_property_sub_forced_only': command.c:1888:62: warning: unused parameter 'mpctx' [-Wunused-parameter] 1888 | void *arg, MPContext *mpctx) | ~~~~~~~~~~~^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_lzo.c: In function 'decode': 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) | ~~~~^~~~~ command.c: In function 'mp_property_sub_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 mplayer.c: In function 'exit_sighandler': mplayer.c:818:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 818 | mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGILL_RTCpuSel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:822:9: note: here 822 | case SIGFPE: | ^~~~ mplayer.c:824:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGSEGV_SIGFPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:825:9: note: here 825 | default: | ^~~~~~~ mplayer.c: In function 'libmpdemux_was_interrupted': mplayer.c:1010:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1010 | run_command(mpctx, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:1011:9: note: here 1011 | case MP_CMD_PLAY_TREE_STEP: | ^~~~ 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; | ^~~ In file included from libmpcodecs/dec_audio.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/vo_vdpau.c: In function 'query_format': libmpcodecs/vf.c: In function 'vf_config_wrapper': libvo/vo_vdpau.c:1207:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1207 | if (force_mixer) | ^ libmpcodecs/vf.c:655:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 655 | || (vf->fmt.orig_fmt != outfmt)) { | ^~ libvo/vo_vdpau.c:1209:5: note: here 1209 | case IMGFMT_YV12: | ^~~~ 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){ | ~~~~~~^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpcodecs/vf_crop.c: In function 'config': libmpcodecs/vf_crop.c:62:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 62 | vf->priv->crop_y&=~3; | ~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_crop.c:63:9: note: here 63 | case IMGFMT_411P: | ^~~~ libmpcodecs/vf_crop.c:69:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 69 | vf->priv->crop_y&=~1; | ~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_crop.c:70:9: note: here 70 | default: | ^~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_null.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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){ | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/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) | ~~~~^~~~~ 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_mtga.c: In function 'control': libmpcodecs/vd_mtga.c:86:32: 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, ...) | ~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_field.o libmpcodecs/vf_field.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_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) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~^~~~~ 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) | ~~~~^~~~~ 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, ...) | ~~~~~~^~~ 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)) { | ^~ 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) | ~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/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_hwac3.c: In function 'dts_syncinfo': command.c: In function 'run_command': 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) | ~~~~~^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~ ./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) { | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~ ./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; | ^~~~~~~~~~~~~~ libvo/vo_directfb2.c: In function 'config': libvo/vo_directfb2.c:811:22: 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:45: 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)) { | ^~ 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/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) | ~~~~~~~^~~~~~ libvo/vo_directfb2.c:466:58: warning: unused parameter 'title' [-Wunused-parameter] 466 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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: | ^~~~ 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) | ~~~~~~~~~~~~~^~~~~~ In file included from ffmpeg/libavutil/common.h:43, from libvo/vo_directfb2.c:30: libvo/vo_directfb2.c: In function 'draw_slice': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libvo/vo_directfb2.c:1180:13: note: in expansion of macro 'FFMIN' 1180 | p = FFMIN(w, pitch); | ^~~~~ libmpcodecs/vd_mpegpes.c: In function 'control': ffmpeg/libavutil/macros.h:49:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libvo/vo_directfb2.c:1180:13: note: in expansion of macro 'FFMIN' 1180 | p = FFMIN(w, pitch); | ^~~~~ libvo/vo_directfb2.c: In function 'put_image': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libvo/vo_directfb2.c:1276:13: note: in expansion of macro 'FFMIN' 1276 | p = FFMIN(mpi->w, pitch); | ^~~~~ ffmpeg/libavutil/macros.h:49:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libvo/vo_directfb2.c:1276:13: note: in expansion of macro 'FFMIN' 1276 | p = FFMIN(mpi->w, pitch); | ^~~~~ 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/vd_mpegpes.c:44:32: warning: unused parameter 'sh' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/ad_dvdpcm.c:61:23: warning: this statement may fall through [-Wimplicit-fallthrough=] 61 | sh->i_bps = sh->channels * sh->samplerate * 5 / 2; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_dvdpcm.c:63:11: note: here 63 | case 2: | ^~~~ 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/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) | ~~~~^~~~~~~ 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++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpcodecs/vf_eq.c: In function 'vf_open': libmpcodecs/vf_eq.c:261:45: warning: unused parameter 'args' [-Wunused-parameter] 261 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ~~~~~~~~~~~~~~~~~^~~ libmpcodecs/vf_eq2.c: In function 'put_image': command.c:1880:5: note: here 1880 | default: | ^~~~~~~ libmpcodecs/vf_eq2.c:289:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 289 | if ((eq2->buf_w[0] != src->w) || (eq2->buf_h[0] != src->h)) { | ^~ libmpcodecs/vf_eq2.c:289:51: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 289 | if ((eq2->buf_w[0] != src->w) || (eq2->buf_h[0] != src->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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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: | ^~~~~~~ command.c: In function 'mp_property_sub_alignment': command.c:1834:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1834 | if (!arg) | ^ 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': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 command.c:1437:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1437 | if (!arg) | ^ command.c:1439:5: note: here 1439 | case M_PROPERTY_STEP_UP: | ^~~~ command.c:1441:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1441 | vo_osd_changed(OSDTYPE_SUBTITLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:1442:5: note: here 1442 | default: | ^~~~~~~ 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) | ^~ 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_null.c:39:49: warning: unused parameter 'arg' [-Wunused-parameter] 39 | static int control(sh_video_t *sh,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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ~~~~^~~~~ libvo/vo_gl_tiled.c: In function 'initGl': libvo/vo_gl_tiled.c:558:11: warning: missing initializer for field 'input_shift' of 'struct mp_csp_params' [-Wmissing-field-initializers] 558 | {-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:559:11: warning: missing initializer for field 'filter_strength' of 'gl_conversion_params_t' [-Wmissing-field-initializers] 559 | texture_width, texture_height, 0, 0, 0}; | ^~~~~~~~~~~~~ libvo/gl_common.h:163:9: note: 'filter_strength' declared here 163 | float filter_strength; | ^~~~~~~~~~~~~~~ command.c: In function 'mp_property_vo_flag': command.c:1213:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1213 | if (*vo_var == !!*(int *) arg) | ^ command.c:1216:5: note: here 1216 | case M_PROPERTY_STEP_UP: | ^~~~ command.c: In function 'mp_property_fullscreen': command.c:1067:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1067 | if (vo_fs == !!*(int *) arg) | ^ command.c:1070:5: note: here 1070 | case M_PROPERTY_STEP_UP: | ^~~~ libvo/vo_gl_tiled.c: In function 'draw_slice': libvo/vo_gl_tiled.c:734:29: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 734 | if (subtex_y + subtex_h > texture_height) | ^ libvo/vo_gl_tiled.c:738:31: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 738 | if (subtex_x + subtex_w > texture_width) | ^ command.c: In function 'mp_property_mute': command.c:740:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 740 | if (mpctx->edl_muted) { | ^ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 command.c:744:5: note: here 744 | default: | ^~~~~~~ libvo/vo_gl_tiled.c: In function 'initGl': libvo/vo_gl_tiled.c:566:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 566 | glBindTexture(GL_TEXTURE_2D, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl_tiled.c:567:7: note: here 567 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/vd.h:25, from libmpcodecs/vf_filmdint.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; | ^~~~~~~~~~~~~~ command.c: In function 'run_command': command.c:3445:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 3445 | if (sh_audio) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 command.c:3451:5: note: here 3451 | case MP_CMD_AF_ADD: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/vo_matrixview.c: In function 'draw_slice': libvo/vo_matrixview.c:173:20: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 173 | sws_scale(sws, src, stride, y, h, map_image, map_stride); | ^~~ | | | uint8_t ** {aka unsigned char **} In file included from libvo/vo_matrixview.c:38: ffmpeg/libswscale/swscale.h:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 218 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libvo/vo_matrixview.c:171:57: warning: unused parameter 'w' [-Wunused-parameter] 171 | static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) | ~~~~^ libvo/vo_matrixview.c:171:71: warning: unused parameter 'x' [-Wunused-parameter] 171 | static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y) | ~~~~^ 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': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~^~~~ 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) && psad.temp < 64) | ^~ libvo/vo_gl.c: In function 'draw_osd': libvo/vo_gl.c:849:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 849 | osd_w = scaled_osd ? image_width : draw_width; | ^~~~~~~~~~ libvo/vo_gl.c:850:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 850 | osd_h = scaled_osd ? image_height : draw_height; | ^~~~~~~~~~~ libvo/vo_gl.c: In function 'draw_image': libvo/vo_gl.c:1058:86: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 1058 | int slice = gl_target == GL_TEXTURE_RECTANGLE && gl_format == GL_YCBCR_422_APPLE ? -1 : slice_height; | ^~ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_filmdint.c:32: 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:1333:54: note: in expansion of macro 'MP_NOPTS_VALUE' 1333 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./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:1333:70: note: in expansion of macro 'MP_NOPTS_VALUE' 1333 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; | ^~~~~~~~~~~~~~ libmpcodecs/vf_filmdint.c:1138:70: warning: unused parameter 'pts' [-Wunused-parameter] 1138 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_filmdint.c:1138:82: warning: unused parameter 'endpts' [-Wunused-parameter] 1138 | 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:1384:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1384 | if (!p->w || p->w > width ) p->w = width; | ^ libmpcodecs/vf_filmdint.c:1385:23: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1385 | if (!p->h || p->h > height) p->h = height; | ^ libmpcodecs/vf_filmdint.c:1386:26: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1386 | if (p->crop_x + p->w > width ) p->crop_x = 0; | ^ 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_y + p->h > height) p->crop_y = 0; | ^ libmpcodecs/vf_filmdint.c:1367:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1367 | cym = 3; | ~~~~^~~ libmpcodecs/vf_filmdint.c:1368:11: note: here 1368 | case IMGFMT_411P: | ^~~~ libmpcodecs/vf_filmdint.c:1374:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 1374 | cym = 1; | ~~~~^~~ libmpcodecs/vf_filmdint.c:1375:11: note: here 1375 | default: | ^~~~~~~ libmpcodecs/vf_filmdint.c: In function 'put_image': libmpcodecs/vf_filmdint.c:1207:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1207 | if (p->notout < p->num_fields) | ^ libmpcodecs/vf_filmdint.c:1209:7: note: here 1209 | case 4: | ^~~~ libmpcodecs/vf_filmdint.c:1234:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1234 | if (p->num_fields == 1) { | ^ libmpcodecs/vf_filmdint.c:1246:7: note: here 1246 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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_phase.c: In function 'analyze_plane': libmpcodecs/vf_phase.c:89:36: warning: unused parameter 'verbose' [-Wunused-parameter] 89 | int verbose, int fields) | ~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpcodecs/vf_filmdint.c: In function 'block_metrics_mmx2': libmpcodecs/vf_filmdint.c:604:12: warning: 'tm' is used uninitialized [-Wuninitialized] 604 | return tm; | ^~ libmpcodecs/vf_filmdint.c:481:20: note: 'tm' declared here 481 | struct metrics tm; | ^~ libmpcodecs/vf_filmdint.c: In function 'block_metrics_3dnow': libmpcodecs/vf_filmdint.c:462:12: warning: 'tm' is used uninitialized [-Wuninitialized] 462 | return tm; | ^~ libmpcodecs/vf_filmdint.c:452:20: note: 'tm' declared here 452 | struct metrics tm; | ^~ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpcodecs/vf_pp7.c:210:18: warning: 'thres' defined but not used [-Wunused-const-variable=] 210 | static const int thres[16]={ | ^~~~~ 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_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++) | ^ 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': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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_scale.c: At top level: 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_scale.c:62:1: warning: missing initializer for field 'interlaced' of 'const struct vf_priv_s' [-Wmissing-field-initializers] 62 | }; | ^ libmpcodecs/vf_scale.c:51:9: note: 'interlaced' declared here 51 | int interlaced; | ^~~~~~~~~~ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ~~~~~~^~~~ 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_scale.c: In function 'scale': libmpcodecs/vf_scale.c:442:25: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 442 | 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:36: ffmpeg/libswscale/swscale.h:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 218 | 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(sws2, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2); | ^~~~ | | | uint8_t ** {aka unsigned char **} ffmpeg/libswscale/swscale.h:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 218 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_softpulldown.c:28: libmpcodecs/vf_softpulldown.c: In function 'put_image': libmpcodecs/vf_scale.c:449:25: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 449 | sws_scale(sws1, src2, src_stride, y, h, dst, dst_stride); | ^~~~ | | | uint8_t ** {aka unsigned char **} ffmpeg/libswscale/swscale.h:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 218 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./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); | ^~~~~~~~~~~~~~ libmpcodecs/vf_scale.c: In function 'draw_slice': ./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); | ^~~~~~~~~~~~~~ libmpcodecs/vf_scale.c:454:47: warning: unused parameter 'w' [-Wunused-parameter] 454 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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_scale.c:454:60: warning: unused parameter 'x' [-Wunused-parameter] 454 | 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:576:45: warning: unused parameter 'args' [-Wunused-parameter] 576 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf_tfields.c: In function 'put_image': In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_tinterlace.c:30: libmpcodecs/vf_tinterlace.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) | ~~~~~~~^~~~~~ libmpcodecs/vf_tfields.c: In function 'continue_buffered_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); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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:78: note: in expansion of macro 'MP_NOPTS_VALUE' 395 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), 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); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./libmpdemux/demuxer.h:98:29: warning: left shift of 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:78: 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:78: 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:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 468 | if (vf->priv->mode == 1) | ^ libmpcodecs/vf_tfields.c:470:9: note: here 470 | case IMGFMT_YV12: | ^~~~ ./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); | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~~ ./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); | ^~~~~~~~~~~~~~ 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_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_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_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); | ^~~~~~~~~~~~~~ ./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) | ~~~~~~~^~~~~~ ./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; | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~~ ./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); | ^~~~~~~~~~~~~~ libmpcodecs/vf_scale.c: At top level: libmpcodecs/vf_scale.c:733:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 733 | {"presize", 0, CONF_TYPE_OBJ_PRESETS, 0, 0, 0, &size_preset}, | ^ libmpcodecs/vf_scale.c: In function 'config': libmpcodecs/vf_scale.c:315:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 315 | vf->priv->h = (vf->priv->h + 1) & ~1; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_scale.c:316:5: note: here 316 | case IMGFMT_YUY2: /* YUY2 needs w rounded to 2 */ | ^~~~ 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; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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}}, | ^ 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) | ~~~~~~~^~~ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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) | ~~~~~~~^~~~~~ 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; | ^~~~~~~~ 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/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~ 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; | ^~~~~~~~ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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: 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]; | ^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_test.c: In function 'config': 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: | ^~~~ libmpcodecs/vf_test.c:52:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 52 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ 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){ | ~~~~~~~~~~~~~^~~ 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; | ^~~~~~~~~~~~~~ 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){ | ~~~~~~^~~~ 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){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ./mpcommon.h:25, from libmpdemux/demuxer.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 'asf_descrambling': libmpdemux/demux_asf.c:78:18: 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:20: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 79 | for(y=0;yscrambling_h;y++){ | ^ 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){ | ~~~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'swapGlBuffers_x11': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/gl_common.c:2377:44: warning: unused parameter 'ctx' [-Wunused-parameter] 2377 | static void swapGlBuffers_x11(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/gl_common.c: In function 'dummy_color': 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) | ^~ libvo/gl_common.c:2480:44: warning: unused parameter 'r' [-Wunused-parameter] 2480 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libmpdemux/demux_asf.c: In function 'demux_asf_fill_buffer': 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]); | ^ libvo/gl_common.c:2480:55: warning: unused parameter 'g' [-Wunused-parameter] 2480 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/gl_common.c:2480:66: warning: unused parameter 'b' [-Wunused-parameter] 2480 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c:2480:77: warning: unused parameter 'a' [-Wunused-parameter] 2480 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c: In function 'dummy_texenvi': libvo/gl_common.c:2483:45: warning: unused parameter 't' [-Wunused-parameter] 2483 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~~^ libvo/gl_common.c:2483:55: warning: unused parameter 'p' [-Wunused-parameter] 2483 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~~^ libvo/gl_common.c:2483:64: warning: unused parameter 'v' [-Wunused-parameter] 2483 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~^ 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; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:470:24: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 470 | if (rlen < 0 || rlen > p_end - p) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ffmpeg/libavutil/common.h:43, from libmpdemux/asf.h:24, from libmpdemux/demux_asf.c:32: ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 49 | #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); | ^~~~~ ffmpeg/libavutil/macros.h:49:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #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); | ^~~~~ ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 49 | #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); | ^~~~~ ffmpeg/libavutil/macros.h:49:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #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/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){ | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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_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){ | ~~~~~~^~~~~~~~~~~ libvo/gl_common.c: In function 'swapGlBuffers_egl': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libvo/gl_common.c:2641:44: warning: unused parameter 'ctx' [-Wunused-parameter] 2641 | static void swapGlBuffers_egl(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'setGlWindow_dummy': libvo/gl_common.c:2647:43: warning: unused parameter 'ctx' [-Wunused-parameter] 2647 | static int setGlWindow_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'releaseGlContext_dummy': libvo/gl_common.c:2654:49: warning: unused parameter 'ctx' [-Wunused-parameter] 2654 | static void releaseGlContext_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'swapGlBuffers_dummy': libvo/gl_common.c:2657:46: warning: unused parameter 'ctx' [-Wunused-parameter] 2657 | static void swapGlBuffers_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpdemux/demux_avi.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: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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/gl_common.c: In function 'mpglcontext_create_window': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/gl_common.c:2812:50: warning: passing argument 3 of 'glXChooseVisual' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2812 | 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:43: note: expected 'int *' but argument is of type 'const int *' 183 | int *attribList ); | ~~~~~^~~~~~~~~~ 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: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/aviheader.c: In function 'read_avi_header': libmpdemux/aviheader.c:277:35: 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:72: 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:28, from libmpdemux/aviprint.h:23, from libmpdemux/asfheader.c:32: libmpdemux/demuxer.h: In function 'new_demux_packet': 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:240:21: note: in expansion of macro 'MP_NOPTS_VALUE' 240 | 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:241:26: note: in expansion of macro 'MP_NOPTS_VALUE' 241 | d->reference_clock = 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 '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:347:19: note: in expansion of macro 'MP_NOPTS_VALUE' 347 | sh->pts = 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.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 'ds_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.c:701:27: note: in expansion of macro 'MP_NOPTS_VALUE' 701 | if (p->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:706:34: note: in expansion of macro 'MP_NOPTS_VALUE' 706 | if (p->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ 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:895:12: note: in expansion of macro 'MP_NOPTS_VALUE' 895 | *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:896:15: note: in expansion of macro 'MP_NOPTS_VALUE' 896 | *endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:919:22: note: in expansion of macro 'MP_NOPTS_VALUE' 919 | 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:925:19: note: in expansion of macro 'MP_NOPTS_VALUE' 925 | *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:928:19: note: in expansion of macro 'MP_NOPTS_VALUE' 928 | *endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/aviheader.c:497:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 497 | for (j=0; jnEntriesInUse; j++) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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:942:25: note: in expansion of macro 'MP_NOPTS_VALUE' 942 | 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.c:942:54: note: in expansion of macro 'MP_NOPTS_VALUE' 942 | if (*pts != MP_NOPTS_VALUE && max_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:964:20: note: in expansion of macro 'MP_NOPTS_VALUE' 964 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/aviheader.c:517:23: 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/demuxer.h:98:29: warning: left shift of negative value [-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:971:20: note: in expansion of macro 'MP_NOPTS_VALUE' 971 | return 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:974:20: note: in expansion of macro 'MP_NOPTS_VALUE' 974 | return 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpdemux/aviheader.c:595:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 595 | for (j=0;jnEntriesInUse;j++) | ^ 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/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:1404:36: note: in expansion of macro 'MP_NOPTS_VALUE' 1404 | 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:1543:32: note: in expansion of macro 'MP_NOPTS_VALUE' 1543 | if (demuxer->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ 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/demuxer.h:98:29: warning: left shift of negative value [-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:1545:43: note: in expansion of macro 'MP_NOPTS_VALUE' 1545 | 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:1547:43: note: in expansion of macro 'MP_NOPTS_VALUE' 1547 | else if (sh_audio && sh_audio->pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/aviheader.c:687:22: 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:13: note: here 688 | case 1: if(c&0x40000000) idx->dwFlags&=~AVIIF_KEYFRAME;break; // divx 3 | ^~~~ In file included from libmpdemux/demux_pva.c:40: libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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:447:59: note: in expansion of macro 'MP_NOPTS_VALUE' 447 | ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_mov.c:54: ./loader/qtx/qtxsdk/components.h: In function 'dump_ImageDescription': ./loader/qtx/qtxsdk/components.h:706:18: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 706 | if(id->idSize>sizeof(ImageDescription)){ | ^ ./loader/qtx/qtxsdk/components.h: In function 'dump_CodecDecompressParams': ./loader/qtx/qtxsdk/components.h:762:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 762 | for(i=0;iwantedDestinationPixelTypes; | ^~ 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/asfheader.c: In function 'read_asf_header': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpdemux/asfheader.c:440:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 440 | if (streamh->type_size > hdr_len) goto len_err_out; | ^ libmpdemux/asfheader.c:442:42: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 442 | if (audio_pos + streamh->type_size > hdr_len) goto len_err_out; | ^ libmpdemux/asfheader.c:466:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 466 | if (streamh->type_size > hdr_len) goto len_err_out; | ^ libmpdemux/asfheader.c:503:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 503 | if (sh_video->bih->biSize > len && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ libmpdemux/asfheader.c:503:66: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 503 | if (sh_video->bih->biSize > len && 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpdemux/demux_mkv.c:32: 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_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; | ^~~~~~~~~~~~~~ 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 || | ^ In file included from libmpdemux/demux_film.c:37: libmpdemux/demuxer.h: In function 'new_demux_packet': 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/demux_pva.c: In function 'demux_pva_fill_buffer': libmpdemux/demux_pva.c:374:70: warning: unused parameter 'ds' [-Wunused-parameter] 374 | static int demux_pva_fill_buffer (demuxer_t * demux, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ In file included from libmpdemux/aviheader.h:28, from libmpdemux/aviprint.h:23, from libmpdemux/demux_realaud.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_pva.c: In function 'demux_seek_pva': libmpdemux/demux_pva.c:459:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] 459 | static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,float audio_delay,int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_pva.c:459:90: warning: unused parameter 'flags' [-Wunused-parameter] 459 | static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,float audio_delay,int flags) | ~~~~^~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_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/demux_lmlm4.c: In function 'demux_close_lmlm4': libmpdemux/demux_lmlm4.c:355:42: warning: unused parameter 'demuxer' [-Wunused-parameter] 355 | static void demux_close_lmlm4(demuxer_t *demuxer) | ~~~~~~~~~~~^~~~~~~ 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) | ~~~~~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpdemux/demux_mov.c:61: libmpdemux/demuxer.h: In function 'new_demux_packet': 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: | ^~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_open_ra': libmpdemux/demux_realaud.c:264:15: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 264 | } else | ^~~~ libmpdemux/demux_realaud.c:268:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 268 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpdemux/demux_fli.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./mpcommon.h:25, from libmpdemux/demux_ts.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/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; | ^~~~~~~~~~~~~~ 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/demux_aac.c: In function 'demux_aac_seek': 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/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/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++) { | ^ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_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/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) | ~~~~~~~~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:28, 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: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_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_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 | }; | ^ libmpdemux/demuxer.h:225:9: note: 'control' declared here 225 | int (*control)(struct demuxer *demuxer, int cmd, void *arg); ///< Optional | ^~~~~~~ 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; | ^~~~~~~~~~~~~~ libmpdemux/demux_audio.c: In function 'demux_audio_open': libmpdemux/demux_audio.c:547:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 547 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ libmpdemux/demux_audio.c:547:48: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 547 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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:749:22: note: in expansion of macro 'MP_NOPTS_VALUE' 749 | priv->next_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~~~~~~~~~ In file included from libmpdemux/aviheader.h:28, from libmpdemux/aviprint.h:23, from libmpdemux/demux_real.c:49: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_film.c: In function 'demux_film_fill_buffer': libmpdemux/demux_film.c:160:31: warning: initialization of 'short unsigned int *' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] 160 | unsigned short* tmp = dp->buffer; | ^~ libmpdemux/demux_audio.c: In function 'demux_audio_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.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_audio.c:783:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] 783 | static void demux_audio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_film.c:101:71: warning: unused parameter 'ds' [-Wunused-parameter] 101 | static int demux_film_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ 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:850:52: note: in expansion of macro 'MP_NOPTS_VALUE' 850 | if (audio_length<=0 || priv->next_pts==MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavutil/common.h:43, 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/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/demux_mov.c:200:14: note: in expansion of macro 'FFMIN' 200 | last=FFMIN(trak->chunkmap[i].first, trak->chunks_size); | ^~~~~ ffmpeg/libavutil/macros.h:49:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/demux_mov.c:200:14: note: in expansion of macro 'FFMIN' 200 | last=FFMIN(trak->chunkmap[i].first, trak->chunks_size); | ^~~~~ libmpdemux/demux_mov.c:258:18: 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:18: 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:23: 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 307 | if(ptssamples[sample].pts) break; | ^ 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_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) { | ^~ libmpdemux/demux_mov.c: In function 'gen_sh_audio': libmpdemux/demux_mov.c:632:46: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 632 | if(trak->editlist[0].pos == -1) { | ^~ 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_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:9: 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:87: 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; | ^~~~~~~~~~~~~~~~~~ In file included from libmpdemux/demux_y4m.c:36: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_real.c:651:87: 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; | ^~~~~~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_vqf.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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/demuxer.h:98:29: warning: left shift of negative 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_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:881:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 881 | if (audioreorder_getnextpk) | ^~ libmpdemux/demux_real.c:884:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 884 | return 1; | ^~~~~~ libmpdemux/mf.c: In function 'init_mf_from_glob_pattern': libmpdemux/mf.c:125:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 125 | for( i=0;i < gg.gl_pathc;i++ ) | ^ libmpdemux/demux_mov.c: In function 'gen_sh_video': libmpdemux/demux_mov.c:962:46: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 962 | if(trak->editlist[0].pos == -1) { | ^~ 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_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_real.c:984:65: 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){ | ^ libmpdemux/demux_real.c:1016:33: 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:29: 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:33: 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) | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_mov.c:1248:47: 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)) { | ^ 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; | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 ) && | ^~ libmpdemux/demux_mov.c: In function 'lschunks': libmpdemux/demux_mov.c:1531:25: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1531 | char *text = malloc(text_len+2+1); | ^~~~ 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/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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/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_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/parse_es.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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_mov.c: In function 'demux_mov_fill_buffer': libmpdemux/demux_mov.c:2202:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2202 | } else | ^~~~ libmpdemux/demux_mov.c:2205:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2205 | ++trak->pos; | ^~ libmpdemux/demux_mov.c: In function 'mov_seek_track': 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:36: note: in expansion of macro 'MP_NOPTS_VALUE' 1077 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mov.c:2244:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2244 | while(trak->poschunks_size && trak->chunks[trak->pos].samplepos; | ^ libmpdemux/demux_mov.c: In function 'demux_seek_mov': libmpdemux/demux_mov.c:2277:63: warning: unused parameter 'audio_delay' [-Wunused-parameter] 2277 | static void demux_seek_mov(demuxer_t *demuxer,float pts,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_real.c: In function 'demux_open_real': libmpdemux/demux_real.c:1466:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1466 | else | ^~~~ libmpdemux/demux_real.c:1469:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1469 | break; | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ 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) {} | ~~~~~~~~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpdemux/demux_mov.c: In function 'mov_check_file': libmpdemux/demux_mov.c:499:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 499 | if(flags&2) break; | ^ libmpdemux/demux_mov.c:500:9: note: here 500 | case MOV_FOURCC('m','d','a','t'): | ^~~~ 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_mf.c: In function 'demux_seek_mf': 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_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_fli.c: In function 'demux_seek_fli': libmpdemux/demux_mf.c: In function 'demux_mf_fill_buffer': 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_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_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){ | ~~~~~~~~~~~~~~~~^~ 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_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_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_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_mpg.c: In function 'new_audio_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 | ^~~~~ libmpdemux/demux_mpg.c: In function 'demux_mpg_read_packet': 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/demuxer.h:98:29: warning: left shift of negative 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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/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_mpg.c:569:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 569 | if(priv->es_map[id - 0x1B0]) | ^~ In file included from libmpdemux/demux_mpg.c:28: ./mp_msg.h:150:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 150 | # define mp_dbg(mod,lev, args... ) mp_msg(mod, lev, ## args ) | ^~~~~~ libmpdemux/demux_mpg.c:571:11: note: in expansion of macro 'mp_dbg' 571 | mp_dbg(MSGT_DEMUX,MSGL_DBG2,"ASSIGNED TO STREAM %d CODEC %x\n", id, priv->es_map[id - 0x1B0]); | ^~~~~~ 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:37: note: in expansion of macro 'MP_NOPTS_VALUE' 2718 | double 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libmpdemux/demux_ts.c:2731:28: 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_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; | ^ 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_ts.c: In function 'ts_parse': libmpdemux/demux_ts.c:2785:22: 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; | ^~~~~ 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_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:36: note: in expansion of macro 'MP_NOPTS_VALUE' 3252 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_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_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/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_ts.c: In function 'demux_seek_ts': libmpdemux/demux_mkv.c: In function 'demux_mkv_read_seekhead': 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_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)) | ^ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/ai_alsa.o stream/ai_alsa.c In function 'get_payload_extension_data', inlined from 'demux_asf_fill_buffer' at libmpdemux/demux_asf.c:486:22: libmpdemux/demux_asf.c:331:47: warning: 'payload_time' may be used uninitialized [-Wmaybe-uninitialized] 331 | asf->last_aud_diff = payload_time - asf->last_aud_pts; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'demux_asf_fill_buffer': libmpdemux/demux_asf.c:202:14: note: 'payload_time' was declared here 202 | uint64_t payload_time; //100ns units | ^~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) { | ~~~~~^~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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)) | ^ In file included from stream/stream_mf.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^ 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 ./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/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/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 : 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ./mpcommon.h:25, from sub/sub.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ In file included from stream/stream_bd.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 ./mpcommon.h:25, from sub/vobsub.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream_bd.c: In function 'find_vuk': stream/stream_bd.c:158:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 158 | char *filename = av_asprintf("%s/.cache/aacs/vuk/%s", home, idstr); | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream_bd.c: In function 'bd_get_uks': stream/stream_bd.c:279:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 279 | if (pos < file_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ./mpcommon.h:25, from sub/subreader.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; | ^~~~~~~~~~~~~~ stream/stream_bd.c: In function 'get_clipinf': stream/stream_bd.c:449:39: warning: variable 'end_offset' set but not used [-Wunused-but-set-variable] 449 | int langmap_offset, index_offset, end_offset; | ^~~~~~~~~~ stream/stream_bd.c:449:25: warning: variable 'index_offset' set but not used [-Wunused-but-set-variable] 449 | int langmap_offset, index_offset, end_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream_bd.c: In function 'bd_stream_open': stream/stream_bd.c:507:44: warning: unused parameter 'mode' [-Wunused-parameter] 507 | static int bd_stream_open(stream_t *s, int mode, void* opts, int* file_format) | ~~~~^~~~ In file included from stream/stream_dvb.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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream_bd.c:507:67: warning: unused parameter 'file_format' [-Wunused-parameter] 507 | static int bd_stream_open(stream_t *s, int mode, void* opts, int* file_format) | ~~~~~^~~~~~~~~~~ stream/stream.c: In function 'open_stream_plugin': stream/stream.c:165:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | { "stream url", arg , CONF_TYPE_CUSTOM_URL, 0, 0 ,0, sinfo->opts }; | ^~~~~ stream/stream.c: In function 'stream_capture_do': stream/stream.c:273:69: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 273 | if (stream_write_buffer(s->capture_stream, s->buffer, s->buf_len) != s->buf_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream.c: In function 'parse_chapter_range': stream/stream.c:716:43: warning: unused parameter 'conf' [-Wunused-parameter] 716 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 || | ^~ stream/stream_dvb.c: In function 'dvb_streaming_start': stream/stream_dvb.c:612:82: warning: unused parameter 'tuner_type' [-Wunused-parameter] 612 | static int dvb_streaming_start(stream_t *stream, struct stream_priv_s *opts, int tuner_type, char *progname) | ~~~~^~~~~~~~~~ sub/vobsub.c: In function 'vobsub_get_id_by_index': 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) | ^ 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++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~ In file included from /usr/include/alsa/asoundlib.h:54, from stream/ai_alsa.c:25: /usr/include/alsa/pcm.h:1370:5: note: declared here 1370 | int snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, unsigned int val) __attribute__((deprecated)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~ 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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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: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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) { | ^ 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 | ^ av_helpers.c: In function 'lavc_encode_audio': av_helpers.c:155:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 155 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavcodec/avcodec.h:45, from av_helpers.c:21: ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ libmpdemux/demux_ty.c: In function 'demux_ty_fill_buffer': libmpdemux/demux_ty.c:598:53: warning: 'esOffset1' may be used uninitialized [-Wmaybe-uninitialized] 598 | if ( nybbleType == 0x03 && esOffset1 == 0 && size == 16 ) | ~~~~~~~~~~^~~~ libmpdemux/demux_ty.c:591:20: note: 'esOffset1' was declared here 591 | int esOffset1, esOffset2; | ^~~~~~~~~ sub/spudec.c: In function 'spudec_process_control': sub/spudec.c:481:43: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 481 | start_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; | ^~ sub/spudec.c:489:43: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 489 | start_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; | ^~ sub/spudec.c:497:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 497 | end_pts = pts100 < 0 && -pts100 >= date ? 0 : pts100 + date; | ^~ In file included from ffmpeg/libavutil/version.h:30, from ffmpeg/libavutil/avstring.h:27, from sub/spudec.c:31: ffmpeg/libavutil/macros.h:47:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:518:21: note: in expansion of macro 'FFMAX' 518 | a = FFMAX(a, this->alpha[0]); | ^~~~~ ffmpeg/libavutil/macros.h:47:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:518:21: note: in expansion of macro 'FFMAX' 518 | a = FFMAX(a, this->alpha[0]); | ^~~~~ ffmpeg/libavutil/macros.h:47:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:519:21: note: in expansion of macro 'FFMAX' 519 | b = FFMAX(b, this->alpha[1]); | ^~~~~ ffmpeg/libavutil/macros.h:47:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:519:21: note: in expansion of macro 'FFMAX' 519 | b = FFMAX(b, this->alpha[1]); | ^~~~~ ffmpeg/libavutil/macros.h:47:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:520:21: note: in expansion of macro 'FFMAX' 520 | c = FFMAX(c, this->alpha[2]); | ^~~~~ 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': ./libmpdemux/demuxer.h:98:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ libmpcodecs/ad_spdif.c:180:27: warning: passing argument 1 of 'av_opt_find' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 180 | opt = av_opt_find(&lavf_ctx->oformat->priv_class, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stream/stream_dvd.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpcodecs/ad_spdif.c:27: ffmpeg/libavutil/opt.h:604:35: note: expected 'void *' but argument is of type 'const AVClass * const*' 604 | const AVOption *av_opt_find(void *obj, const char *name, const char *unit, | ~~~~~~^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: 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); | ^~~~~~~~~~~~~~ libmpcodecs/ad_spdif.c:260:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 260 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ ffmpeg/libavutil/macros.h:47:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:520:21: note: in expansion of macro 'FFMAX' 520 | c = FFMAX(c, this->alpha[2]); | ^~~~~ In file included from ffmpeg/libavformat/avformat.h:316, from libmpcodecs/ad_spdif.c:25: ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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, ...) | ~~~~~~^~~ ffmpeg/libavutil/macros.h:47:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^ sub/spudec.c:521:21: note: in expansion of macro 'FFMAX' 521 | d = FFMAX(d, this->alpha[3]); | ^~~~~ ffmpeg/libavutil/macros.h:47:33: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 47 | #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) | ^~~ sub/spudec.c:521:21: note: in expansion of macro 'FFMAX' 521 | d = FFMAX(d, this->alpha[3]); | ^~~~~ sub/spudec.c:566:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 566 | end_pts = 1 - pts100 >= end_pts ? 0 : pts100 + end_pts - 1; | ^~ sub/subreader.c: In function 'sub_ass_read_line_subviewer': sub/subreader.c:415:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 415 | if (len >= sizeof(full_line) - j - 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream_cddb.c:75: ./libmpdemux/demuxer.h: In function 'new_demux_packet': sub/font_load.c: In function 'load_raw': libaf/af_lavcresample.c: In function 'play': sub/font_load.c:37:35: warning: unused parameter 'verbose' [-Wunused-parameter] 37 | raw_file* load_raw(char *name,int verbose){ | ~~~~^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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 **} ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 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); | ~~~~~~~~~~~~~~~~^~ sub/spudec.c: In function 'scale_table': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ sub/spudec.c:842:24: note: in expansion of macro 'FFMIN' 842 | table[t].position= FFMIN(src >> 16, end_src - 1); | ^~~~~ ffmpeg/libavutil/macros.h:49:39: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ sub/spudec.c:842:24: note: in expansion of macro 'FFMIN' 842 | table[t].position= FFMIN(src >> 16, end_src - 1); | ^~~~~ stream/url.c: In function 'url_escape_string': stream/url.c:429:35: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 429 | *outbuf++ = c; | ~~~~~~~~~~^~~ stream/url.c:398:23: note: 'c' was declared here 398 | unsigned char c; | ^ sub/spudec.c: In function 'sws_spu_image': libmpcodecs/vf_lavcdeint.c: In function 'vf_open': sub/spudec.c:902:23: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 902 | sws_scale(ctx,&s2,&ss,0,sh,&d2,&ds); | ^~~ | | | unsigned char ** libmpcodecs/vf_lavcdeint.c:36:24: warning: unused parameter 'vf' [-Wunused-parameter] 36 | vf_open(vf_instance_t *vf, char *args) | ~~~~~~~~~~~~~~~^~ In file included from sub/spudec.c:48: ffmpeg/libswscale/swscale.h:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 218 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_cache.o libass/ass_cache.c sub/spudec.c: In function 'spudec_packet_send': sub/spudec.c:1377:29: warning: left shift of negative value [-Wshift-negative-value] 1377 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/spudec.c:1440:14: note: in expansion of macro 'MP_NOPTS_VALUE' 1440 | if (pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ sub/spudec.c:1377:29: warning: left shift of negative value [-Wshift-negative-value] 1377 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/spudec.c:1442:17: note: in expansion of macro 'MP_NOPTS_VALUE' 1442 | if (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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 ) { | ^~ libmpcodecs/vf_lavc.c: In function 'config': libmpcodecs/vf_lavc.c:50:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 50 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ 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) { | ^ 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) | ^~ 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 'init': libmpcodecs/ad_ffmpeg.c:109:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | lavc_codec = avcodec_find_decoder_by_name(codec_idx2str(sh_audio->codec->dll_idx)); | ^ libmpcodecs/ad_ffmpeg.c: In function 'control': libmpcodecs/ad_ffmpeg.c:206:49: warning: unused parameter 'arg' [-Wunused-parameter] 206 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ sub/subreader.c: In function 'subcp_open': sub/subreader.c:1218:31: warning: unused parameter 'st' [-Wunused-parameter] 1218 | void subcp_open (stream_t *st) | ~~~~~~~~~~^~ 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:331:48: note: in expansion of macro 'MP_NOPTS_VALUE' 331 | ds_parse(sh_audio->ds, &start, &x, MP_NOPTS_VALUE, 0); | ^~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c:349:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 349 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ sub/subreader.c: In function 'sub_fribidi': sub/subreader.c:1316:35: warning: unused parameter 'sub' [-Wunused-parameter] 1316 | static int sub_fribidi (subtitle *sub, int av_unused sub_utf8, int av_unused from) | ~~~~~~~~~~^~~ In file included from ffmpeg/libavcodec/avcodec.h:45, from libmpcodecs/ad_ffmpeg.c:47: ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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:352:20: note: in expansion of macro 'MP_NOPTS_VALUE' 352 | if (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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 sub/subreader.c: In function 'sub_read_file': sub/subreader.c:1543:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1543 | if (l >= strlen(exts[k]) && !av_strcasecmp(filename+(l - strlen(exts[k])), exts[k])){ | ^~ 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/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 ffmpeg/libavutil/common.h:43, from stream/stream_cddb.c:78: stream/stream_cddb.c: In function 'cddb_parse_matches_list': libaf/af_lavcac3enc.c: In function 'af_open': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 49 | #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); | ^~~~~ libaf/af_lavcac3enc.c:277:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 277 | s->lavc_acodec = avcodec_find_encoder_by_name("ac3_fixed"); | ^ stream/stream_dvd.c: In function 'open_s': ffmpeg/libavutil/macros.h:49:33: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #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_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) { | ~~~~^~~~ In file included from ./libmpdemux/stheader.h:22, from sub/av_sub.c:20: ./libmpdemux/demuxer.h: In function 'new_demux_packet': stream/stream_cddb.c: In function 'cddb_query_parse': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 49 | #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/macros.h:49:33: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 49 | #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); | ^~~~~ stream/stream_dvd.c: In function 'ifo_stream_open': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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) | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ sub/av_sub.c: In function 'decode_avsub': sub/av_sub.c:103:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 103 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavcodec/avcodec.h:45, from sub/av_sub.c:19: ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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/sub.c: In function 'get_height': sub/av_sub.c:120:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | sub_codec = avcodec_find_decoder(cid); | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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) { | ^~~~~~~~~~~~~~ sub/sub.c:112:13: 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; | ^ stream/stream_ffmpeg.c: In function 'open_f': stream/stream_ffmpeg.c:91:53: warning: unused parameter 'opts' [-Wunused-parameter] 91 | static int open_f(stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ 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) | ~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 sub/subreader.c: In function 'sub_clear_text': sub/subreader.c:2643:29: warning: left shift of negative value [-Wshift-negative-value] 2643 | #define MP_NOPTS_VALUE (-1LL<<63) | ^~ sub/subreader.c:2656:16: note: in expansion of macro 'MP_NOPTS_VALUE' 2656 | if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { | ^~~~~~~~~~~~~~ sub/sub.c: In function 'vo_update_text_sub': sub/subreader.c:2643:29: warning: left shift of negative value [-Wshift-negative-value] 2643 | #define MP_NOPTS_VALUE (-1LL<<63) | ^~ sub/subreader.c:2656:45: note: in expansion of macro 'MP_NOPTS_VALUE' 2656 | if (pts == MP_NOPTS_VALUE || (endpts != MP_NOPTS_VALUE && pts >= endpts)) { | ^~~~~~~~~~~~~~ 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:15: 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:58: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 769 | if (sub_font->pic_a[font]->h > 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 sub/subreader.c: At top level: sub/subreader.c:1216:20: warning: 'guess_cp' declared 'static' but never defined [-Wunused-function] 1216 | static const char* guess_cp(stream_t *st, const char *preferred_language, const char *fallback); | ^~~~~~~~ sub/sub.c:1045:56: 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:95: 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, | ^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 sub/subreader.c: In function 'sub_read_line_jacosub': 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) | ~~~~^~~~~~ sub/subreader.c:1130:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1130 | } else if (eol(*(p + 1))) { | ^ sub/subreader.c:1137:13: note: here 1137 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~^~~~ 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){ | ~~~~~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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:98: 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:114: 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:64: 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:80: 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:76: 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:92: 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:68: 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:84: note: in expansion of macro 'MP_NOPTS_VALUE' 350 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 ./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:65: 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:81: 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); | ^~~~~~~~~~~~~~ In function 'tune_it', inlined from 'dvb_tune' at stream/dvb_tune.c:436:9: ./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); | ^~~~~~~~~~~~~~ stream/dvb_tune.c:386:7: warning: 'hi_lo' may be used uninitialized [-Wmaybe-uninitialized] 386 | mp_msg(MSGT_DEMUX, MSGL_V, "tuning DVB-S to Freq: %u, Pol: %c Srate: %d, 22kHz: %s, LNB: %d\n",freq,pol,srate,hi_lo ? "on" : "off", diseqc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/dvb_tune.c: In function 'dvb_tune': 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){ | ~~~~~~~^~~ stream/dvb_tune.c:328:12: note: 'hi_lo' was declared here 328 | int res, hi_lo, dfd; | ^~~~~ 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){ | ~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream.c: In function 'open_stream_full': stream/stream.c:239:11: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 239 | if(r == STREAM_REDIRECTED && redirected_url) { | ^ stream/stream.c:232:13: note: 'r' was declared here 232 | int r; | ^ libmpcodecs/vf_screenshot.c: In function 'draw_slice': libmpcodecs/vf_screenshot.c:63:34: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 63 | 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:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 218 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libmpcodecs/vf_screenshot.c: In function 'scale_image': libmpcodecs/vf_screenshot.c:161:29: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 161 | sws_scale(priv->ctx, mpi->planes, mpi->stride, 0, mpi->height, priv->pic->data, priv->pic->linesize); | ~~~^~~~~~~~ | | | unsigned char ** ffmpeg/libswscale/swscale.h:218:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 218 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ^~~~~~~~~~ In file included from libmpdemux/aviheader.h:28, 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_ffmpeg.c:38: ./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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ libass/ass.c:1268:6: warning: no previous prototype for 'ass_lazy_track_init' [-Wmissing-prototypes] 1268 | void ass_lazy_track_init(ASS_Library *lib, ASS_Track *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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ 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/font_load_ft.c:577:38: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 577 | glyph->bitmap.width <= maxw ? glyph->bitmap.width : maxw); | ^~ sub/font_load_ft.c:577:70: 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); | ^~~~ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~^~~~ 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 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) { | ~~~~^~~~~ 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; | ^ 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/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': | ^~~~ libmpcodecs/vd_ffmpeg.c: In function 'init': libmpcodecs/vd_ffmpeg.c:335:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 335 | lavc_codec = avcodec_find_decoder_by_name(codec_idx2str(sh->codec->dll_idx)); | ^ 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': | ^~~~ 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, | ~~~~^~ 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)) | ^~ 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) | ~~~~~^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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){ | ^ libmpdemux/demux_lavf.c: In function 'demux_open_lavf': libmpdemux/demux_lavf.c:636:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 636 | for(i=0; i < avfc->nb_chapters; i++) { | ^ libmpdemux/demux_lavf.c:644:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 644 | for(i=0; inb_streams; i++) | ^ libmpdemux/demux_lavf.c:650:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 650 | for (p = 0; p < avfc->nb_programs; p++) { | ^ 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:680:25: note: in expansion of macro 'MP_NOPTS_VALUE' 680 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:689:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 689 | for (id = priv->nb_streams_last; id < priv->avfc->nb_streams; id++) | ^ 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)) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ^~ libmpdemux/demux_lavf.c:674:69: warning: unused parameter 'dsds' [-Wunused-parameter] 674 | static int demux_lavf_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ | ~~~~~~~~~~~~~~~~^~~~ 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) | ~~~~^~~~~ 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++) | ^ libmpcodecs/ad_libmad.c: In function 'control': In file included from ./mpcommon.h:25, from stream/asf_streaming.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/ad_libmad.c:171:49: warning: unused parameter 'arg' [-Wunused-parameter] 171 | static int control(sh_audio_t *sh,int cmd,void* arg, ...){ | ~~~~~~^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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] | ^~~~~~~~~~~~ ffmpeg/libavcodec/xvmc.h:47:29: note: declared here 47 | struct attribute_deprecated xvmc_pix_fmt { | ^~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/real.o stream/realrtsp/real.c libmpcodecs/vd_ffmpeg.c: In function 'decode': libmpcodecs/vd_ffmpeg.c:900:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 900 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavcodec/avcodec.h:45, from ffmpeg/libavcodec/vdpau.h:57, from libmpcodecs/vd_ffmpeg.c:41: ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(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:1033:20: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1033 | return &mpi_no_picture; // H.264 first field only | ^~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c: In function 'mpcodec_default_release_buffer': libmpcodecs/vd_ffmpeg.c:1136:60: warning: unused parameter 's' [-Wunused-parameter] 1136 | static void mpcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic) | ~~~~~~~~~~~~~~~~^ libmpcodecs/vd_ffmpeg.c: In function 'compat_free_buffer': libmpcodecs/vd_ffmpeg.c:1147:55: warning: unused parameter 'data' [-Wunused-parameter] 1147 | static void compat_free_buffer(void *opaque, uint8_t *data) | ~~~~~~~~~^~~~ libmpcodecs/vd_ffmpeg.c: In function 'compat_release_buffer': libmpcodecs/vd_ffmpeg.c:1154:58: warning: unused parameter 'data' [-Wunused-parameter] 1154 | static void compat_release_buffer(void *opaque, uint8_t *data) | ~~~~~~~~~^~~~ In file included from stream/http.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; | ^~~~~~~~~~~~~~ sub/ass_mp.c: In function 'message_callback': sub/ass_mp.c:290:79: warning: unused parameter 'ctx' [-Wunused-parameter] 290 | static void message_callback(int level, const char *format, va_list va, void *ctx) | ~~~~~~^~~ stream/cookies.c: In function 'load_file': stream/cookies.c:133:17: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 133 | if (*length > SIZE_MAX - 1) { | ^ In file included from ./libmpcodecs/vf.h:118, from sub/eosd.h:26, from sub/ass_mp.c:31: sub/ass_mp.c: In function 'eosd_ass_update': ./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 | ^~ sub/ass_mp.c:347:53: note: in expansion of macro 'MP_NOPTS_VALUE' 347 | aimg = sub_visibility && ass_track && ts != 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/rmff.o stream/realrtsp/rmff.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/sdpplin.o stream/realrtsp/sdpplin.c 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) { | ^ 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 | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/xbuffer.o stream/realrtsp/xbuffer.c 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; | ^~ 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_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; | ^~~ 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) | ^~~~~ stream/http.c: In function 'http_response_parse': stream/http.c:457:36: 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 ) { | ^ 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) | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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': 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) | ^~~~~ 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/stream_udp.c: In function 'udp_stream_open': stream/stream_udp.c:64:40: warning: unused parameter 'mode' [-Wunused-parameter] 64 | udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~^~~~ stream/stream_udp.c:64:52: warning: unused parameter 'opts' [-Wunused-parameter] 64 | udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ stream/stream_udp.c:64:63: warning: unused parameter 'file_format' [-Wunused-parameter] 64 | udp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~^~~~~~~~~~~ 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_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; | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/asf_streaming.c: In function 'asf_streaming_parse_header': stream/asf_streaming.c:204:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 204 | if (size > SIZE_MAX - buffer_size) | ^ 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; | ^~~~~~~~~~~~~~ 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_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_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) | ~~~~^~~ libass/ass_shaper.c: 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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/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) { | ~~~~^~~~ 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) { | ~~~~~~^~~~ 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/librtsp/rtsp.c: In function 'rtsp_search_answers': stream/librtsp/rtsp.c:593:7: warning: the comparison will always evaluate as 'true' for the address of 'answers' will never be NULL [-Waddress] 593 | if (!s->answers) return NULL; | ^ In file included from stream/librtsp/rtsp.c:52: stream/librtsp/rtsp.h:72:16: note: 'answers' declared here 72 | char *answers[MAX_FIELDS]; /* data of last message */ | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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); | ^~~~~~~~~~~~~~ stream/librtsp/rtsp.c: In function 'rtsp_unschedule_all': stream/librtsp/rtsp.c:705:7: warning: the comparison will always evaluate as 'true' for the address of 'scheduled' will never be NULL [-Waddress] 705 | if (!s->scheduled) return; | ^ stream/librtsp/rtsp.h:73:16: note: 'scheduled' declared here 73 | char *scheduled[MAX_FIELDS]; /* will be sent with next message */ | ^~~~~~~~~ stream/librtsp/rtsp.c: In function 'rtsp_free_answers': stream/librtsp/rtsp.c:722:7: warning: the comparison will always evaluate as 'true' for the address of 'answers' will never be NULL [-Waddress] 722 | if (!s->answers) return; | ^ stream/librtsp/rtsp.h:72:16: note: 'answers' declared here 72 | char *answers[MAX_FIELDS]; /* data of last message */ | ^~~~~~~ stream/stream_rtp.c: In function 'rtp_streaming_read': stream/stream_rtp.c:37:49: warning: unused parameter 'streaming_ctrl' [-Wunused-parameter] 37 | int size, streaming_ctrl_t *streaming_ctrl) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stream/stream_rtp.c: In function 'rtp_stream_open': stream/stream_rtp.c:72:40: warning: unused parameter 'mode' [-Wunused-parameter] 72 | rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~^~~~ stream/stream_rtp.c:72:52: warning: unused parameter 'opts' [-Wunused-parameter] 72 | rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ stream/stream_rtp.c:72:63: warning: unused parameter 'file_format' [-Wunused-parameter] 72 | rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~^~~~~~~~~~~ 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/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; | ^~~ 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; | ^~~~~~~~~~~~~~ stream/realrtsp/xbuffer.c: In function 'xbuffer_ensure_size': stream/realrtsp/xbuffer.c:95:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 95 | if (size < 0 || size > 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/pnm.c: In function 'rm_read': 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/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/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 ) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ 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); | ^~~~~ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/pnm.c:718:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 718 | if (npts=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: In function 'pnm_streaming_read': stream/pnm.c:820:36: warning: unused parameter 'fd' [-Wunused-parameter] 820 | static int pnm_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl ) { | ~~~~^~ stream/pnm.c: In function 'open_s': stream/pnm.c:824:40: warning: unused parameter 'mode' [-Wunused-parameter] 824 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/pnm.c:824:52: warning: unused parameter 'opts' [-Wunused-parameter] 824 | 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libass/ass_bitmap.c: In function 'be_blur': libass/ass_bitmap.c:436:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 436 | for (y = 0; y < h; y++) { | ^ libass/ass_bitmap.c:438:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 438 | for (x = 0; x < w - 1; x++) { | ^ libass/ass_bitmap.c:445:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 445 | for (x = 0; x < w; 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 libass/ass_bitmap.c:447:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 447 | for (y = 0; y < h - 1; y++) { | ^ libass/ass_bitmap.c: In function 'outline_to_bitmap3': libass/ass_bitmap.c:462:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 462 | int bbord = be > 0 ? sqrt(2 * be) : 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; jplanes ,mpi->stride, | ~~~^~~~~~~~ | | | unsigned char ** In file included from libmpcodecs/vf_pp.c:37: ffmpeg/libpostproc/postprocess.h:63:38: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'unsigned char **' 63 | void pp_postprocess(const uint8_t * src[3], const int srcStride[3], | ~~~~~~~~~~~~~~~~^~~~~~ In function 'glSetupYUVFragprog', inlined from 'glSetupYUVConversion' at libvo/gl_common.c:1816:7: libmpcodecs/vf_pp.c: In function 'vf_open': libmpcodecs/vf_pp.c:174:9: warning: variable 'hex_mode' set but not used [-Wunused-but-set-variable] 174 | int hex_mode=0; | ^~~~~~~~ libvo/gl_common.c:1580:7: warning: 'conv_texs[0]' may be used uninitialized [-Wmaybe-uninitialized] 1580 | snprintf(prog_pos, prog_remain, yuv_lookup3d_prog_template, conv_texs[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/gl_common.c: In function 'glSetupYUVConversion': libvo/gl_common.c:1498:8: note: 'conv_texs[0]' 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~~~~~~~~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/realrtsp/rmff.c: In function 'rmff_scan_header': stream/realrtsp/rmff.c:419:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 419 | for (i=0; ifileheader->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++) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_realaud.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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/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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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_pvr.c: In function 'pvr_stream_open': stream/stream_pvr.c:1686:52: warning: unused parameter 'opts' [-Wunused-parameter] 1686 | pvr_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ stream/stream_pvr.c:1686:63: warning: unused parameter 'file_format' [-Wunused-parameter] 1686 | pvr_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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/stream_radio.c: In function 'radio_set_channel': stream/stream_radio.c:1012:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1012 | for ( ; tmp; tmp=tmp->next) | ^~~ stream/stream_radio.c:1015:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1015 | if (!tmp){ | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~~~~~~~~~~~~ osdep/shmem.c: In function 'shmem_alloc': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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_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 | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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/tv.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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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': libass/ass_render.c:1033:31: warning: unused parameter 'priv' [-Wunused-parameter] 1033 | fill_glyph_hash(ASS_Renderer *priv, OutlineHashKey *outline_key, | ~~~~~~~~~~~~~~^~~~ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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)) | ~~~~~~~~~~~~~^~~~~~~~ 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) { | ^ 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){ | ~~~~^~~~~~~ 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 = | ^~~~~~~~ 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) | ~~~~~~~~~~~~~^~~~~~ 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, | ^~~~~~~~~ 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, | ~~~~~~~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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 = | ^~~~~~ 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 = | ^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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; | ^~~ 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,...){ | ~~~~^~~ libass/ass_render.c:1955:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1955 | FT_Vector cluster_pen = pen; | ^~~~~~~~~ libmpcodecs/vd_xanim.c:675:49: warning: unused parameter 'arg' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ 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; | ^~~~~~ 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); | ^ 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; | ^~~ 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_render.c: In function 'ass_start_frame': libass/ass_render.c:2269:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2269 | double par = render_priv->settings.par; | ^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~^~~~ 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,...){ | ~~~~~~^~~ 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; | ^~~~~~~~~~~~~~ libmpcodecs/vd_realvid.c: In function 'init': libmpcodecs/vd_realvid.c:319:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 319 | if (extrahdr_size-8 < cmsg_cnt) { | ^ libmpcodecs/vd_realvid.c:325:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 325 | if (extrahdr_size-8 > cmsg_cnt) | ^ In file included from stream/cache2.c:72: stream/cache2.c: In function 'cache_execute_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:280:26: note: in expansion of macro 'MP_NOPTS_VALUE' 280 | s->stream_time_pos = 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 | ^~ stream/cache2.c:294:28: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | s->stream_time_pos = 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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 stream/cache2.c:346:23: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 346 | (old_pos != s->stream->pos || old_eof != s->stream->eof)) | ^~ libmpcodecs/vd_realvid.c: In function 'decode': libmpcodecs/vd_realvid.c:426:24: 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:58: 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/cache2.c: In function 'exit_sighandler': stream/cache2.c:415:33: warning: unused parameter 'x' [-Wunused-parameter] 415 | static void exit_sighandler(int x){ | ~~~~^ stream/cache2.c: In function 'dummy_sighandler': stream/cache2.c:420:34: warning: unused parameter 'x' [-Wunused-parameter] 420 | static void dummy_sighandler(int x) { | ~~~~^ stream/cache2.c: In function 'stream_enable_cache': stream/cache2.c:468:12: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 468 | if (size > SIZE_MAX) { | ^ 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:650:36: note: in expansion of macro 'MP_NOPTS_VALUE' 650 | return s->stream_time_pos != MP_NOPTS_VALUE ? STREAM_OK : STREAM_UNSUPPORTED; | ^~~~~~~~~~~~~~ libmpcodecs/ad_realaud.c: In function 'init': libmpcodecs/ad_realaud.c:415:29: warning: unused parameter 'sh_audio' [-Wunused-parameter] 415 | static int init(sh_audio_t *sh_audio){ | ~~~~~~~~~~~~^~~~~~~~ libmpcodecs/ad_realaud.c: In function 'decode_audio': libmpcodecs/ad_realaud.c:453:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 453 | int result; | ^~~~~~ libmpcodecs/ad_realaud.c:452:63: warning: unused parameter 'minlen' [-Wunused-parameter] 452 | static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen){ | ~~~~^~~~~~ libmpcodecs/ad_realaud.c:452:74: warning: unused parameter 'maxlen' [-Wunused-parameter] 452 | 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:481:32: warning: unused parameter 'sh' [-Wunused-parameter] 481 | static int control(sh_audio_t *sh,int cmd,void* arg, ...){ | ~~~~~~~~~~~~^~ libmpcodecs/ad_realaud.c:481:49: warning: unused parameter 'arg' [-Wunused-parameter] 481 | static int control(sh_audio_t *sh,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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 In file included from ./libmpdemux/aviheader.h:28, from ./libmpdemux/muxer.h:24, from libmpcodecs/ae.h:22, from mencoder.c:62: ./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/cache2.c: In function 'cache_execute_control': stream/cache2.c:308:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 308 | double_res = s->control_double_arg; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ stream/cache2.c:309:5: note: here 309 | case STREAM_CTRL_GET_CURRENT_TIME: | ^~~~ stream/cache2.c:317:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 317 | uint_res = s->control_uint_arg; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ stream/cache2.c:318:5: note: here 318 | case STREAM_CTRL_GET_NUM_TITLES: | ^~~~ stream/cache2.c: In function 'cache_do_control': stream/cache2.c:652:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 652 | s->control_lang_arg = *(struct stream_lang_req *)arg; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream/cache2.c:653:5: note: here 653 | case STREAM_CTRL_GET_NUM_TITLES: | ^~~~ xvid_vbr.c: In function 'vbr_update_dummy': xvid_vbr.c:457:33: warning: unused parameter 'quant' [-Wunused-parameter] 457 | int quant, | ~~~~^~~~~ xvid_vbr.c:458:33: warning: unused parameter 'intra' [-Wunused-parameter] 458 | int intra, | ~~~~^~~~~ xvid_vbr.c:459:33: warning: unused parameter 'header_bytes' [-Wunused-parameter] 459 | int header_bytes, | ~~~~^~~~~~~~~~~~ xvid_vbr.c:460:33: warning: unused parameter 'total_bytes' [-Wunused-parameter] 460 | int total_bytes, | ~~~~^~~~~~~~~~~ xvid_vbr.c:461:33: warning: unused parameter 'kblocks' [-Wunused-parameter] 461 | int kblocks, | ~~~~^~~~~~~ xvid_vbr.c:462:33: warning: unused parameter 'mblocks' [-Wunused-parameter] 462 | int mblocks, | ~~~~^~~~~~~ xvid_vbr.c:463:33: 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': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) || | ^~ xvid_vbr.c: In function 'vbr_update_2pass2': xvid_vbr.c:1490:34: warning: unused parameter 'header_bytes' [-Wunused-parameter] 1490 | int header_bytes, | ~~~~^~~~~~~~~~~~ xvid_vbr.c:1492:34: warning: unused parameter 'kblocks' [-Wunused-parameter] 1492 | int kblocks, | ~~~~^~~~~~~ xvid_vbr.c:1493:34: warning: unused parameter 'mblocks' [-Wunused-parameter] 1493 | int mblocks, | ~~~~^~~~~~~ xvid_vbr.c:1494:34: warning: unused parameter 'ublocks' [-Wunused-parameter] 1494 | int ublocks) | ~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -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 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) | ~~~~~~^~~~~ 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) | ~~~~~~~~~~~~~~~~~~^~~ ./codec-cfg etc/codecs.conf > codecs.conf.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 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mpcommon.o mpcommon.c Reading optional codecs config file etc/codecs.conf: 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; | ^~~~~~~~~~~~~~ stream/tv.c: In function 'open_tv': stream/tv.c:440:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 440 | for (i = 0; i < sizeof (tv_fmt_list) / sizeof (*tv_fmt_list); i++) | ^ In file included from ./libmpdemux/aviheader.h:28, 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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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:28, from libmpdemux/muxer_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; | ^~~~~~~~~~~~~~ libmpdemux/muxer_rawvideo.c: In function 'rawvideofile_write_chunk': 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){ | ~~~~~~~~~~~~~^~~~~ 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){ | ~~~~~~~~~^~~~~ 226 audio & 469 video codecs libmpcodecs/vd_xvid4.c: In function 'control': stream/tv.c: In function 'tv_step_chanlist': 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,...) | ~~~~~~^~~ stream/tv.c:1136:36: warning: unused parameter 'tvh' [-Wunused-parameter] 1136 | int tv_step_chanlist(tvi_handle_t *tvh) | ~~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib/live-media -O2 -fno-PIC -fno-PIE -Os -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o codec-cfg.o codec-cfg.c 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; | ^~~~~~~~~~~~~~ libmpcodecs/vd_xvid4.c: In function 'decode': libmpcodecs/vd_xvid4.c:291:31: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] 291 | dec.bitstream += consumed; | ^~ In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae_faac.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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) | ~~~~^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_faac.c: In function 'get_frame_size': libmpcodecs/ae_faac.c:112:44: warning: unused parameter 'encoder' [-Wunused-parameter] 112 | static int get_frame_size(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ 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) | ~~~~~~~~~~~~~~~~~^~~~~~~ In file included from ./libmpdemux/aviheader.h:28, 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; | ^~~~~~~~~~~~~~ libmpcodecs/ve_raw.c: In function 'config': libmpcodecs/ve_raw.c:112:22: 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) { | ~~~~~~^~~~ mencoder.c: In function 'config_video_out': mencoder.c:200:44: warning: unused parameter 'vo' [-Wunused-parameter] 200 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~~~~~~~~~~~~~~^~ mencoder.c:200:57: warning: unused parameter 'width' [-Wunused-parameter] 200 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~ mencoder.c:200:73: warning: unused parameter 'height' [-Wunused-parameter] 200 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~~ mencoder.c:201:31: warning: unused parameter 'd_width' [-Wunused-parameter] 201 | uint32_t d_width, uint32_t d_height, uint32_t flags, | ~~~~~~~~~^~~~~~~ mencoder.c:201:49: warning: unused parameter 'd_height' [-Wunused-parameter] 201 | uint32_t d_width, uint32_t d_height, uint32_t flags, | ~~~~~~~~~^~~~~~~~ mencoder.c:201:68: warning: unused parameter 'flags' [-Wunused-parameter] 201 | uint32_t d_width, uint32_t d_height, uint32_t flags, | ~~~~~~~~~^~~~~ mencoder.c:202:28: warning: unused parameter 'title' [-Wunused-parameter] 202 | char *title, uint32_t format) { | ~~~~~~^~~~~ mencoder.c:202:44: warning: unused parameter 'format' [-Wunused-parameter] 202 | char *title, uint32_t format) { | ~~~~~~~~~^~~~~~ mencoder.c: In function 'mplayer_put_key': mencoder.c:211:26: warning: unused parameter 'code' [-Wunused-parameter] 211 | void mplayer_put_key(int code) | ~~~~^~~~ 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; | ^~~~ In file included from ./libmpdemux/aviheader.h:28, 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 mpcommon.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; | ^~~~~~~~~~~~~~ In file included from cfg-mencoder.h:34, from mencoder.c:245: 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}, | ^~~~~~~~~~~ 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_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) | ~~~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ae_lavc.c: In function 'mpae_init_lavc': libmpcodecs/ae_lavc.c:154:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | lavc_acodec = avcodec_find_encoder_by_name(lavc_param_acodec); | ^ In file included from libmpcodecs/ve_xvid4.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; | ^~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~~~ In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae_lame.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpcodecs/ve_x264.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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}, | ^~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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: ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | 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 * 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}, | ^~~~~~~ ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ cfg-common.h:525:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 525 | {"ssf", scaler_filter_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~ 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ cfg-common.h:547:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 547 | {"lavdopts", lavc_decode_opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~~~~~~ cfg-common.h:548:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 548 | {"lavfdopts", lavfdopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:552:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 552 | {"xvidopts", xvid_dec_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:44: ./libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpdemux/aviheader.h:28, 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: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; | ^~~~~~~~~~~~~~ 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 *} ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ In file included from libmpdemux/aviheader.h:28, 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/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]} ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t (*)[3]' {aka 'unsigned int (*)[3]'} 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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; | ^~~~ 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 | ^~~~~~~~~~~~~~ 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}, | ^~~~~~~~ libmpdemux/muxer_avi.c:409:45: 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ 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}, | ^~~~~~~ In file included from libmpdemux/aviheader.h:28, from libmpdemux/muxer_rawaudio.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/muxer_avi.c:417:49: 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ 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 libmpdemux/aviheader.h:28, from libmpdemux/muxer_lavf.c:30: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_avi.c:433:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 433 | info[0].text=mencoder_version; | ^ 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}, | ^~~~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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:307:33: warning: unused parameter 'x' [-Wunused-parameter] 307 | static void exit_sighandler(int x){ | ~~~~^ In file included from libmpcodecs/vf.h:118, from mencoder.c:67: 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:361:23: note: in expansion of macro 'MP_NOPTS_VALUE' 361 | if (! mux) return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ mencoder.c: In function 'forward_audio': mencoder.c:401:59: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 401 | avg = (sh_audio->wf ? sh_audio->wf->nAvgBytesPerSec : sh_audio->i_bps); | ^~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~^~~~~~~ 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:465:109: note: in expansion of macro 'MP_NOPTS_VALUE' 465 | 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:465:125: note: in expansion of macro 'MP_NOPTS_VALUE' 465 | 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:467:55: note: in expansion of macro 'MP_NOPTS_VALUE' 467 | 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:467:71: note: in expansion of macro 'MP_NOPTS_VALUE' 467 | filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, 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/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/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){ | ~~~~~~~~~^~~~~ 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++) { | ^ mencoder.c: In function 'main': mencoder.c:828:80: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 828 | vobsub_writer=vobsub_out_open(vobsub_out, stream->type==STREAMTYPE_DVD?((dvd_priv_t *)(stream->priv))->cur_pgc->palette:NULL, | ^ mencoder.c:922:56: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 922 | (mux_v->bih->biCompression != sh_video->format)) { | ^~ libmpdemux/muxer_avi.c:645:44: 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:651:48: 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 * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ 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 : | ^~~~~~~~~~~~~~~~~~~ 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': mencoder.c:1362:64: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1362 | if(sz > 0 && mux_a->buffer_len >= sz) | ^~ libmpcodecs/ve_xvid4.c:507:34: warning: unused parameter 'vf' [-Wunused-parameter] 507 | query_format(struct vf_instance *vf, unsigned int fmt) | ~~~~~~~~~~~~~~~~~~~~^~ 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 : | ^~~~~~~~~~~~~~~~~~~ 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 | ^~ mencoder.c:1403:62: note: in expansion of macro 'MP_NOPTS_VALUE' 1403 | 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 | ^~ libmpcodecs/ve_xvid4.c:574:74: note: in expansion of macro 'MP_NOPTS_VALUE' 574 | (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:574:90: note: in expansion of macro 'MP_NOPTS_VALUE' 574 | (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 | ^~ mencoder.c:1403:78: note: in expansion of macro 'MP_NOPTS_VALUE' 1403 | muxer_write_chunk(mux_a,bytes_to_mux,AVIIF_KEYFRAME, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c: In function 'vf_open': libmpcodecs/ve_xvid4.c:596:26: 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; | ^ mencoder.c:1407:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1407 | if(mux_a->buffer_len>=bytes_to_mux){ | ^~ ./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:1493:107: note: in expansion of macro 'MP_NOPTS_VALUE' 1493 | if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: 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:1493:123: note: in expansion of macro 'MP_NOPTS_VALUE' 1493 | if(skip_flag<=0) muxer_write_chunk(mux_v,frame_data.in_size,(sh_video->ds->flags&1)?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: 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:1497:74: note: in expansion of macro 'MP_NOPTS_VALUE' 1497 | if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),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:1497:90: note: in expansion of macro 'MP_NOPTS_VALUE' 1497 | if(skip_flag<=0) muxer_write_chunk(mux_v,sizeof(int),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:1506:52: note: in expansion of macro 'MP_NOPTS_VALUE' 1506 | drop_frame, 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:1506:68: note: in expansion of macro 'MP_NOPTS_VALUE' 1506 | drop_frame, 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:1509:38: note: in expansion of macro 'MP_NOPTS_VALUE' 1509 | if (did_seek && 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 | ^~ mencoder.c:1519:100: note: in expansion of macro 'MP_NOPTS_VALUE' 1519 | blit_frame = decoded_frame && filter_video(sh_video, decoded_frame, v_muxer_time + sub_offset, 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:1559:42: note: in expansion of macro 'MP_NOPTS_VALUE' 1559 | muxer_write_chunk(mux_v,0,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 | ^~ mencoder.c:1559:58: note: in expansion of macro 'MP_NOPTS_VALUE' 1559 | muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c: In function 'mp_seek': libmpdemux/muxer_lavf.c:99:109: 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) | ^ libmpdemux/muxer_lavf.c: In function 'fix_parameters': libmpdemux/muxer_lavf.c:202:20: warning: the comparison will always evaluate as 'true' for the pointer operand in 'stream->wf + 18' must not be NULL [-Waddress] 202 | if(stream->wf+1 && stream->wf->cbSize) | ^~~~~~ libmpdemux/muxer_lavf.c:232:40: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 232 | if(stream->bih->biSize > sizeof(*stream->bih)) | ^ libmpdemux/muxer_lavf.c: In function 'write_chunk': libmpdemux/muxer_lavf.c:257:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 257 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from ffmpeg/libavformat/avformat.h:316, from libmpdemux/muxer_lavf.c:40: ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c: In function 'write_trailer': libmpdemux/muxer_lavf.c:309:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 309 | for(i = 0; i < priv->oc->nb_streams; i++) | ^ libmpdemux/muxer_lavf.c: In function 'muxer_init_muxer_lavf': libmpdemux/muxer_lavf.c:358:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 358 | fmt = av_guess_format(conf_format, NULL, NULL); | ^ libmpdemux/muxer_lavf.c:360:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 360 | fmt = av_guess_format(NULL, out_filename, NULL); | ^ 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:88: 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:104: note: in expansion of macro 'MP_NOPTS_VALUE' 1353 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c: In function 'write_header': libmpdemux/muxer_lavf.c:296:9: warning: ignoring return value of 'avformat_write_header' declared with attribute 'warn_unused_result' [-Wunused-result] 296 | avformat_write_header(priv->oc, &opts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 ffmpeg/libavutil/version.h:30, from ffmpeg/libavutil/avstring.h:27, from libmpdemux/muxer_mpeg.c:29: libmpdemux/muxer_mpeg.c: In function 'calc_packet_len': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/muxer_mpeg.c:947:21: note: in expansion of macro 'FFMIN' 947 | m = FFMIN(spriv->framebuf[n].size - frpos, psize - len); | ^~~~~ ffmpeg/libavutil/macros.h:49:33: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/muxer_mpeg.c:947:21: note: in expansion of macro 'FFMIN' 947 | m = FFMIN(spriv->framebuf[n].size - frpos, psize - len); | ^~~~~ libmpdemux/muxer_mpeg.c:950:26: 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:50: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 999 | if(start + pes_hlen + m < priv->packet_size - threshold) | ^ 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 | }; | ^ libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ 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) | ~~~~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_mpeg.c: In function 'fill_packet': ffmpeg/libavutil/macros.h:49:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libmpdemux/muxer_mpeg.c:1239:21: note: in expansion of macro 'FFMIN' 1239 | m = FFMIN(frm->size - frm->pos, priv->packet_size - spriv->pack_offset); | ^~~~~ ffmpeg/libavutil/macros.h:49:33: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 49 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libmpdemux/muxer_mpeg.c:1239:21: note: in expansion of macro 'FFMIN' 1239 | m = FFMIN(frm->size - frm->pos, priv->packet_size - spriv->pack_offset); | ^~~~~ 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: | ^~~~ 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) | ~~~~~~^~~~ libmpcodecs/ve_x264.c: In function 'query_format': libmpcodecs/ve_x264.c:218:45: warning: unused parameter 'vf' [-Wunused-parameter] 218 | static int query_format(struct vf_instance *vf, unsigned int fmt) | ~~~~~~~~~~~~~~~~~~~~^~ libmpdemux/muxer_mpeg.c: In function 'find_best_stream': libmpdemux/muxer_mpeg.c:1308:22: 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++) | ^ 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); | ^~~~~~~~~~~~~~ ./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); | ^~~~~~~~~~~~~~ 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; | ^ libmpdemux/muxer_mpeg.c: In function 'update_scr': libmpcodecs/ve_x264.c: At top level: 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 | }; | ^ libmpdemux/muxer_mpeg.c:1405:22: 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++) | ^ libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ libmpdemux/muxer_mpeg.c:1415:22: 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:22: 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:37: 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:21: 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:51: 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:50: 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:50: 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:21: 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:50: 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:55: 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) | ~~~~~~~~~~~~~~^~~~ 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) | ~~~~~~^~~ libmpcodecs/ve_lavc.c: In function 'config': libmpcodecs/ve_lavc.c:444:39: warning: assignment to 'RcOverride *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 444 | lavc_venc_context->rc_override= | ^ libmpdemux/muxer_mpeg.c: In function 'analyze_mpa': libmpdemux/muxer_mpeg.c:2034:17: 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:46: 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:84: 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: In function 'parse_audio': libmpdemux/muxer_mpeg.c:2084:42: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2084 | if(i + 3 >= s->b_buffer_len) | ^~ libmpdemux/muxer_mpeg.c:2093:62: 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:2093:100: 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:42: 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:64: 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:102: 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:42: 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:64: 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:102: 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': libmpdemux/muxer_mpeg.c:2288:37: 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) | ^~ libmpcodecs/ve_lavc.c:313:22: warning: unused parameter 'flags' [-Wunused-parameter] 313 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~ libmpcodecs/ve_lavc.c:313:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 313 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_lavc.c:53: libmpcodecs/ve_lavc.c: In function 'control': 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) | ~~~~~~~~~~~~~^~~~~ ./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:689:46: note: in expansion of macro 'MP_NOPTS_VALUE' 689 | while(encode_frame(vf, NULL, MP_NOPTS_VALUE) > 0); | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:684:63: warning: unused parameter 'data' [-Wunused-parameter] 684 | static int control(struct vf_instance *vf, int request, void* data){ | ~~~~~~^~~~ 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) | ~~~~~~~^~~~~~~ libmpcodecs/ve_lavc.c: In function 'query_format': libmpcodecs/ve_lavc.c:703:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 703 | if(lavc_param_format == fmt) | ^~ 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) | ~~~~~~~^~~~~~~ libmpcodecs/ve_lavc.c:696:45: warning: unused parameter 'vf' [-Wunused-parameter] 696 | static int query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~~~~~~~~^~ libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_index': libmpdemux/muxer_mpeg.c:2389:22: 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_mpeg.c: In function 'generate_flags': libmpcodecs/ve_lavc.c: In function 'encode_frame': libmpdemux/muxer_mpeg.c:2482:24: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2482 | if(tfl >= source) | ^~ ./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:743:15: note: in expansion of macro 'MP_NOPTS_VALUE' 743 | 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:751:19: note: in expansion of macro 'MP_NOPTS_VALUE' 751 | 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:754:23: note: in expansion of macro 'MP_NOPTS_VALUE' 754 | pic->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:776:17: note: in expansion of macro 'MP_NOPTS_VALUE' 776 | dts = pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'parse_audio': libmpdemux/muxer_mpeg.c:2079:25: 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:17: note: here 2081 | case AUDIO_MP2: | ^~~~ libmpcodecs/ve_lavc.c: In function 'vf_open': libmpcodecs/ve_lavc.c:877: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] 877 | vf->put_image=put_image; | ^ libmpcodecs/ve_lavc.c: At top level: libmpcodecs/ve_lavc.c:998:1: warning: missing initializer for field 'opts' of 'vf_info_t' {aka 'const struct vf_info_s'} [-Wmissing-field-initializers] 998 | }; | ^ libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ 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; | ^~~~~~~~~~~~~~ mpcommon.c: In function 'init_vo_spudec': mpcommon.c:140:83: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 140 | vo_spudec = spudec_new_scaled(((dvd_priv_t *)(stream->priv))->cur_pgc->palette, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ mpcommon.c: In function 'update_subtitles': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mpcommon.c:184:31: note: in expansion of macro 'MP_NOPTS_VALUE' 184 | sub_clear_text(&subs, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vd_mpng.c: In function 'control': libmpcodecs/vd_mpng.c:54:32: 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': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mpcommon.c:329:35: note: in expansion of macro 'MP_NOPTS_VALUE' 329 | if (subpts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ 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){ | ^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mpcommon.c:331:39: note: in expansion of macro 'MP_NOPTS_VALUE' 331 | if (endpts == MP_NOPTS_VALUE) endpts = subpts + 3; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mpcommon.c:336:51: note: in expansion of macro 'MP_NOPTS_VALUE' 336 | sub_clear_text(&tmp_subs, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ 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++) { | ^ 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){ | ~~~~^~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mpcommon.c:342:27: note: in expansion of macro 'MP_NOPTS_VALUE' 342 | if (subpts != 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 | ^~ mpcommon.c:343:31: note: in expansion of macro 'MP_NOPTS_VALUE' 343 | if (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 | ^~ mpcommon.c:344:43: note: in expansion of macro 'MP_NOPTS_VALUE' 344 | sub_clear_text(&subs, 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 | ^~ mpcommon.c:359:31: note: in expansion of macro 'MP_NOPTS_VALUE' 359 | if (endpts == MP_NOPTS_VALUE) endpts = subpts + 4; | ^~~~~~~~~~~~~~ mpcommon.c: In function 'update_teletext': mpcommon.c:378:34: warning: unused parameter 'sh_video' [-Wunused-parameter] 378 | void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset) | ~~~~~~~~~~~~^~~~~~~~ mpcommon.c:378:68: warning: unused parameter 'reset' [-Wunused-parameter] 378 | void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset) | ~~~~^~~~~ mpcommon.c: In function 'cfg_inc_verbose': mpcommon.c:449:33: warning: unused parameter 'conf' [-Wunused-parameter] 449 | int cfg_inc_verbose(m_option_t *conf) | ~~~~~~~~~~~~^~~~ mpcommon.c: In function 'cfg_include': mpcommon.c:455:29: warning: unused parameter 'conf' [-Wunused-parameter] 455 | int cfg_include(m_option_t *conf, const char *filename) | ~~~~~~~~~~~~^~~~ mpcommon.c: In function 'calc_a_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 | ^~ mpcommon.c:669:16: note: in expansion of macro 'MP_NOPTS_VALUE' 669 | return 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 | ^~ mpcommon.c:675:41: note: in expansion of macro 'MP_NOPTS_VALUE' 675 | if (sh_audio->pts_bytes && a_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 | ^~ mpcommon.c:678:18: note: in expansion of macro 'MP_NOPTS_VALUE' 678 | if (a_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ codec-cfg.c: In function 'validate_codec': codec-cfg.c:406:44: warning: unused parameter 'type' [-Wunused-parameter] 406 | static int validate_codec(codecs_t *c, int type) | ~~~~^~~~ codec-cfg.c: In function 'parse_codec_cfg': codec-cfg.c:632:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 632 | video_codecs = builtin_video_codecs; | ^ codec-cfg.c:633:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 633 | audio_codecs = builtin_audio_codecs; | ^ codec-cfg.c:636:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 636 | codec_strs = builtin_codec_strs; | ^ gcc -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libao2/ao_alsa.o input/appleir.o libvo/vo_dga.o libvo/vo_directfb2.o libvo/vo_dfbmga.o libvo/vo_fbdev.o libvo/vo_fbdev2.o libvo/vo_png.o libvo/gl_common.o libvo/vo_gl.o libvo/csputils.o libvo/x11_common.o libvo/vo_gl_tiled.o libvo/vo_matrixview.o libvo/matrixview.o libvo/vo_md5sum.o udp_sync.o libao2/ao_oss.o libvo/vo_pnm.o libvo/vo_tga.o libvo/vo_v4l2.o libao2/ao_v4l2.o libvo/vo_vdpau.o libvo/vo_x11.o libvo/vo_xover.o libvo/vo_xv.o libvo/vo_xvmc.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o stream/ai_alsa.o stream/ai_oss.o sub/font_load.o stream/stream_cdda.o stream/cdinfo.o stream/stream_cddb.o stream/dvb_tune.o stream/stream_dvb.o stream/stream_dvd.o stream/stream_dvd_common.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libass/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o libass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_render.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o libass/ass_utils.o libmpcodecs/ad_libmad.o libmpcodecs/vd_theora.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/stream_pvr.o stream/stream_radio.o stream/audio_in.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o stream/tvi_v4l2.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o libmpcodecs/vd_xvid4.o osdep/shmem.o -Wl,--version-script,binary.ver -Wl,-z,noexecstack -no-pie -ffast-math -Wl,--as-needed,-O1,--sort-common -lpng -lz -lasound -ldvdread -lcdio_cdda -lcdio -lcdio_paranoia -lfreetype -lfontconfig -lz -lmad -ltheoradec -logg -lswscale -lswresample -lavformat -lavcodec -lavutil -lpostproc -lxvidcore -rdynamic -lm -ldirectfb -lX11 -lXext -lXv -lXvMC -lXvMCW -lvdpau -lXxf86vm -lXxf86dga -lGL -lEGL -lx264 -lmp3lame gcc -o mencoder mencoder.o parser-mecmd.o xvid_vbr.o libmpcodecs/ae.o libmpcodecs/ae_pcm.o libmpcodecs/ve.o libmpcodecs/ve_raw.o libmpdemux/muxer.o libmpdemux/muxer_avi.o libmpdemux/muxer_mpeg.o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawvideo.o libmpcodecs/ae_faac.o libmpcodecs/ae_lavc.o libmpcodecs/ve_lavc.o libmpdemux/muxer_lavf.o libmpcodecs/ae_lame.o libmpcodecs/ve_x264.o libmpcodecs/ve_xvid4.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o stream/ai_alsa.o stream/ai_oss.o sub/font_load.o stream/stream_cdda.o stream/cdinfo.o stream/stream_cddb.o stream/dvb_tune.o stream/stream_dvb.o stream/stream_dvd.o stream/stream_dvd_common.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libass/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o libass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_render.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o libass/ass_utils.o libmpcodecs/ad_libmad.o libmpcodecs/vd_theora.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/stream_pvr.o stream/stream_radio.o stream/audio_in.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o stream/tvi_v4l2.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o libmpcodecs/vd_xvid4.o osdep/shmem.o -Wl,--version-script,binary.ver -Wl,-z,noexecstack -no-pie -ffast-math -Wl,--as-needed,-O1,--sort-common -lpng -lz -lasound -ldvdread -lcdio_cdda -lcdio -lcdio_paranoia -lfreetype -lfontconfig -lz -lmad -ltheoradec -logg -lswscale -lswresample -lavformat -lavcodec -lavutil -lpostproc -lxvidcore -rdynamic -lm -lfaac -lx264 -lmp3lame >>> WARNING: mplayer: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> mplayer: Entering fakeroot... install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/bin /home/buildozer/aports/community/mplayer/pkg/mplayer/etc/mplayer /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/lib install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/cs/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/de/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/es/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/fr/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/hu/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/it/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/pl/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/ru/man1 install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/zh_CN/man1 install -m 644 DOCS/man/cs/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/cs/man1/ install -m 644 DOCS/man/de/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/de/man1/ install -m 644 DOCS/man/en/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/man1/ install -m 644 DOCS/man/es/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/es/man1/ install -m 644 DOCS/man/fr/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/fr/man1/ install -m 644 DOCS/man/hu/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/hu/man1/ install -m 644 DOCS/man/it/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/it/man1/ install -m 644 DOCS/man/pl/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/pl/man1/ install -m 644 DOCS/man/ru/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/ru/man1/ install -m 644 DOCS/man/zh_CN/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/zh_CN/man1/ install -m 755 mencoder /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/bin cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/cs/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/de/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/es/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/fr/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/hu/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/it/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/pl/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/ru/man1 && ln -sf mplayer.1 mencoder.1 cd /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/zh_CN/man1 && ln -sf mplayer.1 mencoder.1 install -m 755 mplayer /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/bin >>> mplayer-doc*: Running split function doc... >>> mplayer-doc*: Preparing subpackage mplayer-doc... >>> mplayer-doc*: Running postcheck for mplayer-doc >>> mplayer*: Running postcheck for mplayer >>> mplayer*: Preparing package mplayer... >>> mplayer*: Stripping binaries >>> mplayer-doc*: Scanning shared objects >>> mplayer*: Scanning shared objects >>> mplayer-doc*: Tracing dependencies... >>> mplayer-doc*: Package size: 1.2 MB >>> mplayer-doc*: Compressing data... >>> mplayer-doc*: Create checksum... >>> mplayer-doc*: Create mplayer-doc-1.5.0-r3.apk >>> mplayer*: Tracing dependencies... so:libEGL.so.1 so:libGL.so.1 so:libX11.so.6 so:libXext.so.6 so:libXv.so.1 so:libXvMC.so.1 so:libXvMCW.so.1 so:libXxf86dga.so.1 so:libXxf86vm.so.1 so:libasound.so.2 so:libavcodec.so.59 so:libavformat.so.59 so:libavutil.so.57 so:libc.musl-aarch64.so.1 so:libcdio.so.19 so:libcdio_cdda.so.2 so:libcdio_paranoia.so.2 so:libdirectfb-1.7.so.7 so:libdvdread.so.8 so:libfaac.so.0 so:libfontconfig.so.1 so:libfreetype.so.6 so:libmad.so.0 so:libmp3lame.so.0 so:libpng16.so.16 so:libpostproc.so.56 so:libswresample.so.4 so:libswscale.so.6 so:libtheoradec.so.1 so:libvdpau.so.1 so:libx264.so.164 so:libxvidcore.so.4 so:libz.so.1 >>> mplayer*: Package size: 4.6 MB >>> mplayer*: Compressing data... >>> mplayer*: Create checksum... >>> mplayer*: Create mplayer-1.5.0-r3.apk >>> mplayer: Build complete at Sat, 20 Aug 2022 10:14:21 +0000 elapsed time 0h 0m 30s >>> mplayer: Cleaning up srcdir >>> mplayer: Cleaning up pkgdir >>> mplayer: Uninstalling dependencies... (1/137) Purging .makedepends-mplayer (20220820.101353) (2/137) Purging libxxf86dga-dev (1.1.5-r0) (3/137) Purging libxxf86dga (1.1.5-r0) (4/137) Purging libmad-dev (0.15.1b-r9) (5/137) Purging libmad (0.15.1b-r9) (6/137) Purging lame-dev (3.100-r1) (7/137) Purging libao-dev (1.2.2-r1) (8/137) Purging libao (1.2.2-r1) (9/137) Purging libtheora-dev (1.1.1-r16) (10/137) Purging xvidcore-dev (1.3.7-r1) (11/137) Purging sdl2-dev (2.24.0-r0) (12/137) Purging directfb-dev (1.7.7-r4) (13/137) Purging directfb (1.7.7-r4) (14/137) Purging libdvdread-dev (6.1.3-r0) (15/137) Purging libdvdread (6.1.3-r0) (16/137) Purging x264-dev (0.164_git20220602-r0) (17/137) Purging faac-dev (1.30-r1) (18/137) Purging faac (1.30-r1) (19/137) Purging fontconfig-dev (2.14.0-r0) (20/137) Purging libxvmc-dev (1.0.13-r0) (21/137) Purging libxvmc (1.0.13-r0) (22/137) Purging alsa-lib-dev (1.2.7.2-r0) (23/137) Purging live-media-dev (2022.07.14-r0) (24/137) Purging live-media (2022.07.14-r0) (25/137) Purging mesa-dev (22.1.7-r1) (26/137) Purging libxdamage-dev (1.1.5-r1) (27/137) Purging libxdamage (1.1.5-r1) (28/137) Purging libxshmfence-dev (1.3-r1) (29/137) Purging mesa-egl (22.1.7-r1) (30/137) Purging mesa-gbm (22.1.7-r1) (31/137) Purging mesa-gl (22.1.7-r1) (32/137) Purging mesa-gles (22.1.7-r1) (33/137) Purging mesa-osmesa (22.1.7-r1) (34/137) Purging mesa-xatracker (22.1.7-r1) (35/137) Purging mesa (22.1.7-r1) (36/137) Purging yasm (1.3.0-r3) (37/137) Purging libvdpau-dev (1.5-r0) (38/137) Purging libcdio-paranoia-dev (10.2.2.0.1-r1) (39/137) Purging libcdio-paranoia (10.2.2.0.1-r1) (40/137) Purging ffmpeg-dev (5.1-r2) (41/137) Purging ffmpeg-libs (5.1-r2) (42/137) Purging libxv-dev (1.0.11-r3) (43/137) Purging libxv (1.0.11-r3) (44/137) Purging libxxf86vm-dev (1.1.4-r3) (45/137) Purging libxxf86vm (1.1.4-r3) (46/137) Purging libxfixes-dev (6.0.0-r0) (47/137) Purging libxext-dev (1.3.4-r1) (48/137) Purging libx11-dev (1.8.1-r1) (49/137) Purging xtrans (1.4.0-r2) (50/137) Purging libxcb-dev (1.15-r0) (51/137) Purging xcb-proto (1.15-r0) (52/137) Purging libxau-dev (1.0.9-r1) (53/137) Purging libpulse (16.1-r2) (54/137) Purging libvdpau (1.5-r0) (55/137) Purging libva (2.15.0-r0) (56/137) Purging libxext (1.3.4-r1) (57/137) Purging libxfixes (6.0.0-r0) (58/137) Purging libx11 (1.8.1-r1) (59/137) Purging libxcb (1.15-r0) (60/137) Purging libxau (1.0.9-r1) (61/137) Purging libxdmcp-dev (1.1.3-r1) (62/137) Purging libxdmcp (1.1.3-r1) (63/137) Purging libbsd (0.11.6-r2) (64/137) Purging libmd (1.0.4-r0) (65/137) Purging xorgproto (2022.2-r0) (66/137) Purging lame (3.100-r1) (67/137) Purging libsndfile (1.1.0-r1) (68/137) Purging alsa-lib (1.2.7.2-r0) (69/137) Purging libogg-dev (1.3.5-r1) (70/137) Purging libtheora (1.1.1-r16) (71/137) Purging libvorbis (1.3.7-r0) (72/137) Purging flac (1.3.4-r0) (73/137) Purging libogg (1.3.5-r1) (74/137) Purging xvidcore (1.3.7-r1) (75/137) Purging freetype-dev (2.12.1-r0) (76/137) Purging libpng-dev (1.6.37-r2) (77/137) Purging zlib-dev (1.2.12-r3) (78/137) Purging sdl2 (2.24.0-r0) (79/137) Purging libass (0.16.0-r0) (80/137) Purging harfbuzz (5.1.0-r0) (81/137) Purging fontconfig (2.14.0-r0) (82/137) Purging freetype (2.12.1-r0) (83/137) Purging libbz2 (1.0.8-r2) (84/137) Purging libpng (1.6.37-r2) (85/137) Purging tslib (1.22-r1) (86/137) Purging libdrm-dev (2.4.112-r0) (87/137) Purging libdrm (2.4.112-r0) (88/137) Purging linux-headers (5.16.7-r1) (89/137) Purging libxshmfence (1.3-r1) (90/137) Purging glib (2.72.3-r0) (91/137) Purging llvm14-libs (14.0.6-r3) (92/137) Purging wayland-libs-client (1.21.0-r0) (93/137) Purging gnutls (3.7.7-r0) (94/137) Purging p11-kit (0.24.1-r0) (95/137) Purging wayland-libs-server (1.21.0-r0) (96/137) Purging libffi (3.4.2-r1) (97/137) Purging mesa-glapi (22.1.7-r1) (98/137) Purging libxml2 (2.10.0-r0) (99/137) Purging xz-libs (5.2.6-r0) (100/137) Purging brotli-dev (1.0.9-r7) (101/137) Purging libdvdcss-dev (1.4.3-r0) (102/137) Purging libdvdcss (1.4.3-r0) (103/137) Purging x264-libs (0.164_git20220602-r0) (104/137) Purging expat-dev (2.4.8-r1) (105/137) Purging expat (2.4.8-r1) (106/137) Purging libcdio-dev (2.1.0-r0) (107/137) Purging libcdio++ (2.1.0-r0) (108/137) Purging libcdio (2.1.0-r0) (109/137) Purging aom-libs (3.4.0-r0) (110/137) Purging fribidi (1.0.12-r0) (111/137) Purging libintl (0.21-r3) (112/137) Purging libmount (2.38.1-r0) (113/137) Purging libblkid (2.38.1-r0) (114/137) Purging graphite2 (1.3.14-r1) (115/137) Purging libdav1d (1.0.0-r0) (116/137) Purging nettle (3.8.1-r0) (117/137) Purging libtasn1 (4.18.0-r0) (118/137) Purging libunistring (1.0-r0) (119/137) Purging opus (1.3.1-r1) (120/137) Purging libasyncns (0.8-r1) (121/137) Purging dbus-libs (1.14.0-r1) (122/137) Purging libltdl (2.4.7-r0) (123/137) Purging orc (0.4.32-r1) (124/137) Purging soxr (0.1.3-r2) (125/137) Purging speexdsp (1.2.1-r0) (126/137) Purging tdb-libs (1.4.7-r0) (127/137) Purging librist (0.2.7-r0) (128/137) Purging mbedtls (2.28.1-r0) (129/137) Purging libsrt (1.5.0-r1) (130/137) Purging libssh (0.9.6-r2) (131/137) Purging v4l-utils-libs (1.22.1-r2) (132/137) Purging libjpeg-turbo (2.1.4-r0) (133/137) Purging vidstab (1.1.0-r1) (134/137) Purging libvpx (1.12.0-r0) (135/137) Purging libwebp (1.2.4-r0) (136/137) Purging x265-libs (3.5-r3) (137/137) Purging numactl (2.0.14-r0) Executing busybox-1.35.0-r22.trigger OK: 417 MiB in 99 packages >>> mplayer: Updating the community/aarch64 repository index... >>> mplayer: Signing the index...