>>> mplayer: Building community/mplayer 1.5.0_git20230717-r1 (using abuild 3.13.0-r3) started Thu, 25 Apr 2024 10:09:34 +0000 >>> mplayer: Checking sanity of /home/buildozer/aports/community/mplayer/APKBUILD... >>> mplayer: Analyzing dependencies... >>> mplayer: Installing for build: build-base alsa-lib-dev faac-dev ffmpeg-dev fontconfig-dev freetype-dev lame-dev libao-dev libcdio-paranoia-dev libdvdread-dev libmad-dev libpng-dev libtheora-dev libvdpau-dev libxv-dev libxvmc-dev libxxf86dga-dev mesa-dev nasm sdl2-dev x264-dev xvidcore-dev zlib-dev (1/178) Installing alsa-lib (1.2.11-r0) (2/178) Installing alsa-lib-dev (1.2.11-r0) (3/178) Installing faac (1.30-r5) (4/178) Installing faac-dev (1.30-r5) (5/178) Installing aom-libs (3.8.2-r0) (6/178) Installing libxau (1.0.11-r4) (7/178) Installing libmd (1.1.0-r0) (8/178) Installing libbsd (0.12.2-r0) (9/178) Installing libxdmcp (1.1.5-r1) (10/178) Installing libxcb (1.16.1-r0) (11/178) Installing libx11 (1.8.9-r1) (12/178) Installing hwdata-pci (0.381-r0) (13/178) Installing libpciaccess (0.18.1-r0) (14/178) Installing libdrm (2.4.120-r0) (15/178) Installing libxext (1.3.6-r2) (16/178) Installing libxfixes (6.0.1-r4) (17/178) Installing libffi (3.4.6-r0) (18/178) Installing wayland-libs-client (1.22.0-r4) (19/178) Installing libva (2.21.0-r0) (20/178) Installing libvdpau (1.5-r3) (21/178) Installing ffmpeg-libavutil (6.1.1-r6) (22/178) Installing libdav1d (1.4.1-r0) (23/178) Installing openexr-libiex (3.1.13-r1) (24/178) Installing openexr-libilmthread (3.1.13-r1) (25/178) Installing imath (3.1.11-r2) (26/178) Installing openexr-libopenexr (3.1.13-r1) (27/178) Installing giflib (5.2.2-r0) (28/178) Installing libhwy (1.0.7-r0) (29/178) Installing libjpeg-turbo (3.0.2-r0) (30/178) Installing lcms2 (2.16-r0) (31/178) Installing libpng (1.6.43-r0) (32/178) Installing libjxl (0.9.1-r0) (33/178) Installing lame-libs (3.100-r5) (34/178) Installing opus (1.4-r0) (35/178) Installing rav1e-libs (0.7.1-r0) (36/178) Installing soxr (0.1.3-r7) (37/178) Installing ffmpeg-libswresample (6.1.1-r6) (38/178) Installing libogg (1.3.5-r5) (39/178) Installing libtheora (1.1.1-r18) (40/178) Installing libvorbis (1.3.7-r2) (41/178) Installing libvpx (1.14.0-r0) (42/178) Installing libsharpyuv (1.3.2-r0) (43/178) Installing libwebp (1.3.2-r0) (44/178) Installing libwebpmux (1.3.2-r0) (45/178) Installing x264-libs (0.164_git20231001-r0) (46/178) Installing numactl (2.0.18-r0) (47/178) Installing x265-libs (3.6-r0) (48/178) Installing xvidcore (1.3.7-r2) (49/178) Installing ffmpeg-libavcodec (6.1.1-r6) (50/178) Installing sdl2 (2.28.5-r1) (51/178) Installing libbz2 (1.0.8-r6) (52/178) Installing freetype (2.13.2-r0) (53/178) Installing fontconfig (2.15.0-r1) (54/178) Installing fribidi (1.0.13-r0) (55/178) Installing libintl (0.22.5-r0) (56/178) Installing libeconf (0.6.2-r0) (57/178) Installing libblkid (2.40-r2) (58/178) Installing libmount (2.40-r2) (59/178) Installing glib (2.80.0-r3) (60/178) Installing graphite2 (1.3.14-r6) (61/178) Installing harfbuzz (8.4.0-r0) (62/178) Installing libunibreak (6.1-r0) (63/178) Installing libass (0.17.1-r2) (64/178) Installing libbluray (1.3.4-r1) (65/178) Installing mpg123-libs (1.32.6-r0) (66/178) Installing libopenmpt (0.7.6-r0) (67/178) Installing mbedtls (3.6.0-r0) (68/178) Installing librist (0.2.10-r1) (69/178) Installing libsrt (1.5.3-r0) (70/178) Installing libssh (0.10.6-r0) (71/178) Installing xz-libs (5.6.1-r3) (72/178) Installing libxml2 (2.12.6-r2) (73/178) Installing libsodium (1.0.19-r0) (74/178) Installing libzmq (4.3.5-r2) (75/178) Installing ffmpeg-libavformat (6.1.1-r6) (76/178) Installing serd-libs (0.32.2-r0) (77/178) Installing zix-libs (0.4.2-r0) (78/178) Installing sord-libs (0.16.16-r0) (79/178) Installing sratom (0.6.16-r0) (80/178) Installing lilv-libs (0.24.24-r1) (81/178) Installing glslang-libs (1.3.261.1-r0) (82/178) Installing libdovi (3.2.0-r1) (83/178) Installing spirv-tools (1.3.261.1-r0) (84/178) Installing shaderc (2024.0-r0) (85/178) Installing vulkan-loader (1.3.261.1-r0) (86/178) Installing libplacebo (6.338.2-r1) (87/178) Installing ffmpeg-libpostproc (6.1.1-r6) (88/178) Installing ffmpeg-libswscale (6.1.1-r6) (89/178) Installing vidstab (1.1.1-r0) (90/178) Installing zimg (3.0.5-r2) (91/178) Installing ffmpeg-libavfilter (6.1.1-r6) (92/178) Installing libasyncns (0.8-r3) (93/178) Installing dbus-libs (1.14.10-r1) (94/178) Installing libltdl (2.4.7-r3) (95/178) Installing orc (0.4.37-r0) (96/178) Installing libflac (1.4.3-r1) (97/178) Installing libsndfile (1.2.2-r0) (98/178) Installing speexdsp (1.2.1-r2) (99/178) Installing tdb-libs (1.4.9-r1) (100/178) Installing libpulse (17.0-r0) (101/178) Installing v4l-utils-libs (1.24.1-r1) (102/178) Installing ffmpeg-libavdevice (6.1.1-r6) (103/178) Installing ffmpeg-dev (6.1.1-r6) (104/178) Installing expat (2.6.2-r0) (105/178) Installing expat-dev (2.6.2-r0) (106/178) Installing brotli (1.1.0-r2) (107/178) Installing brotli-dev (1.1.0-r2) (108/178) Installing zlib-dev (1.3.1-r1) (109/178) Installing libpng-dev (1.6.43-r0) (110/178) Installing freetype-dev (2.13.2-r0) (111/178) Installing fontconfig-dev (2.15.0-r1) (112/178) Installing lame-dev (3.100-r5) (113/178) Installing libao (1.2.2-r2) (114/178) Installing libao-dev (1.2.2-r2) (115/178) Installing libcdio (2.1.0-r3) (116/178) Installing libcdio-paranoia (10.2.2.0.1-r2) (117/178) Installing libcdio++ (2.1.0-r3) (118/178) Installing libcdio-dev (2.1.0-r3) (119/178) Installing libcdio-paranoia-dev (10.2.2.0.1-r2) (120/178) Installing libdvdcss (1.4.3-r0) (121/178) Installing libdvdread (6.1.3-r2) (122/178) Installing libdvdcss-dev (1.4.3-r0) (123/178) Installing libdvdread-dev (6.1.3-r2) (124/178) Installing libmad (0.15.1b-r9) (125/178) Installing libmad-dev (0.15.1b-r9) (126/178) Installing libogg-dev (1.3.5-r5) (127/178) Installing libtheora-dev (1.1.1-r18) (128/178) Installing libvdpau-dev (1.5-r3) (129/178) Installing libxv (1.0.12-r5) (130/178) Installing xorgproto (2024.1-r0) (131/178) Installing libxau-dev (1.0.11-r4) (132/178) Installing gdbm (1.23-r1) (133/178) Installing mpdecimal (4.0.0-r0) (134/178) Installing libpanelw (6.4_p20240330-r0) (135/178) Installing readline (8.2.10-r0) (136/178) Installing sqlite-libs (3.45.3-r0) (137/178) Installing python3 (3.12.3-r1) (138/178) Installing python3-pycache-pyc0 (3.12.3-r1) (139/178) Installing pyc (3.12.3-r1) (140/178) Installing xcb-proto-pyc (1.16.0-r1) (141/178) Installing python3-pyc (3.12.3-r1) (142/178) Installing xcb-proto (1.16.0-r1) (143/178) Installing libxdmcp-dev (1.1.5-r1) (144/178) Installing libxcb-dev (1.16.1-r0) (145/178) Installing xtrans (1.5.0-r0) (146/178) Installing libx11-dev (1.8.9-r1) (147/178) Installing libxext-dev (1.3.6-r2) (148/178) Installing libxv-dev (1.0.12-r5) (149/178) Installing libxvmc (1.0.14-r1) (150/178) Installing libxvmc-dev (1.0.14-r1) (151/178) Installing libxxf86dga (1.1.6-r3) (152/178) Installing libxxf86dga-dev (1.1.6-r3) (153/178) Installing linux-headers (6.6-r0) (154/178) Installing libpciaccess-dev (0.18.1-r0) (155/178) Installing libdrm-dev (2.4.120-r0) (156/178) Installing libxdamage (1.1.6-r5) (157/178) Installing libxfixes-dev (6.0.1-r4) (158/178) Installing libxdamage-dev (1.1.6-r5) (159/178) Installing libxshmfence (1.3.2-r6) (160/178) Installing libxshmfence-dev (1.3.2-r6) (161/178) Installing mesa (24.0.5-r0) (162/178) Installing wayland-libs-server (1.22.0-r4) (163/178) Installing mesa-gbm (24.0.5-r0) (164/178) Installing mesa-glapi (24.0.5-r0) (165/178) Installing mesa-egl (24.0.5-r0) (166/178) Installing libxxf86vm (1.1.5-r6) (167/178) Installing mesa-gl (24.0.5-r0) (168/178) Installing mesa-gles (24.0.5-r0) (169/178) Installing llvm17-libs (17.0.6-r1) (170/178) Installing mesa-osmesa (24.0.5-r0) (171/178) Installing mesa-xatracker (24.0.5-r0) (172/178) Installing libxxf86vm-dev (1.1.5-r6) (173/178) Installing mesa-dev (24.0.5-r0) (174/178) Installing nasm (2.16.03-r0) (175/178) Installing sdl2-dev (2.28.5-r1) (176/178) Installing x264-dev (0.164_git20231001-r0) (177/178) Installing xvidcore-dev (1.3.7-r2) (178/178) Installing .makedepends-mplayer (20240425.100940) Executing busybox-1.36.1-r25.trigger Executing glib-2.80.0-r3.trigger OK: 753 MiB in 283 packages >>> mplayer: Cleaning up srcdir >>> mplayer: Cleaning up pkgdir >>> mplayer: Cleaning up tmpdir >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/mplayer-1.5.0_git20230717.tar.xz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> mplayer: Fetching https://dev.alpinelinux.org/archive/mplayer/mplayer-1.5.0_git20230717.tar.xz Connecting to dev.alpinelinux.org (185.15.220.34:443) saving to '/var/cache/distfiles/mplayer-1.5.0_git20230717.tar.xz.part' mplayer-1.5.0_git202 100% |********************************| 5053k 0:00:00 ETA '/var/cache/distfiles/mplayer-1.5.0_git20230717.tar.xz.part' saved >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/mplayer-1.5.0_git20230717.tar.xz >>> mplayer: Checking sha512sums... mplayer-1.5.0_git20230717.tar.xz: OK x11-libs.patch: OK >>> mplayer: Unpacking /var/cache/distfiles/mplayer-1.5.0_git20230717.tar.xz... >>> mplayer: x11-libs.patch patching file configure Hunk #1 succeeded at 4969 (offset 575 lines). Checking for ffmpeg/libavcodec/allcodecs.c ... not found Checking for ffmpeg/libavcodec/hwaccels.h ... not found Checking for ffmpeg/libavformat/allformats.c ... not found Checking for ffmpeg/libavcodec/bitsteram_filters.c ... not found Checking for ffmpeg/libavcodec/cbs_internal.h ... not found Checking for ffmpeg/libavformat/protocols.c ... not found Checking for ffmpeg/libavfilter/allfilters.c ... not found Checking for gcc version ... 13.2.1 Checking for working compiler ... yes Detected operating system: Linux Detected host architecture: arm 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) ... yes Checking for ARMv6 (SIMD instructions) ... yes Checking for ARMv6t2 (SIMD instructions) ... yes Checking for ARM VFP ... yes Checking for ARM VFPV3 ... yes Checking for ARM setend ... yes Checking for softfloat ABI ... no Checking for ARM NEON ... no Checking for ARM NEON intrinsics ... no 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 ... no 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' 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' 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=-O2 -fno-PIC -fno-PIE --extra-ldflags=-no-pie --disable-nemesi --enable-freetype --enable-xvmc --yasm=nasm ! 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 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 directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. NOTE: Win32 codec DLLs are not supported on your CPU (arm) 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o asxparser.o asxparser.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o bstr.o bstr.c gcc -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o fmt-conversion.o fmt-conversion.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mp_msg.o mp_msg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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` gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o playtree.o playtree.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o playtreeparser.o playtreeparser.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o subopt-helper.o subopt-helper.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af.o libaf/af.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_center.o libaf/af_center.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_channels.o libaf/af_channels.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_comp.o libaf/af_comp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_delay.o libaf/af_delay.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_dummy.o libaf/af_dummy.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_equalizer.o libaf/af_equalizer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_extrastereo.o libaf/af_extrastereo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_format.o libaf/af_format.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_gate.o libaf/af_gate.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_hrtf.o libaf/af_hrtf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_karaoke.o libaf/af_karaoke.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_pan.o libaf/af_pan.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_resample.o libaf/af_resample.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_scaletempo.o libaf/af_scaletempo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sinesuppress.o libaf/af_sinesuppress.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_stats.o libaf/af_stats.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sub.o libaf/af_sub.c mp_fifo.c: In function 'mplayer_get_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_surround.o libaf/af_surround.c mp_fifo.c:61:25: warning: unused parameter 'fd' [-Wunused-parameter] 61 | int mplayer_get_key(int fd){ | ~~~~^~ 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){ | ~~~~^~~~~ 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) | ~~~~~~^~~ libao2/ao_v4l2.c: In function 'init': libao2/ao_v4l2.c:62:47: warning: unused parameter 'flags' [-Wunused-parameter] 62 | init (int rate, int channels, int format, int flags) | ~~~~^~~~~ libao2/ao_v4l2.c: In function 'uninit': libao2/ao_v4l2.c:95:13: warning: unused parameter 'immed' [-Wunused-parameter] 95 | uninit (int immed) | ~~~~^~~~~ libao2/ao_v4l2.c: In function 'play': libao2/ao_v4l2.c:144:32: warning: unused parameter 'flags' [-Wunused-parameter] 144 | play (void *data, int len, int flags) | ~~~~^~~~~ cpudetect.c:428:13: warning: 'sigill_handler' defined but not used [-Wunused-function] 428 | static void sigill_handler (int sig) | ^~~~~~~~~~~~~~ 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){ | ~~~~^~~~~~ subopt-helper.c: In function 'parse_str': subopt-helper.c:89:46: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 'int' to 'size_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 164 | delim - &str[parse_pos] : // yes | ^~~~~~~~~~~~~~~~~~~~~~~ subopt-helper.c: In function 'strargcmp': subopt-helper.c:335:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 335 | if (!res && arg->len != strlen(str)) | ^~ subopt-helper.c: In function 'strargcasecmp': subopt-helper.c:343:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 343 | if (!res && arg->len != strlen(str)) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sweep.o libaf/af_sweep.c mp_msg.c: In function 'filename_recode': mp_msg.c:73:29: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 73 | if (iconv(inv_msgiconv, &filename, &filename_len, | ^~~~~~~~~ | | | const char ** In file included from mp_msg.c:29: /usr/include/iconv.h:17:23: note: expected 'char ** restrict' but argument is of type 'const char **' 17 | size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict); | ^ mp_msg.c: In function 'mp_msg_va': mp_msg.c:236:58: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 236 | while (iconv(msgiconv, &in, &inlen, &out, &outlen) == -1) { | ^~ libaf/af_karaoke.c: In function 'play': libvo/vo_null.c: In function 'draw_slice': 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) | ~~~~~~~~~~~~~~~~~~~~~~^~ 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) | ~~~~^ In file included from ./mp_core.h:27, from libao2/audio_out.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libvo/vo_null.c: In function 'config': libvo/vo_null.c:71:50: warning: unused parameter 'd_width' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ libvo/vo_null.c:71:68: warning: unused parameter 'd_height' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~ libvo/vo_null.c:71:87: warning: unused parameter 'flags' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_null.c:71:100: warning: unused parameter 'title' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_null.c:71:116: warning: unused parameter 'format' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_tools.o libaf/af_tools.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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/ao_mpegpes.c: In function 'init': libao2/ao_pcm.c: In function 'control': In file included from ./mp_core.h:27, from libvo/vo_md5sum.c:45: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libao2/ao_mpegpes.c:237:30: warning: unused parameter 'channels' [-Wunused-parameter] 237 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~~~~ libao2/ao_pcm.c:134:24: warning: unused parameter 'cmd' [-Wunused-parameter] 134 | static int control(int cmd,void *arg){ | ~~~~^~~ libao2/ao_pcm.c:134:34: warning: unused parameter 'arg' [-Wunused-parameter] 134 | static int control(int cmd,void *arg){ | ~~~~~~^~~ libao2/ao_mpegpes.c:237:54: warning: unused parameter 'flags' [-Wunused-parameter] 237 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ libao2/ao_mpegpes.c: In function 'uninit': libao2/ao_mpegpes.c:280:24: warning: unused parameter 'immed' [-Wunused-parameter] 280 | static void uninit(int immed){ | ~~~~^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libao2/ao_mpegpes.c: In function 'play': libao2/ao_pcm.c: In function 'init': libao2/ao_pcm.c:140:54: warning: unused parameter 'flags' [-Wunused-parameter] 140 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ libao2/ao_mpegpes.c:320:40: warning: unused parameter 'flags' [-Wunused-parameter] 320 | static int play(void* data,int len,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){ | ~~~~^~~~~ libvo/vo_tga.c: In function 'config': libao2/ao_pcm.c: In function 'play': libvo/vo_mpegpes.c: In function 'config': libao2/ao_pcm.c:254:40: warning: unused parameter 'flags' [-Wunused-parameter] 254 | static int play(void* data,int len,int flags){ | ~~~~^~~~~ 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_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_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_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_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_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_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_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_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_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_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_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) | ~~~~~~~~~^~~~~~ input/appleir.c: In function 'mp_input_appleir_read': input/appleir.c:130:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 130 | if (r <= 0 || r < sizeof (struct input_event)) | ^ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from mp_core.h:27, from udp_sync.c:44: libmpdemux/demuxer.h: In function 'new_demux_packet': 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." | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from ./libmpdemux/stheader.h:22, from ./libmpcodecs/dec_audio.h:23, from libaf/af.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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 && | ^~ 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_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, | ~~~~~~^~~~~ m_property.c: In function 'm_property_float_ro': m_property.c:286:43: warning: unused parameter 'prop' [-Wunused-parameter] 286 | int m_property_float_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ 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 }; | ^~~~~~~ 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_yuv4mpeg.c: In function 'preinit': libvo/vo_yuv4mpeg.c:275:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 275 | if (il_bf) | ^~ libvo/vo_yuv4mpeg.c:279:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 279 | switch (config_interlace) | ^~~~~~ libvo/vo_dga.c: In function 'config': m_property.c: In function 'm_property_double_ro': 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': m_config.c: In function 'set_profile': m_property.c:333:44: warning: unused parameter 'prop' [-Wunused-parameter] 333 | int m_property_double_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ m_config.c:80:42: warning: unused parameter 'dst' [-Wunused-parameter] 80 | set_profile(const m_option_t *opt, void *dst, const void *src) | ~~~~~~^~~ libvo/vo_dga.c:750:35: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 750 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ 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}} }}, | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from input/input.c:34: 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ m_property.c: In function 'm_property_string_ro': libvo/vo_dga.c:750:59: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 750 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ 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; | ^~~~~~~ m_config.c: In function 'show_profile': 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}} } }, | ^ 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) { | ~~~~~~~~~~~~~~~~~~^~~~ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_config.c:128:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 128 | char *tmp = av_strndup(list, l); | ^~~~ libvo/vo_fbdev2.c: In function 'config': 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}} } }, | ^ 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) { | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_config.c:102:12: warning: unused variable 'j' [-Wunused-variable] 102 | int i, j; | ^ 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}} } }, | ^ m_config.c: In function 'list_options': input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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) { | ^ m_config.c:143:48: warning: unused parameter 'name' [-Wunused-parameter] 143 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~ 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; | ^~~~~~~ m_config.c:143:60: warning: unused parameter 'param' [-Wunused-parameter] 143 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~~ 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; | ^~~~~~~ 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) | ^ 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; | ^~~~~~~ m_property.c:77:5: note: here 77 | case M_PROPERTY_TO_STRING: | ^~~~ libvo/vo_dga.c:829:35: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 829 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ libvo/vo_fbdev2.c:211:58: warning: unused parameter 'title' [-Wunused-parameter] 211 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ 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; | ^~~~~~~ libvo/vo_dga.c:829:59: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 829 | if (!vo_config_count || width != prev_width || height != prev_height) | ^~ 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; | ^~~~~~~ libvo/vo_dga.c:509:46: warning: unused parameter 'title' [-Wunused-parameter] 509 | uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ 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; | ^~~~~~~ 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, | ~~~~~~~~~^~~~~~ 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}} } }, | ^ libvo/vo_v4l2.c:86:18: warning: unused parameter 'd_width' [-Wunused-parameter] 86 | uint32_t d_width, uint32_t d_height, | ~~~~~~~~~^~~~~~~ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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) | ~~~~~~~~~^~~~~~ 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}} } }, | ^ libao2/ao_oss.c: In function 'init': input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ libao2/ao_oss.c:218:54: warning: unused parameter 'flags' [-Wunused-parameter] 218 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ 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; | ^~~~~~~ libvo/vo_dga.c: In function 'get_image': 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; | ^~~~~~~ m_config.c: In function 'm_config_add_option': 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; | ^~~~~~~ m_config.c:325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 325 | co->name = arg->name; | ^ In file included from ./mp_core.h:27, from libvo/vo_pnm.c:45: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~~~~~~ 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}} } }, | ^ libvo/vo_dga.c:940:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 940 | (IMGFMT_BGR_DEPTH(mpi->imgfmt) != | ^~ 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; | ^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~ m_option.c: In function 'print_double': 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}} } }, | ^ 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) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 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; | ^~~~~~~ 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: | ^~~~ 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}} } }, | ^ m_option.c: In function 'print_float': input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 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; | ^~~~~~~ m_config.c: In function 'm_config_parse_option': 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; | ^~~~~~~ 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; | ^~~~~~~ m_config.c:448:11: warning: unused variable 'l' [-Wunused-variable] 448 | int l = strlen(co->name) + 1 + strlen(lst[2*i]) + 1; | ^ 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; | ^~~~~~~ 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; | ^~~~~~~ m_option.c: In function 'parse_position': 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; | ^~~~~~~ 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) { | ~~~~^~~ 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}} } }, | ^ m_option.c: In function 'print_position': input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_option.c:361:47: warning: unused parameter 'opt' [-Wunused-parameter] 361 | static char* print_position(const m_option_t* opt, const void* val) { | ~~~~~~~~~~~~~~~~~~^~~ 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; | ^~~~~~~ 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; | ^~~~~~~ m_option.c: In function 'parse_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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~^~~~ 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; | ^~~~~~~ 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) { | ~~~~^~~ In file included from asxparser.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ m_option.c: In function 'print_str': 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}} } }, | ^ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ libvo/vo_fbdev.c: In function 'find_best_mode': m_option.c:411:42: warning: unused parameter 'opt' [-Wunused-parameter] 411 | static char* print_str(const m_option_t* opt, const void* val) { | ~~~~~~~~~~~~~~~~~~^~~ 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; | ^~~~~~~ libvo/vo_fbdev.c:470:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 470 | if (best->xres < xres || best->yres < yres) { | ^ 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; | ^~~~~~~ libvo/vo_fbdev.c:470:45: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 470 | if (best->xres < xres || best->yres < yres) { | ^ m_option.c: In function 'copy_str': 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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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; | ^~~~~~~ libvo/vo_fbdev.c:482:29: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 482 | (curr->xres >= xres && curr->yres >= yres)) { | ^~ 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; | ^~~~~~~ libvo/vo_fbdev.c:482:51: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 482 | (curr->xres >= xres && curr->yres >= yres)) { | ^~ 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; | ^~~~~~~ libvo/vo_fbdev.c:487:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 487 | if (curr->xres < xres || curr->yres < yres) | ^ 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; | ^~~~~~~ libvo/vo_fbdev.c:487:49: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 487 | if (curr->xres < xres || curr->yres < yres) | ^ 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; | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_volume.o libaf/af_volume.c libvo/vo_fbdev.c: At top level: 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; | ^~~~~~~ libvo/vo_fbdev.c:586:15: warning: missing initializer for field 'transp' of 'struct fb_cmap' [-Wmissing-field-initializers] 586 | static struct fb_cmap fb_oldcmap = { 0, 256, fb_ored, fb_ogreen, fb_oblue }; | ^~~~~~~ In file included from playtreeparser.c:40: libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~~~~~~ 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 */ | ^~~~~~ 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; | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~ 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}} }}, | ^ m_option.c: In function 'parse_str_list': 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; | ^~~~~~~ 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) { | ~~~~^~~ 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){ | ~~~~^~~~~~~~~~ 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; | ^~~~~~~ m_option.c: In function 'copy_str_list': 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; | ^~~~~~~ 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, | ~~~~~~~~~^~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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, | ~~~~~~~~~^~~~~~ 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}} } }, | ^ 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, | ~~~~~~~~~^~~~~~~ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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) | ~~~~~~~~~^~~~~~ 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; | ^~~~~~~ m_option.c: In function 'print_str_list': 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; | ^~~~~~~ playtreeparser.c: In function 'play_tree_parser_get_line': playtreeparser.c:105:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 105 | while(strlen(p->buffer + p->buffer_end - r) != r) | ^~ 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; | ^~~~~~~ asxparser.c: In function 'asx_parse_param': 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) { | ~~~~~~~~~~~~~~~~~~^~~ codec-cfg.c: In function 'main': 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; | ^~~~~~~ asxparser.c:393:68: warning: unused parameter 'pt' [-Wunused-parameter] 393 | asx_parse_param(ASX_Parser_t* parser, char** attribs, play_tree_t* pt) { | ~~~~~~~~~~~~~^~ 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 m_option.c: In function 'parse_call_func': 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; | ^~~~~~~ In file included from ./mp_core.h:27, from libvo/vo_png.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libvo/vo_fbdev.c: In function 'config': 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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~^~~~ 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; | ^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ asxparser.c: In function 'asx_parse_entryref': 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) { | ~~~~~~^~~ libvo/vo_fbdev.c:928:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 928 | if (vo_doublebuffering && fb_size < 2 * fb_yres * fb_line_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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/vo_xover.c: In function 'set_window': asxparser.c:448:47: warning: unused parameter 'buffer' [-Wunused-parameter] 448 | asx_parse_entryref(ASX_Parser_t* parser,char* buffer,char** _attribs) { | ~~~~~~^~~~~~ 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; | ^~~~~~~ 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) { | ~~~~^~~ 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; | ^~~~~~~~~~~~~~~ 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; | ^~~~~~~ libvo/vo_xover.c:117:50: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 117 | drwWidth = ((int)dwidth > vo_screenwidth ? vo_screenwidth : dwidth); | ^~~~~~~~~~~~~~ libvo/vo_xover.c:118:53: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 118 | drwHeight = ((int)dheight > vo_screenheight ? vo_screenheight : dheight); | ^~~~~~~~~~~~~~~ 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; | ^~~~~~~ asxparser.c: In function 'asx_parse_entry': 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; | ^~~~~~~ libvo/vo_fbdev.c:776:9: warning: unused variable 'zoom' [-Wunused-variable] 776 | int zoom = flags & VOFLAG_SWSCALE; | ^~~~ asxparser.c:485:58: warning: unused parameter '_attribs' [-Wunused-parameter] 485 | asx_parse_entry(ASX_Parser_t* parser,char* buffer,char** _attribs) { | ~~~~~~~^~~~~~~~ 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; | ^~~~~~~ m_option.c: In function 'parse_func_pf': 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}} } }, | ^ libvo/vo_fbdev.c:771:60: warning: unused parameter 'title' [-Wunused-parameter] 771 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ 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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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; | ^~~~~~~ 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) { | ~~~~^~~ 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; | ^~~~~~~ m_option.c: In function 'copy_func_pf': 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; | ^~~~~~~ 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[], | ~~~~~~~~~^~~~~ 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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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) | ~~~~^ 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; | ^~~~~~~ libvo/vo_xover.c:349:39: warning: unused parameter 'h' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ 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}} } }, | ^ m_option.c: In function 'set_func_param': libvo/vo_xover.c:349:46: warning: unused parameter 'x' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ playtreeparser.c: In function 'parse_smil': libvo/vo_xover.c:349:53: warning: unused parameter 'y' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ 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; | ^~~~~~~ libvo/vo_fbdev.c: In function 'get_image': playtreeparser.c:557:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 557 | for (i = 0; i < strlen(line); i++) | ^ 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) { | ~~~~~~^~~ libvo/vo_xover.c: In function 'draw_frame': 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; | ^~~~~~~ libvo/vo_xover.c:355:32: warning: unused parameter 'src' [-Wunused-parameter] 355 | static int draw_frame(uint8_t *src[]) | ~~~~~~~~~^~~~~ 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; | ^~~~~~~ m_option.c: In function 'set_func_full': 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_fbdev.c:1162:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1162 | IMGFMT_BGR_DEPTH(mpi->imgfmt) != fb_bpp || | ^~ 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 } } | { } 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) { | ~~~~~~^~~ In file included from libvo/vo_xover.c:37: libvo/video_out_internal.h: At top level: libvo/video_out_internal.h:49:12: warning: 'query_format' declared 'static' but never defined [-Wunused-function] 49 | static int query_format(uint32_t format); | ^~~~~~~~~~~~ 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) { | ~~~~~~~~~~~~^~~~~ 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': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/filter.o libaf/filter.c 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) { | ~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/format.o libaf/format.c 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': 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++) | ^ m_option.c:1002:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1002 | if (!p || p[0] != '%' || (optlen > strlen(p) - 1)) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/reorder_ch.o libaf/reorder_ch.c 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++) | ^ libvo/vo_xv.c: In function 'config': libao2/ao_alsa.c: In function 'init': 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) | ^~ 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) | ~~~~^~~~~ 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, | ~~~~~~~~~^~~~~~~~ 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; | ^~~ 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, | ~~~~~~~~~^~~~~~~~ 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) | ~~~~~~~~~^~~~~~ 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}, | ^ libvo/vo_xv.c: In function 'query_format': 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){ | ^~ libvo/vo_xv.c:554:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 554 | if (fo[i].id == format) | ^~ libvo/vo_x11.c: In function 'config': libvo/vo_x11.c:276:61: warning: unused parameter 'd_width' [-Wunused-parameter] 276 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~~ 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 | ^ libvo/vo_x11.c:277:33: warning: unused parameter 'd_height' [-Wunused-parameter] 277 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ m_option.c: In function 'parse_imgfmt': 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_xv.c: In function 'preinit': 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) { | ~~~~~~~~~~~~~~~~~~^~~ libvo/vo_xv.c:667:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 667 | if (xv_adaptor != -1 && xv_adaptor != i) | ^~ libvo/vo_x11.c: In function 'draw_slice': 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) { | ~~~~^~~ 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: /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 224 | 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/x11_common.c: In function 'vo_x11_classhint': 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/x11_common.c:744:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 744 | wmClass.res_name = vo_winname ? vo_winname : name; | ^ libvo/vo_x11.c: In function 'query_format': libvo/vo_xv.c: In function 'draw_slice': libvo/vo_xv.c:400:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 400 | idx_p1 = 2; idx_p2 = 1; | ~~~~~~~^~~ 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_xv.c:401:5: note: here 401 | case IMGFMT_I420: | ^~~~ libvo/vo_xv.c: In function 'control': libvo/vo_xv.c:732:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 732 | vo_x11_fullscreen(); | ^~~~~~~~~~~~~~~~~~~ m_option.c: In function 'parse_afmt': libvo/vo_xv.c:734:9: note: here 734 | case VOCTRL_SET_PANSCAN: | ^~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ libvo/vo_xv.c: In function 'get_image': libvo/vo_xv.c:501:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 501 | idx_p1 = 2; idx_p2 = 1; | ~~~~~~~^~~ libvo/x11_common.c: In function 'handle_x11_event': libvo/vo_xv.c:502:9: note: here 502 | case IMGFMT_I420: | ^~~~ 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) { | ~~~~^~~ libvo/x11_common.c:938:46: warning: comparison of integer expressions of different signedness: 'long int' and 'Atom' {aka 'long unsigned int'} [-Wsign-compare] 938 | event->xclient.data.l[0] == XAWM_DELETE_WINDOW) | ^~ In file included from m_option.c:36: m_option.c: In function 'parse_timestring': input/input.c: In function 'mp_input_get_cmd_from_keys': 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; | ^~~~~~~~~~~~~~ input/input.c:1091:49: warning: unused parameter 'paused' [-Wunused-parameter] 1091 | mp_input_get_cmd_from_keys(int n,int* keys, int paused) { | ~~~~^~~~~~ 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) | ~~~~~~~~~~~~~~~~~~^~~ input/input.c: In function 'read_events': 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) | ~~~~^~~ 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++) | ^ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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++) { | ^ libvo/vo_png.c: In function 'config': 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) { | ~~~~^~~ 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 /usr/include/libavcodec/avcodec.h:44, from libvo/vo_png.c:43: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ 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++) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c libvo/x11_common.c: In function 'xss_suspend': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.c 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/x11_common.c:1525:29: warning: unused parameter 'suspend' [-Wunused-parameter] 1525 | static int xss_suspend(Bool suspend) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c In file included from libvo/vo_xvmc.c:48: /usr/include/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") | ^~~~~~~ m_option.c: In function 'parse_obj_params': 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++) { | ^ m_option.c:1608:63: warning: unused parameter 'src' [-Wunused-parameter] 1608 | const char *param, void* dst, int src) { | ~~~~^~~ input/input.c: In function 'mp_input_get_key_name': libvo/x11_common.c: In function 'vo_x11_create_colormap': input/input.c:1471:14: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1471 | return key_names[i].name; | ^~~~~~~~~ libvo/vo_xvmc.c:96:12: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations] 96 | struct xvmc_pix_fmt shared; | ^~~~~~~~~~~~ /usr/include/libavcodec/xvmc.h:47:29: note: declared here 47 | struct attribute_deprecated xvmc_pix_fmt { | ^~~~~~~~~~~~ libvo/x11_common.c:1836:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1836 | for (k = 0; k < cm_size; k++) | ^ libvo/x11_common.c:1846:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1846 | if (t < r) | ^ libvo/x11_common.c:1850:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1850 | if (t < g) | ^ libvo/vo_xvmc.c: In function 'xvmc_find_surface_by_format': libvo/vo_xvmc.c:380:62: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 380 | if ( xv_port_request != 0 && xv_port_request != p ) | ^~ libvo/x11_common.c:1854:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1854 | if (t < b) | ^ libvo/vo_xvmc.c: In function 'config': libvo/vo_xvmc.c:526:19: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 526 | if( height==image_height && width==image_width && image_format==format){ | ^~ libvo/vo_xvmc.c:526:42: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 526 | if( height==image_height && width==image_width && image_format==format){ | ^~ m_option.c: In function 'copy_obj_settings_list': libvo/vo_xvmc.c:526:71: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 526 | if( height==image_height && width==image_width && image_format==format){ | ^~ input/input.c: In function 'mp_input_init': 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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); | ^ m_option.c: In function 'parse_obj_presets': input/input.c: In function 'mp_input_print_key_list': m_option.c:1975:63: warning: unused parameter 'src' [-Wunused-parameter] 1975 | const char *param, void* dst, int src) { | ~~~~^~~ 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) { | ~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.c m_option.c: In function 'parse_custom_url': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_teletext.o libmpcodecs/dec_teletext.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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:2047:61: warning: unused parameter 'src' [-Wunused-parameter] 2047 | const char *url, void* dst, int src) { | ~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c libvo/vo_xvmc.c: In function 'draw_slice': libvo/vo_xvmc.c:1151:45: warning: unused parameter 'stride' [-Wunused-parameter] 1151 | static int draw_slice(uint8_t *image[], int stride[], | ~~~~^~~~~~~~ libvo/vo_xvmc.c:1152:32: warning: unused parameter 'w' [-Wunused-parameter] 1152 | int w, int h, int x, int y){ | ~~~~^ libvo/vo_xvmc.c:1152:39: warning: unused parameter 'h' [-Wunused-parameter] 1152 | int w, int h, int x, int y){ | ~~~~^ input/input.c: In function 'mp_input_read_cmd': libvo/vo_xvmc.c:1152:46: warning: unused parameter 'x' [-Wunused-parameter] 1152 | int w, int h, int x, int y){ | ~~~~^ 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: | ^~~~ 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: | ^~~~ command.c: In function 'mp_property_osdlevel': command.c:233:44: warning: unused parameter 'mpctx' [-Wunused-parameter] 233 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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': command.c:281:40: warning: unused parameter 'mpctx' [-Wunused-parameter] 281 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ command.c: In function 'mp_property_filename': command.c:288:44: warning: unused parameter 'mpctx' [-Wunused-parameter] 288 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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': 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) | ^~~~~~~~~~~~~~ libvo/vo_xvmc.c: In function 'control': libvo/vo_xvmc.c:1347:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1347 | vo_x11_fullscreen(); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_xvmc.c:1349:9: note: here 1349 | case VOCTRL_SET_PANSCAN: | ^~~~ command.c: In function 'mp_property_metadata': libvo/vo_vdpau.c: In function 'preemption_callback': command.c:610:45: warning: unused parameter 'prop' [-Wunused-parameter] 610 | static int mp_property_metadata(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ 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) | ~~~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/pullup.o libmpcodecs/pullup.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd.o libmpcodecs/vd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_hmblck.o libmpcodecs/vd_hmblck.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); | ^~~~~~~~~~~~~~ libvo/vo_vdpau.c: In function 'draw_slice': 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); | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_audio': 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); | ^~~~~~~~~~~~~~ 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, | ~~~~^~~~~~~~ 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: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) { | ^ 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, | ~~~~^ 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); | ^~~~~~~~~~~~~~ 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: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); | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_video': libvo/vo_vdpau.c:1074:27: warning: unused parameter 'x' [-Wunused-parameter] 1074 | int x, int y) | ~~~~^ libaf/reorder_ch.c: In function 'reorder_copy_8ch': command.c:957:42: warning: unused parameter 'prop' [-Wunused-parameter] 957 | static int mp_property_video(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ 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); | ^~~~~~~~~~~~~~ libvo/vo_vdpau.c:1074:34: warning: unused parameter 'y' [-Wunused-parameter] 1074 | int x, int y) | ~~~~^ command.c: In function 'mp_property_program': 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); | ^~~~~~~~~~~~~~ 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:229:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 229 | for (i = 0; i < samples * 3; i += 24) { | ^ libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:261:9: note: in expansion of macro 'REORDER_COPY_8' 261 | REORDER_COPY_8(dest_32,src_32,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:268:9: note: in expansion of macro 'REORDER_COPY_8' 268 | REORDER_COPY_8(dest_64,src_64,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_lzo.o libmpcodecs/vd_lzo.c command.c: In function 'mp_property_vsync': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_self_2': command.c:1330:41: warning: unused parameter 'mpctx' [-Wunused-parameter] 1330 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_null.o libmpcodecs/vd_null.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:426:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 426 | REORDER_SELF_SWAP_2(src_8,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:429:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 429 | REORDER_SELF_SWAP_2(src_8,tmp,samples,8,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:432:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 432 | REORDER_SELF_SWAP_2(src_8,tmp,samples,5,s0,s1); | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_sub_pos': In file included from libmpcodecs/ad.c:28: ./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:441:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 441 | REORDER_SELF_SWAP_2(src_16,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ command.c:1433:43: warning: unused parameter 'mpctx' [-Wunused-parameter] 1433 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ In file included from ./libmpcodecs/vf.h:118, from libmenu/menu.h:24, from mplayer.c:78: mplayer.c: At top level: ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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:444:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 444 | REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ ./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; | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:447:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 447 | REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:450:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 450 | REORDER_SELF_SWAP_2(src_16,tmp,samples,5,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:458:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 458 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libvo/vo_vdpau.c: In function 'query_format': 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); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_vdpau.c:1207:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1207 | if (force_mixer) | ^ command.c: In function 'mp_property_sub': libvo/vo_vdpau.c:1209:5: note: here 1209 | case IMGFMT_YV12: | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~ command.c:1448:40: warning: unused parameter 'prop' [-Wunused-parameter] 1448 | static int mp_property_sub(m_option_t *prop, int action, void *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: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); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:500:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 500 | REORDER_SELF_SWAP_2(src_64,tmp,samples,4,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:503:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 503 | REORDER_SELF_SWAP_2(src_64,tmp,samples,5,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_3': libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:535:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 535 | REORDER_SELF_SWAP_3(src_8,tmp,samples,6,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:538:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 538 | REORDER_SELF_SWAP_3(src_8,tmp,samples,5,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:547:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 547 | REORDER_SELF_SWAP_3(src_16,tmp,samples,6,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_dvdpcm.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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); | ^~~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) { | ^ command.c: In function 'mp_property_sub_forced_only': 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}, | ^~~~~~~~~~~~~ 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: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); | ^~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c:1888:62: warning: unused parameter 'mpctx' [-Wunused-parameter] 1888 | void *arg, MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_sub_scale': 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); | ^~~~~~~~~~~~~~~~~~~ command.c:1912:42: warning: unused parameter 'mpctx' [-Wunused-parameter] 1912 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_hwac3.c:34: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libaf/reorder_ch.c: In function 'reorder_self_4_step_1': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->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:627:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 627 | REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,6,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:630:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 630 | REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,8,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:633:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 633 | REORDER_SELF_SWAP_4_STEP_1(src_8,tmp,samples,5,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_raw.o libmpcodecs/vd_raw.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_sgi.o libmpcodecs/vd_sgi.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf.o libmpcodecs/vf.c 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}, | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_1bpp.o libmpcodecs/vf_1bpp.c 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}, | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_2xsai.o libmpcodecs/vf_2xsai.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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_blackframe.o libmpcodecs/vf_blackframe.c 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}, | ^~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~~~ 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) { | ^ 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}, | ^~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ...) | ~~~~~~^~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/pullup.c: In function 'print_aff_and_breaks': 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) | ~~~~~~~~~~~~~~~~~~~~~~~^ libmpcodecs/ad_hwac3.c: In function 'dts_syncinfo': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~~^~~~~ libaf/reorder_ch.c: In function 'reorder_self_4_step_2': libaf/reorder_ch.c:734:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 734 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libaf/reorder_ch.c: In function 'reorder_self_5_step_1': 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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: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/ad_internal.h:26, from libmpcodecs/ad_pcm.c:24: ./libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpcodecs/dec_audio.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': command.c: In function 'run_command': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ cfg-mplayer.h:361:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 361 | {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:362:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 362 | {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:363:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~ ./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) { | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./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; | ^~~~~~~~~~~~~~ ./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) { | ^~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~^~ ./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 || | ^~~~~~~~~~~~~~ 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, ...) | ~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.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:540:22: note: in expansion of macro 'MP_NOPTS_VALUE' 540 | if (start_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ 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) | ~~~~^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:807:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 807 | REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:815:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 815 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ mplayer.c: In function 'child_sighandler': libmpcodecs/ad_dvdpcm.c: In function 'uninit': libmpcodecs/mp_image.c: In function 'mp_image_setfmt': libmpcodecs/ad_dvdpcm.c:86:32: warning: unused parameter 'sh' [-Wunused-parameter] 86 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/mp_image.c:229:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | mpi->bpp=16; | ~~~~~~~~^~~ libmpcodecs/mp_image.c:230:5: note: here 230 | case IMGFMT_Y800: | ^~~~ libmpcodecs/mp_image.c:240:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 240 | mpi->flags|=MP_IMGFLAG_SWAPPED; mplayer.c:767:34: warning: unused parameter 'x' [-Wunused-parameter] 767 | static void child_sighandler(int x) | ~~~~^ libmpcodecs/mp_image.c:241:5: note: here 241 | case IMGFMT_YUY2: | ^~~~ libmpcodecs/mp_image.c:247:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 247 | mpi->flags|=MP_IMGFLAG_SWAPPED; 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/mp_image.c:248:5: note: here 248 | case IMGFMT_NV21: | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~^~~~~~ mplayer.c: In function 'load_per_extension_config': mplayer.c:912:75: warning: unused parameter 'file' [-Wunused-parameter] 912 | static void load_per_extension_config(m_config_t *conf, const char *const file) | ~~~~~~~~~~~~~~~~~~^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c libmpcodecs/ad_dvdpcm.c: In function 'init': 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: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_detc.o libmpcodecs/vf_detc.c libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:848:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 848 | REORDER_SELF_SWAP_5_STEP_1(src_32,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:857:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 857 | REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'saddf': mplayer.c:1161:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1161 | if (*pos >= len) { | ^~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/vd.c:32: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_2_3': libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:897:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 897 | REORDER_SELF_SWAP_2_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:904:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 904 | REORDER_SELF_SWAP_2_3(src_16,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:911:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 911 | for (i = 0; i < samples * 3; i += 18) { | ^ libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:940:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 940 | REORDER_SELF_SWAP_2_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:947:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 947 | REORDER_SELF_SWAP_2_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_3_3': mplayer.c: In function 'is_at_end': 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); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_pcm.c: In function 'uninit': libmpcodecs/ad_pcm.c:128:32: warning: unused parameter 'sh' [-Wunused-parameter] 128 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_pcm.c: In function 'control': libmpcodecs/ad_pcm.c:132:51: warning: unused parameter 'arg' [-Wunused-parameter] 132 | static int control(sh_audio_t *sh, int cmd, void *arg, ...) | ~~~~~~^~~ libmpcodecs/ad_pcm.c: In function 'decode_audio': ./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:1746:37: note: in expansion of macro 'MP_NOPTS_VALUE' 1746 | case END_AT_TIME: return pts != MP_NOPTS_VALUE && end_at->pos <= pts; | ^~~~~~~~~~~~~~ libmpcodecs/ad_pcm.c:150:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 150 | if (len > maxlen) | ^ mplayer.c: In function 'generate_video_frame': 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); | ^~~~~~~~~~~~~~~~~~~~~ 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; 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) { | ^ libmpcodecs/ad_pcm.c:75:5: note: here 75 | case 0x74776F73: // 'sowt' | ^~~~ ./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:1796:23: note: in expansion of macro 'MP_NOPTS_VALUE' 1796 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~^~~~~~~ libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 960 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1027:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3' 1027 | REORDER_SELF_SWAP_3_3(src_32,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:960:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 960 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1034:9: note: in expansion of macro 'REORDER_SELF_SWAP_3_3' 1034 | REORDER_SELF_SWAP_3_3(src_64,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'adjust_sync_and_print_status': libaf/reorder_ch.c: In function 'reorder_self_2_4': ./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:2070:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2070 | if (a_pts == MP_NOPTS_VALUE || v_pts == 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: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:2070:53: note: in expansion of macro 'MP_NOPTS_VALUE' 2070 | if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_hmblck.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/ad_hwmpa.c: In function 'decode_audio': libmpcodecs/dec_teletext.c: In function 'vbi_decode_dvb': 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) | ~~~~^~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=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: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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dint.o libmpcodecs/vf_dint.c libmpcodecs/dec_teletext.c:1575:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1575 | for (i = 0; i < sizeof(data); i++) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_divtc.o libmpcodecs/vf_divtc.c libmpcodecs/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) | ~~~~~~~~~~~~^~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_mpegpes.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=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: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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/dec_video.c: In function 'set_video_colors': 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': 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); | ^~~~~~~~~~~~~~~~~~~~~ ./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; | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_ass_use_margins': 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) { | ^ libmpcodecs/dec_video.c: In function 'init_video': In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_mtga.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/dec_video.c:229:66: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 229 | sh_video->bih ? ((unsigned int *) &sh_video->bih->biCompression) : NULL, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:1875:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1875 | if (!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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c:1877:5: note: here 1877 | case M_PROPERTY_STEP_UP: | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/dec_video.c: In function 'decode_video': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/dec_video.c:418:31: note: in expansion of macro 'MP_NOPTS_VALUE' 418 | if (correct_pts && pts != MP_NOPTS_VALUE | ^~~~~~~~~~~~~~ command.c:1879:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1879 | ass_force_reload = 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_down3dright.o libmpcodecs/vf_down3dright.c 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); | ^~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dsize.o libmpcodecs/vf_dsize.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/dec_video.c:471:29: note: in expansion of macro 'MP_NOPTS_VALUE' 471 | 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:472:32: note: in expansion of macro 'MP_NOPTS_VALUE' 472 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_dvbscale.c command.c:1880:5: note: here 1880 | default: | ^~~~~~~ mplayer.c: In function 'reinit_video_chain': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_eq.o libmpcodecs/vf_eq.c command.c: In function 'mp_property_sub_visibility': 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); | ^~~~~~~~~~~~~~~~~~~~~ ./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:2417:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2417 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c:1853:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1853 | if (!arg) | ^ 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); | ^~~~~~~~~~~~~~~~~~~~~ command.c:1855:5: note: here 1855 | case M_PROPERTY_STEP_UP: | ^~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_lzo.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': command.c:1858:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1858 | if (vo_spudec) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ mplayer.c: In function 'update_video': command.c:1860:5: note: here 1860 | default: | ^~~~~~~ command.c: In function 'mp_property_sub_alignment': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2532:30: note: in expansion of macro 'MP_NOPTS_VALUE' 2532 | if (sh_video->pts == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ 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: | ^~~~ ./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:2536:35: note: in expansion of macro 'MP_NOPTS_VALUE' 2536 | if (sh_video->last_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ command.c:1838:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1838 | vo_osd_changed(OSDTYPE_SUBTITLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ command.c:1839:5: note: here 1839 | default: | ^~~~~~~ command.c: In function 'mp_property_sub_pos': command.c:1437:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1437 | if (!arg) | ^ 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: | ^~~~~~~ libmpcodecs/vf_1bpp.c: In function 'vf_open': 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/vf_1bpp.c:189:45: warning: unused parameter 'args' [-Wunused-parameter] 189 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vd_mtga.c: In function 'control': 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_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, ...) | ~~~~~~~~~~~~^~ libmpcodecs/vd_hmblck.c: In function 'uninit': libmpcodecs/vd_hmblck.c:99:32: warning: unused parameter 'sh' [-Wunused-parameter] 99 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_hmblck.c: In function 'decode': libmpcodecs/vd_hmblck.c:104:65: warning: unused parameter 'flags' [-Wunused-parameter] 104 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ libmpcodecs/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) | ~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_2xsai.c: In function 'vf_open': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_expand.o libmpcodecs/vf_expand.c libmpcodecs/vf_2xsai.c:320:45: warning: unused parameter 'args' [-Wunused-parameter] 320 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vd_mtga.c: In function 'decode': libmpcodecs/vd_mtga.c:229:67: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 229 | if (last_w != info->width || last_h != info->height || last_c != out_fmt) | ^~ libmpcodecs/vd_mtga.c:193:67: warning: unused parameter 'flags' [-Wunused-parameter] 193 | static mp_image_t *decode(sh_video_t *sh, void *raw, int len, int flags) | ~~~~^~~~~ command.c: In function 'mp_property_vo_flag': libmpcodecs/vd_mpegpes.c: In function 'control': libmpcodecs/vd_mpegpes.c:44:32: warning: unused parameter 'sh' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpegpes.c:44:39: warning: unused parameter 'cmd' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_mpegpes.c:44:49: warning: unused parameter 'arg' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ libmpcodecs/vd_mpegpes.c: In function 'uninit': libmpcodecs/vd_mpegpes.c:54:32: warning: unused parameter 'sh' [-Wunused-parameter] 54 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ command.c:1213:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1213 | if (*vo_var == !!*(int *) arg) | ^ 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){ | ~~~~^~~~~ command.c:1216:5: note: here 1216 | case M_PROPERTY_STEP_UP: | ^~~~ libvo/vo_gl_tiled.c: In function 'initTextures': command.c: In function 'mp_property_fullscreen': 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) | ^~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_black.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': command.c:1067:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1067 | if (vo_fs == !!*(int *) 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_null.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': command.c:1070:5: note: here 1070 | case M_PROPERTY_STEP_UP: | ^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf.c: In function 'vf_get_image': libmpcodecs/vf.c:353:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 353 | if (!mpi) | ^~ libmpcodecs/vf.c:356:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 356 | mpi->type=mp_imgtype; | ^~~ command.c: In function 'mp_property_mute': libvo/vo_gl_tiled.c: In function 'initGl': command.c:740:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 740 | if (mpctx->edl_muted) { | ^ 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; | ^~~~~~~~~~~ command.c:744:5: note: here 744 | default: | ^~~~~~~ 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; | ^~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_field.o libmpcodecs/vf_field.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_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) | ~~~~^~~~~ 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) | ^ mplayer.c: In function 'main': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c 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) | ^ ./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:3306:23: note: in expansion of macro 'MP_NOPTS_VALUE' 3306 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c: In function 'run_command': libmpcodecs/vf.c: In function 'vf_config_wrapper': libmpcodecs/vf.c:653:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 653 | || (vf->fmt.orig_fmt != outfmt)) { | ^~ command.c:3445:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 3445 | if (sh_audio) | ^ command.c:3451:5: note: here 3451 | case MP_CMD_AF_ADD: | ^~~~ libmpcodecs/vf.c: In function 'vf_get_image': libmpcodecs/vf.c:325:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 325 | if(!(mp_imgflag&MP_IMGFLAG_READABLE)){ // B frame: | ^ libmpcodecs/vf.c:330:3: note: here 330 | case MP_IMGTYPE_IP: | ^~~~ 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, ...) | ~~~~~~~~~~~~^~ libvo/vo_gl_tiled.c: In function 'initGl': 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) | ~~~~~~~~~~~~^~~ libvo/vo_gl_tiled.c:566:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 566 | glBindTexture(GL_TEXTURE_2D, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~^~~ libvo/vo_gl_tiled.c:567:7: note: here 567 | case YUV_CONVERSION_FRAGMENT_POW: | ^~~~ 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){ | ~~~~~~^~~~ 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_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) | ~~~~^~~~~ mplayer.c:3539:41: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 3539 | 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/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,...){ | ~~~~~~^~~ libmpcodecs/vd_null.c: In function 'uninit': libmpcodecs/vd_null.c:50:32: warning: unused parameter 'sh' [-Wunused-parameter] 50 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_null.c: In function 'decode': libmpcodecs/vd_null.c:54:39: warning: unused parameter 'sh' [-Wunused-parameter] 54 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_null.c:54:48: warning: unused parameter 'data' [-Wunused-parameter] 54 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~~~^~~~ libmpcodecs/vd_null.c:54:57: warning: unused parameter 'len' [-Wunused-parameter] 54 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~ libmpcodecs/vd_null.c:54:65: warning: unused parameter 'flags' [-Wunused-parameter] 54 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ libmpcodecs/vd_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_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) | ~~~~^~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_detc.c:28: libmpcodecs/vf_detc.c: In function 'do_put_image': libmpcodecs/vd_raw.c: In function 'init': libmpcodecs/vd_raw.c:66:66: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 66 | return mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,sh->bih ? sh->bih->biCompression : sh->format); | ^~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vd_raw.c: In function 'uninit': ./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); | ^~~~~~~~~~~~~~ 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 | ^~ 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); | ^~~~~~~~~~~~~~ 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}}, | ^ libmpcodecs/vf_detc.c: In function 'put_image': libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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) | ~~~~~~~^~~ 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}}, | ^ 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) | ~~~~~~~^~~~~~ 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){ | ~~~~^~~~~ 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/vo_matrixview.c: In function 'draw_slice': libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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': 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 **} 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}}, | ^ In file included from libvo/vo_matrixview.c:38: /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 224 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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) | ~~~~^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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}}, | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~ libmpcodecs/vf_down3dright.c: In function 'config': 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}}, | ^ libmpcodecs/vf_down3dright.c:118:52: warning: unused parameter 'outfmt' [-Wunused-parameter] 118 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ 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}}, | ^ 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) { | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libmpcodecs/vf_detc.c:226:9: note: here 226 | case 0: | ^~~~ 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; | ^~~~~~~~ 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; | ^~~~~~~~ ./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:3746:28: note: in expansion of macro 'MP_NOPTS_VALUE' 3746 | if (seek_to_sec != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_fixpts.o libmpcodecs/vf_fixpts.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_format.o libmpcodecs/vf_format.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_framestep.o libmpcodecs/vf_framestep.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:3836:71: note: in expansion of macro 'MP_NOPTS_VALUE' 3836 | if (correct_pts && mpctx->sh_video->endpts != 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:3837:53: note: in expansion of macro 'MP_NOPTS_VALUE' 3837 | mpctx->sh_video->pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~~ ./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:3845:51: note: in expansion of macro 'MP_NOPTS_VALUE' 3845 | mpctx->sh_video->endpts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_crop.c: In function 'vf_open': libmpcodecs/vf_crop.c:157:45: warning: unused parameter 'args' [-Wunused-parameter] 157 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf_crop.c: In function 'config': libmpcodecs/vf_crop.c:62: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: | ^~~~~~~ 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) | ^~ 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) | ~~~~^~~ ./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:4026:36: note: in expansion of macro 'MP_NOPTS_VALUE' 4026 | if (seek_to_sec == MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ libmpcodecs/vf_divtc.c: In function 'checksum_plane': libmpcodecs/vf_divtc.c:144:69: warning: unused parameter 'z' [-Wunused-parameter] 144 | static unsigned int checksum_plane(unsigned char *p, unsigned char *z, | ~~~~~~~~~~~~~~~^ libmpcodecs/vf_divtc.c:145:61: warning: unused parameter 'zs' [-Wunused-parameter] 145 | int w, int h, int s, int zs, int arg) | ~~~~^~ libmpcodecs/vf_divtc.c:145:69: warning: unused parameter 'arg' [-Wunused-parameter] 145 | int w, int h, int s, int zs, int arg) | ~~~~^~~ libmpcodecs/vf_divtc.c: In function 'copyop': libmpcodecs/vf_divtc.c:192:101: warning: unused parameter 'dummy' [-Wunused-parameter] 192 | static int copyop(unsigned char *d, unsigned char *s, int bpl, int h, int dstride, int sstride, int dummy) { | ~~~~^~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_divtc.c:34: libmpcodecs/vf_divtc.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_divtc.c:376:48: note: in expansion of macro 'MP_NOPTS_VALUE' 376 | return vf_next_put_image(vf, tmpi, 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_divtc.c:376:64: note: in expansion of macro 'MP_NOPTS_VALUE' 376 | return vf_next_put_image(vf, tmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libvo/gl_common.c: In function 'getWindowVisualInfo': ./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_divtc.c:381:39: note: in expansion of macro 'MP_NOPTS_VALUE' 381 | 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_divtc.c:381:55: note: in expansion of macro 'MP_NOPTS_VALUE' 381 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_divtc.c:261:70: warning: unused parameter 'pts' [-Wunused-parameter] 261 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_divtc.c:261:82: warning: unused parameter 'endpts' [-Wunused-parameter] 261 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ libvo/gl_common.c:2242:12: warning: returning 'Visual *' from a function with incompatible return type 'XVisualInfo *' [-Wincompatible-pointer-types] 2242 | return DefaultVisual(mDisplay, 0); | ^~~~~~~~~~~~~ libmpcodecs/vf_eq2.c: In function 'put_image': 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)) { | ^~ libvo/gl_common.c: In function 'swapGlBuffers_x11': 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)) { | ^~ libvo/gl_common.c:2378:44: warning: unused parameter 'ctx' [-Wunused-parameter] 2378 | static void swapGlBuffers_x11(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'dummy_color': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_halfpack.o libmpcodecs/vf_halfpack.c libvo/gl_common.c:2481:44: warning: unused parameter 'r' [-Wunused-parameter] 2481 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_harddup.o libmpcodecs/vf_harddup.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c libvo/gl_common.c:2481:55: warning: unused parameter 'g' [-Wunused-parameter] 2481 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c:2481:66: warning: unused parameter 'b' [-Wunused-parameter] 2481 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c:2481:77: warning: unused parameter 'a' [-Wunused-parameter] 2481 | static void GLAPIENTRY dummy_color(GLubyte r, GLubyte g, GLubyte b, GLubyte a) { | ~~~~~~~~^ libvo/gl_common.c: In function 'dummy_texenvi': libvo/vo_gl.c: In function 'update_yuvconv': libvo/vo_gl.c:287:7: warning: missing initializer for field 'has_alpha_tex' of 'gl_conversion_params_t' [-Wmissing-field-initializers] 287 | stereo_mode == GL_3D_STIPPLE}; | ^~~~~~~~~~~ In file included from libvo/vo_gl.c:40: libvo/gl_common.h:165:7: note: 'has_alpha_tex' declared here 165 | int has_alpha_tex; | ^~~~~~~~~~~~~ libvo/gl_common.c:2484:45: warning: unused parameter 't' [-Wunused-parameter] 2484 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~~^ libvo/gl_common.c:2484:55: warning: unused parameter 'p' [-Wunused-parameter] 2484 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~~^ mplayer.c: In function 'exit_sighandler': mplayer.c:820:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 820 | mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGILL_RTCpuSel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:824:9: note: here 824 | case SIGFPE: | ^~~~ mplayer.c:826:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 826 | mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGSEGV_SIGFPE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/gl_common.c:2484:64: warning: unused parameter 'v' [-Wunused-parameter] 2484 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~^ mplayer.c:827:9: note: here 827 | default: | ^~~~~~~ mplayer.c: In function 'libmpdemux_was_interrupted': mplayer.c:1012:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1012 | run_command(mpctx, cmd); | ^~~~~~~~~~~~~~~~~~~~~~~ mplayer.c:1013:9: note: here 1013 | case MP_CMD_PLAY_TREE_STEP: | ^~~~ 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) { | ^~~~~~~~~~~~~~ libvo/vo_gl.c: In function 'draw_osd': ./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; | ^~~~~~~~~~~~~~ libvo/gl_common.c: In function 'swapGlBuffers_egl': 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; | ^~~~~~~~~~~ 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){ | ~~~~~~^~~~ libvo/gl_common.c:2642:44: warning: unused parameter 'ctx' [-Wunused-parameter] 2642 | static void swapGlBuffers_egl(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'setGlWindow_dummy': libvo/gl_common.c:2648:43: warning: unused parameter 'ctx' [-Wunused-parameter] 2648 | static int setGlWindow_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'releaseGlContext_dummy': 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; | ^~ libvo/gl_common.c:2655:49: warning: unused parameter 'ctx' [-Wunused-parameter] 2655 | static void releaseGlContext_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'swapGlBuffers_dummy': libvo/gl_common.c:2658:46: warning: unused parameter 'ctx' [-Wunused-parameter] 2658 | static void swapGlBuffers_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libmpcodecs/vf_format.c: In function 'config': libmpcodecs/vf_format.c:56:44: warning: unused parameter 'outfmt' [-Wunused-parameter] 56 | unsigned flags, unsigned outfmt){ | ~~~~~~~~~^~~~~~ libmpcodecs/vf_format.c: In function 'vf_open': libmpcodecs/vf_format.c:60:45: warning: unused parameter 'args' [-Wunused-parameter] 60 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libvo/gl_common.c: In function 'mpglcontext_create_window': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_hue.o libmpcodecs/vf_hue.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_il.o libmpcodecs/vf_il.c In file included from ./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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ilpack.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libvo/gl_common.c:2813:67: warning: passing argument 3 of 'glXChooseVisual' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2813 | ctx->vinfo.x11 = vinfo = glXChooseVisual(mDisplay, mScreen, stereo_glx_attribs); | ^~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 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 ); | ~~~~~^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_kerndeint.c 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_mirror.o libmpcodecs/vf_mirror.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_expand.c: In function 'draw_top_blackbar_slice': libmpcodecs/vf_expand.c:350:53: warning: unused parameter 'src' [-Wunused-parameter] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~~~~~~~~~~~~^~~ libmpcodecs/vf_expand.c:350:63: warning: unused parameter 'stride' [-Wunused-parameter] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~^~~~~~ libmpcodecs/vf_expand.c:350:75: warning: unused parameter 'w' [-Wunused-parameter] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ libmpcodecs/vf_expand.c:350:81: warning: unused parameter 'h' [-Wunused-parameter] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ libmpcodecs/vf_expand.c:350:88: warning: unused parameter 'x' [-Wunused-parameter] 350 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~^ libmpcodecs/vf_expand.c: In function 'draw_bottom_blackbar_slice': libmpcodecs/vf_expand.c:359:53: warning: unused parameter 'src' [-Wunused-parameter] 359 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~~~~~~~~~~~~^~~ libmpcodecs/vf_expand.c:359:63: warning: unused parameter 'stride' [-Wunused-parameter] 359 | unsigned char** src, int* stride, int w,int h, int x, int y){ | ~~~~~^~~~~~ libmpcodecs/vf_expand.c:359:75: warning: unused parameter 'w' [-Wunused-parameter] 359 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_noformat.o libmpcodecs/vf_noformat.c libmpcodecs/vf_expand.c:359:88: warning: unused parameter 'x' [-Wunused-parameter] 359 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_noise.o libmpcodecs/vf_noise.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ow.o libmpcodecs/vf_ow.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_phase.o libmpcodecs/vf_phase.c libmpcodecs/vf_expand.c: In function 'vf_open': libmpcodecs/vf_expand.c:477:45: warning: unused parameter 'args' [-Wunused-parameter] 477 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c libmpcodecs/vf_halfpack.c: In function 'config': libmpcodecs/vf_halfpack.c:195:52: warning: unused parameter 'outfmt' [-Wunused-parameter] 195 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pullup.o libmpcodecs/vf_pullup.c libmpcodecs/vf_filmdint.c: In function 'block_metrics_3dnow': libmpcodecs/vf_filmdint.c:449:36: warning: unused parameter 'a' [-Wunused-parameter] 449 | block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~~~~~~~~~~~~^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rectangle.o libmpcodecs/vf_rectangle.c libmpcodecs/vf_filmdint.c:449:54: warning: unused parameter 'b' [-Wunused-parameter] 449 | block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~~~~~~~~~~~~^ libmpcodecs/vf_filmdint.c:449:61: warning: unused parameter 'as' [-Wunused-parameter] 449 | block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~^~ libmpcodecs/vf_filmdint.c:449:69: warning: unused parameter 'bs' [-Wunused-parameter] 449 | block_metrics_3dnow(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_remove_logo.c libmpcodecs/vf_filmdint.c:450:25: warning: unused parameter 'lines' [-Wunused-parameter] 450 | int lines, struct vf_priv_s *p, struct frame_stats *s) | ~~~~^~~~~ libmpcodecs/vf_filmdint.c:450:50: warning: unused parameter 'p' [-Wunused-parameter] 450 | int lines, struct vf_priv_s *p, struct frame_stats *s) | ~~~~~~~~~~~~~~~~~~^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rgbtest.c libmpcodecs/vf_filmdint.c:450:73: warning: unused parameter 's' [-Wunused-parameter] 450 | int lines, struct vf_priv_s *p, struct frame_stats *s) | ~~~~~~~~~~~~~~~~~~~~^ libmpcodecs/vf_filmdint.c: In function 'block_metrics_mmx2': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rotate.o libmpcodecs/vf_rotate.c libmpcodecs/vf_filmdint.c:478:35: warning: unused parameter 'a' [-Wunused-parameter] 478 | block_metrics_mmx2(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~~~~~~~~~~~~^ libmpcodecs/vf_filmdint.c:478:53: warning: unused parameter 'b' [-Wunused-parameter] 478 | block_metrics_mmx2(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~~~~~~~~~~~~^ libmpcodecs/vf_filmdint.c:478:60: warning: unused parameter 'as' [-Wunused-parameter] 478 | block_metrics_mmx2(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c libmpcodecs/vf_filmdint.c:478:68: warning: unused parameter 'bs' [-Wunused-parameter] 478 | block_metrics_mmx2(unsigned char *a, unsigned char *b, int as, int bs, | ~~~~^~ libmpcodecs/vf_filmdint.c:479:24: warning: unused parameter 'lines' [-Wunused-parameter] 479 | int lines, struct vf_priv_s *p, struct frame_stats *s) | ~~~~^~~~~ libmpcodecs/vf_filmdint.c:479:49: warning: unused parameter 'p' [-Wunused-parameter] 479 | int lines, struct vf_priv_s *p, struct frame_stats *s) | ~~~~~~~~~~~~~~~~~~^ libmpcodecs/vf_filmdint.c:479:72: warning: unused parameter 's' [-Wunused-parameter] 479 | int lines, struct vf_priv_s *p, struct frame_stats *s) | ~~~~~~~~~~~~~~~~~~~~^ libmpcodecs/vf_filmdint.c: In function 'dint_copy_line_mmx2': libmpcodecs/vf_filmdint.c:608:36: warning: unused parameter 'dst' [-Wunused-parameter] 608 | dint_copy_line_mmx2(unsigned char *dst, unsigned char *a, long bos, | ~~~~~~~~~~~~~~~^~~ libmpcodecs/vf_filmdint.c:608:56: warning: unused parameter 'a' [-Wunused-parameter] 608 | dint_copy_line_mmx2(unsigned char *dst, unsigned char *a, long bos, | ~~~~~~~~~~~~~~~^ libmpcodecs/vf_filmdint.c:608:64: warning: unused parameter 'bos' [-Wunused-parameter] 608 | dint_copy_line_mmx2(unsigned char *dst, unsigned char *a, long bos, | ~~~~~^~~ libmpcodecs/vf_filmdint.c:609:26: warning: unused parameter 'cos' [-Wunused-parameter] 609 | long cos, int ds, int ss, int w, int t) | ~~~~~^~~ libmpcodecs/vf_filmdint.c:609:35: warning: unused parameter 'ds' [-Wunused-parameter] 609 | long cos, int ds, int ss, int w, int t) | ~~~~^~ libmpcodecs/vf_filmdint.c:609:43: warning: unused parameter 'ss' [-Wunused-parameter] 609 | long cos, int ds, int ss, int w, int t) | ~~~~^~ libmpcodecs/vf_filmdint.c:609:51: warning: unused parameter 'w' [-Wunused-parameter] 609 | long cos, int ds, int ss, int w, int t) | ~~~~^ libmpcodecs/vf_filmdint.c:609:58: warning: unused parameter 't' [-Wunused-parameter] 609 | long cos, int ds, int ss, int w, int t) | ~~~~^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_scale.o libmpcodecs/vf_scale.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c libmpcodecs/vf_ilpack.c: In function 'config': libmpcodecs/vf_ilpack.c:392:44: warning: unused parameter 'outfmt' [-Wunused-parameter] 392 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_filmdint.c: In function 'find_breaks': libmpcodecs/vf_filmdint.c:1025:22: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1025 | if (sad_comb_cmp == -2) | ^~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_ivtc.c:29: libmpcodecs/vf_ivtc.c: In function 'do_put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_ivtc.c:455:40: note: in expansion of macro 'MP_NOPTS_VALUE' 455 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_ivtc.c:455:56: note: in expansion of macro 'MP_NOPTS_VALUE' 455 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_filmdint.c:1058:22: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1058 | if (sad_comb_cmp == -1 && s->sad.temp < 64) | ^~ libmpcodecs/vf_ivtc.c: In function 'put_image': libmpcodecs/vf_ivtc.c:458:70: warning: unused parameter 'pts' [-Wunused-parameter] 458 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_ivtc.c:458:82: warning: unused parameter 'endpts' [-Wunused-parameter] 458 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c In file included from libmpcodecs/vf_gradfun.c:43: libmpcodecs/vf_gradfun.c:57:44: warning: 'pw_ff' defined but not used [-Wunused-const-variable=] 57 | DECLARE_ALIGNED(16, static const uint16_t, pw_ff)[8] = {255,255,255,255,255,255,255,255}; | ^~~~~ ./mpmem.h:37:73: note: in definition of macro 'DECLARE_ALIGNED' 37 | #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v | ^ libmpcodecs/vf_gradfun.c:56:44: warning: 'pw_7f' defined but not used [-Wunused-const-variable=] 56 | DECLARE_ALIGNED(16, static const uint16_t, pw_7f)[8] = {127,127,127,127,127,127,127,127}; | ^~~~~ ./mpmem.h:37:73: note: in definition of macro 'DECLARE_ALIGNED' 37 | #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_telecine.o libmpcodecs/vf_telecine.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_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; | ^~~~~~~~~~~~~~ ./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; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_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: | ^~~~~~~ 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){ | ~~~~~~^~~~ libmpcodecs/vf_remove_logo.c: In function 'calculate_bounding_rectangle': libmpcodecs/vf_remove_logo.c:204:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 204 | for (start_x = 0; start_x < filter->width && !did_we_find_a_logo_pixel; start_x++) | ^ libmpcodecs/vf_remove_logo.c:206:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 206 | for (y = 0; y < filter->height; y++) | ^ libmpcodecs/vf_remove_logo.c:217:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (y = 0; y < filter->height; y++) | ^ libmpcodecs/vf_remove_logo.c:226:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 226 | for (start_y = 0; start_y < filter->height && !did_we_find_a_logo_pixel; start_y++) | ^ libmpcodecs/vf_remove_logo.c:228:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 228 | for (x = 0; x < filter->width; x++) | ^ libmpcodecs/vf_mirror.c: In function 'vf_open': 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_mirror.c:116:45: warning: unused parameter 'args' [-Wunused-parameter] 116 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ 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) | ~~~~^~~~~~~ libmpcodecs/vf_remove_logo.c: In function 'convert_mask_to_strength_mask': In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_phase.c:29: libmpcodecs/vf_phase.c: In function 'put_image': 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++) | ^ ./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); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_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_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_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_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_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) | ~~~~~~~^~~~~~ 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++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c libmpcodecs/vf_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 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) | ~~~~~~~^~~~~~ libmpcodecs/vf_remove_logo.c: In function 'generate_half_size_image': libmpcodecs/vf_remove_logo.c:616:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 616 | for (y = 0; y < new_pgm->height; y++) | ^ libmpcodecs/vf_remove_logo.c:617:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 617 | for (x = 0; x < new_pgm->width; x++) | ^ libmpcodecs/vf_remove_logo.c:632:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 632 | for (x = 0; x < new_pgm->height * new_pgm->width; x++, current_pixel++) | ^ libmpcodecs/vf_remove_logo.c:646:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 646 | for (y = 1; y < new_pgm->height - 1; y++) | ^ libmpcodecs/vf_remove_logo.c:648:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | for (x = 1; x < new_pgm->width - 1; x++) | ^ libmpcodecs/vf_remove_logo.c:664:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 664 | for (y = 1; y < new_pgm->height - 1; y++) | ^ libmpcodecs/vf_remove_logo.c:666:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 666 | for (x = 1; x < new_pgm->width - 1; x++) | ^ libmpcodecs/vf_remove_logo.c: In function 'config': libmpcodecs/vf_remove_logo.c:696:126: warning: unused parameter 'outfmt' [-Wunused-parameter] 696 | static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_remove_logo.c: In function 'put_image': libmpcodecs/vf_remove_logo.c:785:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 785 | if (vf->priv->filter->width != mpi->w || vf->priv->filter->height != mpi->h) | ^~ libmpcodecs/vf_remove_logo.c:785:71: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 785 | if (vf->priv->filter->width != mpi->w || vf->priv->filter->height != mpi->h) | ^~ 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; | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c 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) | ~~~~~~^~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_softpulldown.c:28: libmpcodecs/vf_softpulldown.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:64:42: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:64:58: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:100:43: note: in expansion of macro 'MP_NOPTS_VALUE' 100 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:100:59: note: in expansion of macro 'MP_NOPTS_VALUE' 100 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:103:47: note: in expansion of macro 'MP_NOPTS_VALUE' 103 | ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_softpulldown.c:103:63: note: in expansion of macro 'MP_NOPTS_VALUE' 103 | ret |= vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_softpulldown.c:38:70: warning: unused parameter 'pts' [-Wunused-parameter] 38 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_softpulldown.c:38:82: warning: unused parameter 'endpts' [-Wunused-parameter] 38 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ libmpcodecs/vf_softpulldown.c: In function 'vf_open': libmpcodecs/vf_softpulldown.c:145:45: warning: unused parameter 'args' [-Wunused-parameter] 145 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ libmpcodecs/vf_pp7.c:210:18: warning: 'thres' defined but not used [-Wunused-const-variable=] 210 | static const int thres[16]={ | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aviprint.o libmpdemux/aviprint.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from ./libmpdemux/stheader.h:22, from libmpcodecs/vd.h:25, from libmpcodecs/vf_stereo3d.c:32: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = 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_telecine.c:66:43: note: in expansion of macro 'MP_NOPTS_VALUE' 66 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:66:59: note: in expansion of macro 'MP_NOPTS_VALUE' 66 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:80:44: note: in expansion of macro 'MP_NOPTS_VALUE' 80 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:80:60: note: in expansion of macro 'MP_NOPTS_VALUE' 80 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) || ret; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:95:43: note: in expansion of macro 'MP_NOPTS_VALUE' 95 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_telecine.c:95:59: note: in expansion of macro 'MP_NOPTS_VALUE' 95 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ 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) | ~~~~~~~^~~ 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) | ~~~~~~~^~~~~~ libmpcodecs/vf_test.c: In function 'config': libmpcodecs/vf_test.c:52:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 52 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ 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){ | ~~~~~~^~~~ 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){ | ~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_tinterlace.c:30: libmpcodecs/vf_tinterlace.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:79:47: note: in expansion of macro 'MP_NOPTS_VALUE' 79 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:79:63: note: in expansion of macro 'MP_NOPTS_VALUE' 79 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:84:46: note: in expansion of macro 'MP_NOPTS_VALUE' 84 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:84:62: note: in expansion of macro 'MP_NOPTS_VALUE' 84 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:88:46: note: in expansion of macro 'MP_NOPTS_VALUE' 88 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:88:62: note: in expansion of macro 'MP_NOPTS_VALUE' 88 | ret = vf_next_put_image(vf, mpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:119:43: note: in expansion of macro 'MP_NOPTS_VALUE' 119 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:119:59: note: in expansion of macro 'MP_NOPTS_VALUE' 119 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:169:47: note: in expansion of macro 'MP_NOPTS_VALUE' 169 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tinterlace.c:169:63: note: in expansion of macro 'MP_NOPTS_VALUE' 169 | ret = vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_tinterlace.c:40:70: warning: unused parameter 'pts' [-Wunused-parameter] 40 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_tinterlace.c:40:82: warning: unused parameter 'endpts' [-Wunused-parameter] 40 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ In file included from libmpcodecs/vf_tfields.c:31: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_stereo3d.c: At top level: libmpcodecs/vf_stereo3d.c:138:3: warning: missing initializer for field 'width' of 'component' [-Wmissing-field-initializers] 138 | {SIDE_BY_SIDE_LR}, | ^ libmpcodecs/vf_stereo3d.c:70:18: note: 'width' declared here 70 | unsigned int width; | ^~~~~ libmpcodecs/vf_stereo3d.c:139:3: warning: missing initializer for field 'width' of 'component' [-Wmissing-field-initializers] 139 | {ANAGLYPH_RC_DUBOIS} | ^ libmpcodecs/vf_stereo3d.c:70:18: note: 'width' declared here 70 | unsigned int width; | ^~~~~ libmpcodecs/vf_stereo3d.c:140:1: warning: missing initializer for field 'ana_matrix' of 'const struct vf_priv_s' [-Wmissing-field-initializers] 140 | }; | ^ libmpcodecs/vf_stereo3d.c:133:9: note: 'ana_matrix' declared here 133 | int ana_matrix[3][6]; | ^~~~~~~~~~ libmpcodecs/vf_tfields.c: In function 'put_image': libmpcodecs/vf_tfields.c:331:82: warning: unused parameter 'endpts' [-Wunused-parameter] 331 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ libmpcodecs/vf_tfields.c: In function 'continue_buffered_image': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tfields.c:395:78: note: in expansion of macro 'MP_NOPTS_VALUE' 395 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ 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++) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ libmpcodecs/vf_stereo3d.c: In function 'vf_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 | ^~ 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_stereo3d.c:403:45: warning: unused parameter 'args' [-Wunused-parameter] 403 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ libmpcodecs/vf_scale.c: At top level: 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_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: | ^~~~ libmpcodecs/vf_tile.c: In function 'config': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_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, | ~~~~^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_audio.o libmpdemux/demux_audio.c 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_scale.c: In function 'scale': 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_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 **} 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: | ^~~~ In file included from libmpcodecs/vf_scale.c:36: /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 224 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 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_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 **} 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; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 224 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libmpcodecs/vf_stereo3d.c:242:5: note: here 242 | case ABOVE_BELOW_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:247:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 247 | d_height /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:248:5: note: here 248 | case ABOVE_BELOW_RL: | ^~~~ 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 **} /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 224 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ libmpcodecs/vf_scale.c: In function 'draw_slice': 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){ | ~~~~^ 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){ | ~~~~^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c In file included from ./mpcommon.h:25, from libmpcodecs/vf_vo.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_scale.c: In function 'vf_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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_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 */ | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_yuvcsp.c: In function 'query_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_yuvcsp.c:90:45: warning: unused parameter 'vf' [-Wunused-parameter] 90 | static int query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/vf_yuvcsp.c: In function 'vf_open': libmpcodecs/vf_yuvcsp.c:100:45: warning: unused parameter 'args' [-Wunused-parameter] 100 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mov.o libmpdemux/demux_mov.c libmpcodecs/vf_yvu9.c: In function 'config': libmpcodecs/vf_yvu9.c:38:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 38 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_yvu9.c: In function 'vf_open': libmpcodecs/vf_yvu9.c:89:45: warning: unused parameter 'args' [-Wunused-parameter] 89 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_nsv.o libmpdemux/demux_nsv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_pva.o libmpdemux/demux_pva.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c 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': 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 | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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 | ^~ 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); | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviprint.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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/asfheader.c: In function 'read_meta_record': libmpdemux/asfheader.c:237:32: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 237 | #define CHECKDEC(l, n) if ((l) < (n)) return 0; (l) -= (n) | ^ libmpdemux/asfheader.c:251:3: note: in expansion of macro 'CHECKDEC' 251 | CHECKDEC(*buf_len, dest->data_length); | ^~~~~~~~ libmpdemux/asfheader.c: In function 'is_drm': libmpdemux/asfheader.c:237:32: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 237 | #define CHECKDEC(l, n) if ((l) < (n)) return 0; (l) -= (n) | ^ libmpdemux/asfheader.c:314:3: note: in expansion of macro 'CHECKDEC' 314 | CHECKDEC(buf_len, data_len); | ^~~~~~~~ libmpdemux/asfheader.c:237:32: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 237 | #define CHECKDEC(l, n) if ((l) < (n)) return 0; (l) -= (n) | ^ libmpdemux/asfheader.c:319:3: note: in expansion of macro 'CHECKDEC' 319 | CHECKDEC(buf_len, 4 + type_len + 4); | ^~~~~~~~ libmpdemux/asfheader.c:237:32: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 237 | #define CHECKDEC(l, n) if ((l) < (n)) return 0; (l) -= (n) | ^ libmpdemux/asfheader.c:327:3: note: in expansion of macro 'CHECKDEC' 327 | CHECKDEC(buf_len, key_len + 4); | ^~~~~~~~ libmpdemux/asfheader.c:237:32: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 237 | #define CHECKDEC(l, n) if ((l) < (n)) return 0; (l) -= (n) | ^ libmpdemux/asfheader.c:335:3: note: in expansion of macro 'CHECKDEC' 335 | CHECKDEC(buf_len, url_len); | ^~~~~~~~ libmpdemux/asfheader.c: In function 'asf_init_audio_stream': libmpdemux/asfheader.c:347:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 347 | if (pos > hdr_len) return 0; | ^ libmpdemux/asfheader.c:356:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 356 | if (pos + 5 > hdr_len) return 0; | ^ In file included from libmpdemux/demux_aac.c:28: libmpdemux/demuxer.h: In function 'new_demux_packet': 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 pos, uint8_t* buffer, unsigned hdr_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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/asfheader.c: In function 'read_asf_header': libmpdemux/asfheader.c:462:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 462 | if (streamh->type_size > hdr_len) goto len_err_out; | ^ libmpdemux/asfheader.c:491:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 491 | if (streamh->type_size > hdr_len) goto len_err_out; | ^ libmpdemux/asfheader.c:492:38: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 492 | if (pos + streamh->type_size > hdr_len) goto len_err_out; | ^ libmpdemux/aviprint.c: In function 'print_video_header': libmpdemux/aviprint.c:119:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 119 | if (h->biSize > sizeof(*h)) | ^ libmpdemux/asfheader.c:493:32: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 493 | if (streamh->type_size < bih_start) goto len_err_out; | ^ libmpdemux/aviprint.c:124:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 124 | for (i = 0; i < h->biSize-sizeof(*h); i++) | ^ libmpdemux/aviprint.c: In function 'print_vprp': libmpdemux/asfheader.c:500:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 500 | if (sh_video->bih->biSize > len && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ libmpdemux/aviprint.c:142:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 142 | for (i=0; inbFieldPerFrame; i++) { | ^ libmpdemux/asfheader.c:500:66: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 500 | if (sh_video->bih->biSize > len && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_rawvideo.o libmpdemux/demux_rawvideo.c In file included from libmpdemux/demux_avi.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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_realaud.o libmpdemux/demux_realaud.c libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_real.o libmpdemux/demux_real.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_roq.o libmpdemux/demux_roq.c libmpdemux/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 'unsigned int' [-Wsign-compare] 277 | if (sh_video->bih->biSize > chunksize && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_smjpeg.o libmpdemux/demux_smjpeg.c In file included from libmpdemux/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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = 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++) { | ^ In file included from libmpdemux/demux_mkv.c:32: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=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.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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++) | ^ In file included from libmpdemux/demux_mov.c:54: ./loader/qtx/qtxsdk/components.h: In function 'dump_ImageDescription': In file included from libmpdemux/demux_fli.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': 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.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./loader/qtx/qtxsdk/components.h:706:18: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 706 | if(id->idSize>sizeof(ImageDescription)){ | ^ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./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 'unsigned int' [-Wsign-compare] 762 | for(i=0;iwantedDestinationPixelTypes; | ^~ 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++) { | ^ In file included from libmpdemux/demux_film.c:37: libmpdemux/demuxer.h: In function 'new_demux_packet': 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpdemux/asfheader.h:23, from libmpdemux/demux_asf.c:33: 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_ts.o libmpdemux/demux_ts.c libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_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_mf.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': 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 'unsigned int' [-Wsign-compare] 547 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_audio.c:547:48: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 547 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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/demux_avi.c: In function 'demux_avi_fill_buffer': libmpdemux/demux_avi.c:234:68: warning: unused parameter 'dsds' [-Wunused-parameter] 234 | static int demux_avi_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ | ~~~~~~~~~~~~~~~~^~~~ 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_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_avi.c: In function 'demux_open_avi': libmpdemux/demux_avi.c:483:38: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'off_t' {aka 'long long int'} [-Wsign-compare] 483 | if((AVI_IDX_OFFSET(priv->idx + 0)movi_start || | ^ libmpdemux/demux_audio.c: In function 'demux_audio_seek': libmpdemux/demux_avi.c:484:38: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'off_t' {aka 'long long int'} [-Wsign-compare] 484 | AVI_IDX_OFFSET(priv->idx + 1)movi_start )&& !priv->isodml) | ^ 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/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){ | ~~~~~~~~~~~~~~~^~~ 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) | ^~~~~~~~~~~~~~ libmpdemux/demux_avi.c:521:24: warning: absolute value function 'abs' given an argument of type 'off_t' {aka 'long long int'} but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 521 | if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB | ^~~ In file included from libmpdemux/demux_pva.c:40: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'get_payload_extension_data': libmpdemux/demux_asf.c:330:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 330 | if (payload_time != -1) | ^~ 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]); | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 libmpdemux/demux_asf.c:470:24: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 470 | if (rlen < 0 || rlen > p_end - p) { | ^ libmpdemux/demux_asf.c:470:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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/demux_film.c: In function 'demux_seek_film': libmpdemux/demux_film.c:64:76: warning: unused parameter 'audio_delay' [-Wunused-parameter] 64 | static void demux_seek_film(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_film.c: In function 'demux_film_fill_buffer': libmpdemux/demux_film.c: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_asf.c:342:68: warning: unused parameter 'ds' [-Wunused-parameter] 342 | static int demux_asf_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_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_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){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mf.c: In function 'demux_seek_mf': libmpdemux/demux_mf.c:37:72: warning: unused parameter 'audio_delay' [-Wunused-parameter] 37 | static void demux_seek_mf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mf.c: In function 'demux_mf_fill_buffer': libmpdemux/demux_mf.c:52:69: warning: unused parameter 'ds' [-Wunused-parameter] 52 | static int demux_mf_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mkv.c: In function 'grow_array': In file included from libmpdemux/demux_mov.c:61: libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from ./mpcommon.h:25, from libmpdemux/demux_mpg.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_lmlm4.c: In function 'demux_lmlm4_fill_buffer': libmpdemux/demux_mkv.c:209:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 209 | if (nelem > UINT_MAX / elsize - 32) | ^ 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_fli.c: In function 'demux_seek_fli': libmpdemux/demux_fli.c:41:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] 41 | static void demux_seek_fli(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_fli.c: In function 'demux_fli_fill_buffer': libmpdemux/demux_fli.c:60:70: warning: unused parameter 'ds' [-Wunused-parameter] 60 | static int demux_fli_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mkv.c: In function 'aac_get_sample_rate_index': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_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_mkv.c: In function 'demux_mkv_decode': libmpdemux/demux_mkv.c:358:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 358 | if (dstlen > SIZE_MAX - padding) | ^ 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/demux_mkv.c:377:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 377 | if (dstlen > (SIZE_MAX - padding)/2) | ^ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_vqf.o libmpdemux/demux_vqf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/ebml.o libmpdemux/ebml.c 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/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) | ~~~~~~~~~~~~~~~~^~ 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/demuxer.c: In function 'new_sh_audio_aid': 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.c:347:19: note: in expansion of macro 'MP_NOPTS_VALUE' 347 | sh->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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/extension.o libmpdemux/extension.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mf.o libmpdemux/mf.c 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_mpg.c: In function 'new_audio_stream': libmpdemux/demux_mpg.c:287:19: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 287 | else sh_a->format=0x2000;break; // ac3 | ^~~~ libmpdemux/demux_mpg.c:287:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 287 | else sh_a->format=0x2000;break; // ac3 | ^~~~~ libmpdemux/demuxer.c: In function 'ds_fill_buffer': libmpdemux/demux_mpg.c: In function 'demux_mpg_read_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_mpg.c:306:23: note: in expansion of macro 'MP_NOPTS_VALUE' 306 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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/demux_mkv.c: In function 'demux_mkv_read_seekhead': libmpdemux/demux_mkv.c:1329:36: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1329 | mkv_d->parsed_seekhead_num > SIZE_MAX/sizeof(off_t)) | ^ 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/demux_mpg.c:569:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 569 | if(priv->es_map[id - 0x1B0]) | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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; | ^~~~~~~~~~~~~~ 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/demuxer.h:98:29: warning: left shift of negative value [-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/demux_nsv.c: In function 'demux_seek_nsv': libmpdemux/demux_nsv.c:52:41: warning: unused parameter 'demuxer' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_nsv.c:52:56: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~^~~~~~~~~~~~~ libmpdemux/demux_nsv.c:52:77: warning: unused parameter 'audio_delay' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_nsv.c:52:94: warning: unused parameter 'flags' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~^~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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/demuxer.h:98:29: warning: left shift of negative value [-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/demux_mpg.c:303:22: warning: variable 'dts' set but not used [-Wunused-but-set-variable] 303 | unsigned long long dts=0; | ^~~ 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 ) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mpg.c:298:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 298 | int d; | ^ 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.c:942:54: 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.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=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.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:964:20: note: in expansion of macro 'MP_NOPTS_VALUE' 964 | 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:971:20: note: in expansion of macro 'MP_NOPTS_VALUE' 971 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mpg.c: In function 'demux_mpg_probe': libmpdemux/demux_mov.c: In function 'mov_build_index': 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/demuxer.h:98:29: warning: left shift of negative value [-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; | ^~~~~~~~~~~~~~ libmpdemux/demux_mpg.c:688:7: warning: variable 'pes' set but not used [-Wunused-but-set-variable] 688 | int pes=1; | ^~~ 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_mpg.c: In function 'demux_mpg_es_fill_buffer': libmpdemux/demux_mov.c:311:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 311 | if(ptssamples[sample].pts) break; | ^ libmpdemux/demux_mpg.c:754:71: warning: unused parameter 'ds' [-Wunused-parameter] 754 | static int demux_mpg_es_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mpg.c: In function 'demux_mpg_fill_buffer': libmpdemux/demux_mpg.c:870:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'off_t' {aka 'long long int'} [-Wsign-compare] 870 | if (end_pos && end_pos < demux->filepos) | ^ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_mov.c: In function 'gen_sh_audio': libmpdemux/demux_mov.c:636:46: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 636 | if(trak->editlist[0].pos == -1) { | ^~ libmpdemux/demuxer.c: In function 'demux_seek': libmpdemux/demux_mpg.c: In function 'demux_seek_mpg': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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/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) | ~~~~~~^~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->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.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:1543:32: note: in expansion of macro 'MP_NOPTS_VALUE' 1543 | if (demuxer->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:1545:43: note: in expansion of macro 'MP_NOPTS_VALUE' 1545 | else if (sh_video && sh_video->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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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.c:1547:43: note: in expansion of macro 'MP_NOPTS_VALUE' 1547 | else if (sh_audio && sh_audio->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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_mov.c: In function 'gen_sh_video': libmpdemux/demux_mkv.c: In function 'demux_mkv_open_audio': libmpdemux/demux_mov.c:966:46: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 966 | if(trak->editlist[0].pos == -1) { | ^~ 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:1899:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1899 | if (flavor < FF_ARRAY_ELEMS(atrc_fl2bps)) | ^ 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_mkv.c:1908:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1908 | if (flavor < FF_ARRAY_ELEMS(cook_fl2bps)) | ^ libmpdemux/demux_ty_osd.c: In function 'ty_drawchar': libmpdemux/demux_ty_osd.c:155:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 155 | if ( TY_CC_ptr - TY_CC_buf > sizeof( TY_CC_buf ) - 1 ) | ^ 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){ | ~~~~~~^~~~~~~~~~~ In file included from libmpdemux/demux_smjpeg.c:34: libmpdemux/demuxer.h: In function 'new_demux_packet': 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:228:9: note: 'control' declared here 228 | int (*control)(struct demuxer *demuxer, int cmd, void *arg); ///< Optional | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:1917:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1917 | if (flavor < FF_ARRAY_ELEMS(sipr_fl2bps)) | ^ libmpdemux/demux_realaud.c: In function 'demux_ra_fill_buffer': libmpdemux/demux_realaud.c:90:69: warning: unused parameter 'dsds' [-Wunused-parameter] 90 | static int demux_ra_fill_buffer(demuxer_t *demuxer, demux_stream_t *dsds) | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_mov.c:1257:47: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1257 | if (trak->stream_header_len > 0xffffffff - sizeof(*sh->bih)) { | ^ libmpdemux/demux_ty_osd.c: In function 'ty_processuserdata': 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; | ^~ libmpdemux/demux_ty_osd.c:865:56: warning: unused parameter 'len' [-Wunused-parameter] 865 | void ty_processuserdata( const unsigned char* buf, int len ) | ~~~~^~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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/demux_mov.c: In function 'lschunks': 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_mov.c:1544:25: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1544 | char *text = malloc(text_len+2+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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_mkv.c: In function 'demux_mkv_read_block_lacing': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_mkv.c:2291:51: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2291 | if (num == EBML_UINT_INVALID || *size < l) goto err_out; | ^ 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mkv.c:2299:55: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] 2299 | if (snum == EBML_INT_INVALID || *size < l) goto err_out; | ^ libmpdemux/demux_mkv.c: In function 'handle_subtitles': libmpdemux/demux_mkv.c:2320:63: warning: unused parameter 'track' [-Wunused-parameter] 2320 | static void handle_subtitles(demuxer_t *demuxer, mkv_track_t *track, | ~~~~~~~~~~~~~^~~~~ 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) | ~~~~~~~~~~~^~~~~~~ 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 '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 'unsigned int' [-Wsign-compare] 275 | if (priv->index_table_size[stream_id] >= MAX_INDEX_ENTRIES) { | ^~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/parse_es.o libmpdemux/parse_es.c 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) | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c 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_mov.c: In function 'demux_mov_fill_buffer': 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; | ^~~~~~~~~~~~~~~~~~ libmpdemux/demux_roq.c: In function 'demux_open_roq': libmpdemux/demux_roq.c:123:9: warning: unused variable 'chunk_arg' [-Wunused-variable] 123 | int chunk_arg = stream_read_word_le(demuxer->stream); | ^~~~~~~~~ libmpdemux/demux_real.c: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/demux_mov.c:2215:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2215 | } else | ^~~~ libmpdemux/demux_mov.c:2218:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2218 | ++trak->pos; | ^~ In file included from libmpdemux/demux_y4m.c:36: libmpdemux/demuxer.h: In function 'new_demux_packet': 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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/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_mov.c: In function 'mov_seek_track': In file included from libmpdemux/demux_vqf.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_real.c:881:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 881 | if (audioreorder_getnextpk) | ^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mov.c:2257:72: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 2257 | while(trak->poschunks_size && trak->chunks[trak->pos].samplepos; | ^ 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/extension.c: In function 'demuxer_type_by_filename': libmpdemux/extension.c:103:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 103 | for( i=0 ; i<(sizeof(extensions_table)/sizeof(extensions_table[0])) ; i++ ) { | ^ libmpdemux/demux_mkv.c: In function 'demux_mkv_fill_buffer': 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_mkv.c:2709:70: warning: unused parameter 'ds' [-Wunused-parameter] 2709 | static int demux_mkv_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mov.c: In function 'demux_seek_mov': libmpdemux/demux_real.c:1016:33: warning: comparison of integer expressions of different signedness: 'int' and '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_mov.c:2290:63: warning: unused parameter 'audio_delay' [-Wunused-parameter] 2290 | static void demux_seek_mov(demuxer_t *demuxer,float pts,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_vqf.c: In function 'demux_open_vqf': libmpdemux/demux_vqf.c:79:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 79 | if(stream_read(s,buf,chunk_size)!=chunk_size) return NULL; | ^~ libmpdemux/demux_real.c:1039:29: warning: comparison of integer expressions of different signedness: 'int' and '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_vqf.c: In function 'demux_seek_vqf': 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_vqf.c:207:39: warning: unused parameter 'demuxer' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_vqf.c:207:53: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~~~ libmpdemux/demux_vqf.c:207:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_vqf.c:207:89: warning: unused parameter 'flags' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~^~~~~ libmpdemux/demux_vqf.c: In function 'demux_close_vqf': libmpdemux/demux_vqf.c:224:40: warning: unused parameter 'demuxer' [-Wunused-parameter] 224 | static void demux_close_vqf(demuxer_t* demuxer) {} | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_mkv.c: In function 'demux_mkv_seek': libmpdemux/demux_mkv.c:2853:34: warning: unused parameter 'audio_delay' [-Wunused-parameter] 2853 | float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/video.o libmpdemux/video.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/getch2.o osdep/getch2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/timer-linux.o osdep/timer-linux.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 'unsigned int' [-Wsign-compare] 381 | if ( readSize >= sizeof( TMF_SIG ) && | ^~ libmpdemux/demux_real.c: In function 'demux_open_real': 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_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; | ^~~~~ 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_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_ty.c:333:68: warning: unused parameter 'dsds' [-Wunused-parameter] 333 | static int demux_ty_fill_buffer( demuxer_t *demux, demux_stream_t *dsds ) | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_ty.c: In function 'demux_seek_ty': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ty.c:730:28: note: in expansion of macro 'MP_NOPTS_VALUE' 730 | tivo->lastAudioPTS = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ty.c:731:28: note: in expansion of macro 'MP_NOPTS_VALUE' 731 | tivo->lastVideoPTS = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_mkv.c: In function 'demux_mkv_open': libmpdemux/demux_mov.c: In function 'mov_check_file': 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, | ~~~~^~ libmpdemux/demux_mov.c:503:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 503 | if(flags&2) break; | ^ 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:504:9: note: here 504 | case MOV_FOURCC('m','d','a','t'): | ^~~~ libmpdemux/demux_mkv.c:2107:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 2107 | cont = 1; | ~~~~~^~~ libmpdemux/demux_ts.c: In function 'fill_packet': libmpdemux/demux_viv.c: In function 'demux_vivo_fill_buffer': libmpdemux/demux_viv.c:303:69: warning: unused parameter 'dsds' [-Wunused-parameter] 303 | static int demux_vivo_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ | ~~~~~~~~~~~~~~~~^~~~ libmpdemux/demux_mkv.c:2109:9: note: here 2109 | case EBML_ID_VOID: | ^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative 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; | ^~~~~~~~~~~~~~ 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_real.c: In function 'demux_seek_real': libmpdemux/mf.c: In function 'init_mf_from_glob_pattern': libmpdemux/demux_real.c:1903:76: warning: unused parameter 'audio_delay' [-Wunused-parameter] 1903 | static void demux_seek_real(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/mf.c:125:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 125 | for( i=0;i < gg.gl_pathc;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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/open.o stream/open.c libmpdemux/demux_ts.c: In function 'ts_parse': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream.o stream/stream.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_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_ts.c: In function 'reset_fifos': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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/demuxer.h:98:29: warning: left shift of negative 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_file.o stream/stream_file.c libmpdemux/demux_ts.c: In function 'demux_seek_ts': libmpdemux/demux_ts.c:3256:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] 3256 | static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_ts.c: In function 'demux_ts_fill_buffer': libmpdemux/demux_ts.c:3351:70: warning: unused parameter 'ds' [-Wunused-parameter] 3351 | static int demux_ts_fill_buffer(demuxer_t * demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ In file included from libmpdemux/parse_es.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_mf.o stream/stream_mf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_null.o stream/stream_null.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/url.o stream/url.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/eosd.o sub/eosd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/find_sub.o sub/find_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/osd.o sub/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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/spudec.o sub/spudec.c In file included from libmpdemux/video.c:35: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/ai_oss.o stream/ai_oss.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/video.c: In function 'video_read_frame': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:632:32: note: in expansion of macro 'MP_NOPTS_VALUE' 632 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:651:34: note: in expansion of macro 'MP_NOPTS_VALUE' 651 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:660:35: note: in expansion of macro 'MP_NOPTS_VALUE' 660 | double d = (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts - pts1; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~~ 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) { | ^~ stream/stream_cue.c: In function 'cue_read': stream/stream_cue.c:557:58: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 557 | if(read(fd_bin, mem, tracks[track].sector_data_length) != tracks[track].sector_data_length) { | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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_cue.c:534:54: warning: unused parameter 'size' [-Wunused-parameter] 534 | static int cue_read(stream_t *stream, char *mem, int 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cdinfo.o stream/cdinfo.c stream/stream_cue.c: In function 'open_s': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_cddb.o stream/stream_cddb.c stream/stream_cue.c:608:63: warning: unused parameter 'file_format' [-Wunused-parameter] 608 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/dvb_tune.o stream/dvb_tune.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvb.o stream/stream_dvb.c 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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); | ^~~~ 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 'unsigned int'} [-Wsign-compare] 279 | if (pos < file_size) { | ^ 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; | ^~~~~~~~~~~~ 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) | ~~~~^~~~ 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_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/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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from sub/subreader.c:37: ./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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvd.o stream/stream_dvd.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/aclib.o libvo/aclib.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o av_helpers.o av_helpers.c 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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 '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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o av_opts.o av_opts.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c stream/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:56, from stream/ai_alsa.c:25: /usr/include/alsa/pcm.h:1391:5: note: declared here 1391 | int snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, unsigned int val) __attribute__((deprecated)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~~~~~~~^~ 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) | ~~~~~~~~~~^~~ 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 'unsigned int'} [-Wsign-compare] 1543 | if (l >= strlen(exts[k]) && !av_strcasecmp(filename+(l - strlen(exts[k])), exts[k])){ | ^~ 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 | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c 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; | ^~ 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; | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c sub/spudec.c: In function 'sws_spu_image': 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 ** In file included from sub/spudec.c:48: /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 224 | int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sub/vobsub.c: In function 'vobsub_open': sub/vobsub.c:1003:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1003 | if (vobsubid == vob->spu_streams_current || | ^~ sub/sub.c: In function 'get_height': sub/vobsub.c: In function 'vobsub_get_id_by_index': 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; | ^ 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/sub.c: In function 'vo_update_text_osd': sub/sub.c:200:62: warning: unused parameter 'dxs' [-Wunused-parameter] 200 | static inline void vo_update_text_osd(mp_osd_obj_t *obj, int dxs, int dys) | ~~~~^~~ sub/sub.c:200:71: warning: unused parameter 'dys' [-Wunused-parameter] 200 | static inline void vo_update_text_osd(mp_osd_obj_t *obj, int dxs, int dys) | ~~~~^~~ sub/vobsub.c:1057:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1057 | if (vob == NULL || id < 0 || id >= vob->spu_streams_size) | ^~ sub/vobsub.c: In function 'vobsub_set_from_lang': sub/vobsub.c:1072:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1072 | for (i = 0; i < vob->spu_streams_size; i++) | ^ sub/vobsub.c: In function 'vobsub_queue_reseek': sub/spudec.c: In function 'spudec_packet_send': 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/sub.c: In function 'vo_update_text_sub': 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 | ^~ 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/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/sub.c:731:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 731 | else if ((c = *t++) >= 0x80 && sub_unicode) | ^~ sub/subreader.c: In function 'sub_clear_text': 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) { | ^ 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) | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from stream/stream_cddb.c:75: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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: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, | ^~~~~~~~~~ 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/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: 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, | ~~~~^~~~~~~~~~~ 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) | ^~ 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, | ~~~~^~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_geq.c sub/sub.c:1115:52: warning: unused parameter 'bottom_border' [-Wunused-parameter] 1115 | int right_border, int bottom_border, int orig_w, | ~~~~^~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_lavcdeint.c sub/sub.c:1115:71: warning: unused parameter 'orig_w' [-Wunused-parameter] 1115 | int right_border, int bottom_border, int orig_w, | ~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_screenshot.o libmpcodecs/vf_screenshot.c sub/sub.c:1116:34: warning: unused parameter 'orig_h' [-Wunused-parameter] 1116 | int orig_h) | ~~~~^~~~~~ sub/subreader.c: In function 'sub_read_line_jacosub': 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: | ^~~~~~~ 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 stream/stream_cdda.c:40: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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) | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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); | ^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_lavf.o libmpdemux/demux_lavf.c In file included from stream/stream_dvd.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/font_load.c: In function 'load_raw': sub/font_load.c:37:35: warning: unused parameter 'verbose' [-Wunused-parameter] 37 | raw_file* load_raw(char *name,int verbose){ | ~~~~^~~~~~~ stream/stream_dvd.c: In function 'dvd_read_sector': stream/stream_dvd.c:268:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 268 | if(d->cur_pack != d->dsi_pack.dsi_gi.nv_pck_lbn ) { | ^~ stream/stream_dvd.c: In function 'dvd_seek': stream/stream_cdda.c: At top level: 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_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_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_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) { | ^ libaf/af_lavcresample.c: In function 'play': libaf/af_lavcresample.c:159:61: warning: passing argument 4 of 'swr_convert' from incompatible pointer type [-Wincompatible-pointer-types] 159 | ret = swr_convert(s->swrctx, &s->tmp[0], out_len/chans/2, &s->in[0], in_len/chans/2); | ^~~~~~~~~ | | | uint8_t ** {aka unsigned char **} In file included from libaf/af_lavcresample.c:29: /usr/include/libswresample/swresample.h:344:49: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'uint8_t **' {aka 'unsigned char **'} 344 | const uint8_t **in , int in_count); | ~~~~~~~~~~~~~~~~^~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/stream_dvd.c: In function 'open_s': libaf/af_lavcac3enc.c: In function 'control': libaf/af_lavcac3enc.c:99:9: warning: 'channels' is deprecated [-Wdeprecated-declarations] 99 | if (s->lavc_actx->channels != af->data->nch || | ^~ 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 libaf/af_lavcac3enc.c:35: /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libaf/af_lavcac3enc.c:107:13: warning: 'channels' is deprecated [-Wdeprecated-declarations] 107 | s->lavc_actx->channels = af->data->nch; | ^ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ stream/stream_dvd.c: In function 'ifo_stream_open': In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_ffmpeg.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libaf/af_lavcac3enc.c:130:27: warning: comparison of integer expressions of different signedness: 'int' and '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 'unsigned int' [-Wsign-compare] 133 | if (i >= FF_ARRAY_ELEMS(ac3_bit_rates)) { | ^~ stream/stream_dvd.c:1050:63: warning: unused parameter 'opts' [-Wunused-parameter] 1050 | static int ifo_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~^~~~~~~~~~ libaf/af_lavcac3enc.c: In function 'af_open': 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/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; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/av_sub.o sub/av_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_export.o libaf/af_export.c libmpcodecs/vf_lavcdeint.c: In function 'vf_open': libmpcodecs/vf_lavcdeint.c:36:24: warning: unused parameter 'vf' [-Wunused-parameter] 36 | vf_open(vf_instance_t *vf, char *args) | ~~~~~~~~~~~~~~~^~ av_helpers.c: In function 'lavc_encode_audio': av_helpers.c:119:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 119 | int planar = ctx->channels > 1 && av_sample_fmt_is_planar(ctx->sample_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/mmap_anon.o osdep/mmap_anon.c In file included from av_helpers.c:21: /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ass.o libmpcodecs/vf_ass.c av_helpers.c:125:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 125 | if ((ctx->channels == 6 || ctx->channels == 5) && | ^~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ av_helpers.c:125:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 125 | if ((ctx->channels == 6 || ctx->channels == 5) && | ^~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/ass_mp.o sub/ass_mp.c av_helpers.c:129:29: warning: 'channels' is deprecated [-Wdeprecated-declarations] 129 | ctx->channels, | ^~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ av_helpers.c:132:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 132 | frame->nb_samples = src_len / ctx->channels / bps; | ^~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ av_helpers.c:137:9: warning: 'channels' is deprecated [-Wdeprecated-declarations] 137 | for (ch = 0; ch < ctx->channels; ch++) { | ^~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/subassconvert.o sub/subassconvert.c av_helpers.c:139:13: warning: 'channels' is deprecated [-Wdeprecated-declarations] 139 | uint8_t *tmpd = (uint8_t *)src + ch*src_len/ctx->channels; | ^~~~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ av_helpers.c:143:17: warning: 'channels' is deprecated [-Wdeprecated-declarations] 143 | tmps += ctx->channels * bps; | ^~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass.o libass/ass.c av_helpers.c:149:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 149 | frame->channels = ctx->channels; | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_bitmap.o libass/ass_bitmap.c In file included from /usr/include/libavcodec/avcodec.h:36: /usr/include/libavutil/frame.h:731:9: note: declared here 731 | int channels; | ^~~~~~~~ av_helpers.c:149:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 149 | frame->channels = ctx->channels; | ^~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ av_helpers.c:150:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 150 | n = avcodec_fill_audio_frame(frame, ctx->channels, ctx->sample_fmt, src, src_len, 1); | ^ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ av_helpers.c:153:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 153 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from /usr/include/libavcodec/avcodec.h:44: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_cache.o libass/ass_cache.c av_helpers.c: In function 'mp_packet_split_side_data': av_helpers.c:221:51: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 221 | if (size>INT_MAX - 5 || p - pkt->data < size) | ^ av_helpers.c:225:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 225 | if (p - pkt->data < size + 5) | ^ libmpcodecs/ad_spdif.c: In function 'read_packet': libmpcodecs/ad_spdif.c:51:30: warning: unused parameter 'p' [-Wunused-parameter] 51 | static int read_packet(void *p, uint8_t *buf, int buf_size) | ~~~~~~^ libmpcodecs/ad_spdif.c:51:42: warning: unused parameter 'buf' [-Wunused-parameter] 51 | static int read_packet(void *p, uint8_t *buf, int buf_size) | ~~~~~~~~~^~~ libmpcodecs/ad_spdif.c:51:51: warning: unused parameter 'buf_size' [-Wunused-parameter] 51 | static int read_packet(void *p, uint8_t *buf, int buf_size) | ~~~~^~~~~~~~ libmpcodecs/ad_spdif.c: In function 'seek': libmpcodecs/ad_spdif.c:68:27: warning: unused parameter 'p' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~~~^ libmpcodecs/ad_spdif.c:68:38: warning: unused parameter 'offset' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~~~~~^~~~~~ libmpcodecs/ad_spdif.c:68:50: warning: unused parameter 'whence' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~^~~~~~ libmpcodecs/ad_spdif.c: In function 'init': libmpcodecs/ad_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_spdif.c:134:48: warning: passing argument 2 of 'avformat_write_header' from incompatible pointer type [-Wincompatible-pointer-types] 134 | if ((res = avformat_write_header(lavf_ctx, opts)) < 0) { | ^~~~ | | | AVDictionary * libmpcodecs/ad_ffmpeg.c:82:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 82 | if (lavc_context->channels != sh_audio->channels || | ^~ In file included from libmpcodecs/ad_ffmpeg.c:47: /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ In file included from libmpcodecs/ad_spdif.c:25: /usr/include/libavformat/avformat.h:2267:62: note: expected 'AVDictionary **' but argument is of type 'AVDictionary *' 2267 | int avformat_write_header(AVFormatContext *s, AVDictionary **options); | ~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ad_ffmpeg.c:85:9: warning: 'channels' is deprecated [-Wdeprecated-declarations] 85 | sh_audio->channels=lavc_context->channels; | ^~~~~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ 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)); | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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:148:15: note: in expansion of macro 'MP_NOPTS_VALUE' 148 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c:124:9: warning: 'channels' is deprecated [-Wdeprecated-declarations] 124 | lavc_context->channels = sh_audio->wf->nChannels; | ^~~~~~~~~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libmpcodecs/ad_ffmpeg.c:130:5: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] 130 | lavc_context->channel_layout = sh_audio->channel_layout; | ^~~~~~~~~~~~ /usr/include/libavcodec/avcodec.h:1130:14: note: declared here 1130 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c:131:5: warning: 'request_channel_layout' is deprecated [-Wdeprecated-declarations] 131 | lavc_context->request_channel_layout = av_get_default_channel_layout(audio_output_channels); | ^~~~~~~~~~~~ /usr/include/libavcodec/avcodec.h:1139:14: note: declared here 1139 | uint64_t request_channel_layout; | ^~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c:131:5: warning: 'av_get_default_channel_layout' is deprecated [-Wdeprecated-declarations] 131 | lavc_context->request_channel_layout = av_get_default_channel_layout(audio_output_channels); | ^~~~~~~~~~~~ In file included from /usr/include/libavcodec/avcodec.h:34: /usr/include/libavutil/channel_layout.h:506:9: note: declared here 506 | int64_t av_get_default_channel_layout(int nb_channels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_spdif.c:98:26: warning: unused variable 'opt' [-Wunused-variable] 98 | const AVOption *opt = NULL; | ^~~ 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:241:42: note: in expansion of macro 'MP_NOPTS_VALUE' 241 | ds_parse(sh->ds, &start, &x, MP_NOPTS_VALUE, 0); | ^~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c: In function 'control': libmpcodecs/ad_spdif.c:256:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 256 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c:206:49: warning: unused parameter 'arg' [-Wunused-parameter] 206 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ In file included from /usr/include/libavcodec/codec_par.h:33, from /usr/include/libavformat/avformat.h:312: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ libmpcodecs/ad_ffmpeg.c: In function 'copy_samples': In function 'get_payload_extension_data', inlined from 'demux_asf_fill_buffer' at libmpdemux/demux_asf.c:486:22: libmpcodecs/ad_ffmpeg.c:277:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 277 | int channels = avc->channels; | ^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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:262:20: note: in expansion of macro 'MP_NOPTS_VALUE' 262 | if (pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libmpdemux/demux_asf.c:320:42: warning: 'payload_time' may be used uninitialized [-Wmaybe-uninitialized] 320 | (0.1 * ((payload_time - asf->last_key_payload_time) / asf->vid_frame_ct)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~ libmpcodecs/ad_spdif.c: In function 'control': libmpcodecs/ad_spdif.c:274:51: warning: unused parameter 'arg' [-Wunused-parameter] 274 | static int control(sh_audio_t *sh, int cmd, void* arg, ...) | ~~~~~~^~~ 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:351:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 351 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from /usr/include/libavcodec/avcodec.h:44: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | 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:354:20: note: in expansion of macro 'MP_NOPTS_VALUE' 354 | if (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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_drawing.o libass/ass_drawing.c libmpcodecs/ad_ffmpeg.c:374:11: warning: 'channels' is deprecated [-Wdeprecated-declarations] 374 | if (((AVCodecContext *)sh_audio->context)->channels >= 5) { | ^~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libmpcodecs/ad_ffmpeg.c:379:33: warning: 'channels' is deprecated [-Wdeprecated-declarations] 379 | ((AVCodecContext *)sh_audio->context)->channels, | ^ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_ffmpeg.c:38: ./libmpdemux/demuxer.h: In function 'new_demux_packet': /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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){ | ~~~~~~~~~~~~~^~~~~~ 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: /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 224 | 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 ** /usr/include/libswscale/swscale.h:224:58: note: expected 'const uint8_t * const*' {aka 'const unsigned char * const*'} but argument is of type 'unsigned char **' 224 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_font.o libass/ass_font.c In file included from libmpcodecs/vd_ffmpeg.c:75: /usr/include/libavcodec/xvmc.h: At top level: /usr/include/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") | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_fontconfig.o libass/ass_fontconfig.c 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)); | ^ libmpcodecs/vd_ffmpeg.c:427:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 427 | if (!sh->bih || sh->bih->biSize <= sizeof(*sh->bih)) | ^~ 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){ | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/vd_ffmpeg.c:451:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 451 | if(sh->bih->biSizebih)+8){ | ^ 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': libmpcodecs/vd_ffmpeg.c: In function 'uninit': libmpcodecs/vd_ffmpeg.c:518:13: warning: 'frame_number' is deprecated [-Wdeprecated-declarations] 518 | ctx->qp_sum / avctx->frame_number, | ^~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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; | ^ In file included from /usr/include/libavcodec/vdpau.h:57, from libmpcodecs/vd_ffmpeg.c:41: /usr/include/libavcodec/avcodec.h:1106:9: note: declared here 1106 | int frame_number; | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:519:13: warning: 'frame_number' is deprecated [-Wdeprecated-declarations] 519 | 1.0/(ctx->inv_qp_sum / avctx->frame_number) | ^~~ /usr/include/libavcodec/avcodec.h:1106:9: note: declared here 1106 | int frame_number; | ^~~~~~~~~~~~ ./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); | ^~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:529:9: warning: 'slice_offset' is deprecated [-Wdeprecated-declarations] 529 | av_freep(&avctx->slice_offset); | ^~~~~~~~ /usr/include/libavcodec/avcodec.h:812:10: note: declared here 812 | int *slice_offset; | ^~~~~~~~~~~~ ./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); | ^~~~~~~~~~~~~~ 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){ | ~~~~^~~~ ./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); | ^~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c: In function 'is_in_format_list': ./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); | ^~~~~~~~~~~~~~ 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) | ^~ sub/subassconvert.c: In function 'subassconvert_subrip': ./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); | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from sub/ass_mp.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': sub/subassconvert.c:148:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 148 | for (i = 0; i < FF_ARRAY_ELEMS(subrip_basic_tags); i++) { | ^ ./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); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/subassconvert.c:190:30: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 190 | && sp + 1 < FF_ARRAY_ELEMS(font_stack)) { | ^ libmpcodecs/vd_ffmpeg.c: In function 'get_buffer': sub/subassconvert.c:223:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 223 | for (i = 0; i < FF_ARRAY_ELEMS(subrip_web_colors); i++) { | ^ ./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); | ^~~~~~~~~~~~~~ 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; | ^ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:463:56: note: in expansion of macro 'MP_NOPTS_VALUE' 463 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_bmovl.c:220:59: warning: unused parameter 'pts' [-Wunused-parameter] 220 | put_image(struct vf_instance *vf, mp_image_t* mpi, double pts, double endpts){ | ~~~~~~~^~~ libmpcodecs/vf_bmovl.c:220:71: warning: unused parameter 'endpts' [-Wunused-parameter] 220 | put_image(struct vf_instance *vf, mp_image_t* mpi, double pts, double endpts){ | ~~~~~~~^~~~~~ In file included from ./mpcommon.h:25, from libmpcodecs/vf_ass.c:33: ./libmpdemux/demuxer.h: In function 'new_demux_packet': sub/subassconvert.c: In function 'microdvd_open_tags': sub/subassconvert.c:432:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 432 | for (i = 0; i < sizeof(MICRODVD_TAGS) - 1; i++) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ sub/subassconvert.c:438:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 438 | for (sidx = 0; sidx < sizeof(MICRODVD_STYLES) - 1; sidx++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_library.o libass/ass_library.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] | ^~~~~~~~~~~~ /usr/include/libavcodec/xvmc.h:47:29: note: declared here 47 | struct attribute_deprecated xvmc_pix_fmt { | ^~~~~~~~~~~~ sub/subassconvert.c: In function 'microdvd_load_tags': sub/subassconvert.c:357:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 357 | tag.persistent = MICRODVD_PERSISTENT_ON; | ^ sub/subassconvert.c:358:9: note: here 358 | case 'f': | ^~~~ sub/subassconvert.c:372:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 372 | tag.persistent = MICRODVD_PERSISTENT_ON; | ^ In file included from ./libmpdemux/stheader.h:22, from sub/av_sub.c:20: ./libmpdemux/demuxer.h: In function 'new_demux_packet': sub/subassconvert.c:373:9: note: here 373 | case 's': | ^~~~ libmpcodecs/vd_ffmpeg.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 | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:900:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 900 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from /usr/include/libavcodec/avcodec.h:44: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ In file included from stream/stream_ffmpeg.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~~ 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:1089:5: warning: 'interlaced_frame' is deprecated [-Wdeprecated-declarations] 1089 | if(pic->interlaced_frame) mpi->fields |= MP_IMGFIELD_INTERLACED; | ^~ In file included from /usr/include/libavcodec/avcodec.h:36: /usr/include/libavutil/frame.h:530:9: note: declared here 530 | int interlaced_frame; | ^~~~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:1090:5: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations] 1090 | if(pic->top_field_first ) mpi->fields |= MP_IMGFIELD_TOP_FIRST; | ^~ /usr/include/libavutil/frame.h:538:9: note: declared here 538 | int top_field_first; | ^~~~~~~~~~~~~~~ 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) | ~~~~~~~~~^~~~ 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 /usr/include/libavcodec/avcodec.h:44, from sub/av_sub.c:19: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | 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) | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_parse.o libass/ass_parse.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 | ^~ sub/av_sub.c:107:46: note: in expansion of macro 'MP_NOPTS_VALUE' 107 | if (*pts != MP_NOPTS_VALUE && *endpts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ sub/av_sub.c: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) { | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_render.o libass/ass_render.c libmpdemux/demux_lavf.c: In function 'mp_seek': libmpdemux/demux_lavf.c:116:18: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 116 | if (size > stream->end_pos) | ^ libmpdemux/demux_lavf.c: In function 'mp_read_seek': libmpdemux/demux_lavf.c:134:75: warning: unused parameter 'flags' [-Wunused-parameter] 134 | static int64_t mp_read_seek(void *opaque, int stream_idx, int64_t ts, int flags) { | ~~~~^~~~~ libmpdemux/demux_lavf.c: In function 'handle_stream': libmpdemux/demux_lavf.c:312:13: warning: 'channels' is deprecated [-Wdeprecated-declarations] 312 | wf->nChannels= codec->channels; | ^~ In file included from /usr/include/libavformat/avformat.h:312, from libmpdemux/demux_lavf.c:39: /usr/include/libavcodec/codec_par.h:166:14: note: declared here 166 | int channels; | ^~~~~~~~ libmpdemux/demux_lavf.c:313:13: warning: 'channel_layout' is deprecated [-Wdeprecated-declarations] 313 | sh_audio->channel_layout = codec->channel_layout; | ^~~~~~~~ /usr/include/libavcodec/codec_par.h:160:14: note: declared here 160 | uint64_t channel_layout; | ^~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:335:13: warning: 'channels' is deprecated [-Wdeprecated-declarations] 335 | sh_audio->channels= codec->channels; | ^~~~~~~~ /usr/include/libavcodec/codec_par.h:166:14: note: declared here 166 | int channels; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 libmpdemux/demux_lavf.c:370:17: warning: 'av_stream_get_side_data' is deprecated [-Wdeprecated-declarations] 370 | AVReplayGain *rg = (AVReplayGain*)av_stream_get_side_data(st, AV_PKT_DATA_REPLAYGAIN, &rg_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_shaper.o libass/ass_shaper.c /usr/include/libavformat/avformat.h:1917:10: note: declared here 1917 | uint8_t *av_stream_get_side_data(const AVStream *stream, | ^~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:381:13: warning: 'av_stream_get_side_data' is deprecated [-Wdeprecated-declarations] 381 | const int32_t *disp_matrix = av_stream_get_side_data(st, AV_PKT_DATA_DISPLAYMATRIX, NULL); | ^~~~~ /usr/include/libavformat/avformat.h:1917:10: note: declared here 1917 | uint8_t *av_stream_get_side_data(const AVStream *stream, | ^~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:381:42: warning: initialization of 'const int32_t *' {aka 'const int *'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] 381 | const int32_t *disp_matrix = av_stream_get_side_data(st, AV_PKT_DATA_DISPLAYMATRIX, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'do_diseqc', inlined from 'tune_it' at stream/dvb_tune.c:388:10, inlined from 'dvb_tune' at stream/dvb_tune.c:436:9: stream/dvb_tune.c:316:51: warning: 'hi_lo' may be used uninitialized [-Wmaybe-uninitialized] 316 | 0xf0 | (((sat_no * 4) & 0x0f) | (hi_lo ? 1 : 0) | (polv ? 0 : 2)); | ~~~~~~~~~~~^~~~ stream/dvb_tune.c: In function 'dvb_tune': stream/dvb_tune.c:328:12: note: 'hi_lo' was declared here 328 | int res, hi_lo, dfd; | ^~~~~ libmpdemux/demux_lavf.c: In function 'demux_open_lavf': libmpdemux/demux_lavf.c:640:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 640 | for(i=0; i < avfc->nb_chapters; i++) { | ^ libmpdemux/demux_lavf.c:648:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 648 | for(i=0; inb_streams; i++) | ^ libmpdemux/demux_lavf.c:654:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 654 | 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:684:25: note: in expansion of macro 'MP_NOPTS_VALUE' 684 | double stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_lavf.c:693:41: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 693 | for (id = priv->nb_streams_last; id < priv->avfc->nb_streams; id++) | ^ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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++) { | ^ libmpdemux/demux_lavf.c:678:69: warning: unused parameter 'dsds' [-Wunused-parameter] 678 | static int demux_lavf_fill_buffer(demuxer_t *demux, demux_stream_t *dsds){ | ~~~~~~~~~~~~~~~~^~~~ 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++) { | ^ 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; | ^~~ libmpdemux/demux_lavf.c: In function 'demux_lavf_control': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_strtod.o libass/ass_strtod.c libmpdemux/demux_lavf.c:801:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 801 | if (priv->avfc && id >= 0 && id < priv->avfc->nb_streams) *(int *)arg = priv->avfc->streams[id]->id; | ^ libmpcodecs/vf_ass.c: In function 'vf_open': libmpcodecs/vf_ass.c:894:45: warning: unused parameter 'args' [-Wunused-parameter] 894 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ libmpdemux/demux_lavf.c:875:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 875 | while(pavfc->nb_programs && priv->avfc->programs[p]->id != priv->cur_program) | ^ libmpdemux/demux_lavf.c:881:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 881 | for(i=0; iavfc->nb_programs; i++) | ^ libmpdemux/demux_lavf.c:884:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 884 | if(i==priv->avfc->nb_programs) | ^~ libmpdemux/demux_lavf.c:891:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 891 | for(i=0; inb_stream_indexes; i++) | ^ libass/ass_bitmap.c: At top level: libass/ass_bitmap.c:44:27: warning: 'maxcolor' defined but not used [-Wunused-const-variable=] 44 | static const unsigned int maxcolor = 255; | ^~~~~~~~ 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) | ^~~~~~~~~~~~~~~~~~~ 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); | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_utils.o libass/ass_utils.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_theora.o libmpcodecs/vd_theora.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_rtsp.o stream/stream_rtsp.c 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; ibuckets; i++) { | ^ 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) | ^~~~~~~~~~ libass/ass_drawing.c: In function 'token_check_values': libass/ass_drawing.c:125:35: warning: comparison of integer expressions of different signedness: 'ASS_TokenType' and 'int' [-Wsign-compare] 125 | if (!token || token->type != type) return 0; | ^~ libass/ass_drawing.c: In function 'drawing_evaluate_curve': libass/ass_drawing.c:254:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 254 | int x0 = cur.x; | ^~~ libass/ass_drawing.c:259:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 259 | int x1 = cur.x; | ^~~ libass/ass_drawing.c:264:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 264 | int x2 = cur.x; | ^~~ libass/ass_drawing.c:269:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 269 | int x3 = cur.x; | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/freesdp/errorlist.o stream/freesdp/errorlist.c libass/ass_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] = { | ^~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/freesdp/parser.o stream/freesdp/parser.c 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, | ^~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/librtsp/rtsp.o stream/librtsp/rtsp.c 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, | ~~~~~~^~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/asf_streaming.o stream/asf_streaming.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cookies.o stream/cookies.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/http.o stream/http.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/network.o stream/network.c 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/pnm.o stream/pnm.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/rtp.o stream/rtp.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, | ~~~~~~~~~~~~~^~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 '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) | ~~~~~~~~~~~~~~~~~~~~^~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libass/ass_shaper.c: In function 'ass_shaper_set_kerning': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_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_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 'unsigned int'} [-Wsign-compare] 720 | for (i = 0; i < len; i++) { | ^ 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, | ~~~~^~ 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) | ~~~~~~~~~~~~^~~~~~ 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) | ~~~~^~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_libmad.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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) | ~~~~~^~~~~~~~~~~ libass/ass_shaper.c:753:62: warning: unused parameter 'code' [-Wunused-parameter] 753 | void ass_shaper_set_language(ASS_Shaper *shaper, const char *code) | ~~~~~~~~~~~~^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_render_api.c: In function 'ass_set_shaper': libass/ass_shaper.c:927:43: warning: unused parameter 'enc' [-Wunused-parameter] 927 | FriBidiParType resolve_base_direction(int enc) | ~~~~^~~ 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) | ~~~~~~~~~~~~~~~~~^~~~~ 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) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libass/ass_utils.c: In function 'parse_ycbcr_matrix': libass/ass_render.c: In function 'draw_opaque_box': 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: 'int' and '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 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 43 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libass/ass_utils.c:140:16: note: in expansion of macro 'FFMIN' 140 | size_t n = FFMIN(end - str, sizeof buffer - 1); | ^~~~~ libass/ass_render.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, | ~~~~~~~~~~~~~~^~~~ libass/ass_render.c: In function 'get_outline_glyph': libass/ass_render.c:1110:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1110 | FT_Glyph glyph = | ^~~~~~~~ libass/ass_render.c: In function 'get_bitmap_glyph': libass/ass_render.c:1295:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1295 | FT_Matrix m = { double_to_d16(scale_x), 0, | ^~~~~~~~~ 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/udp.o stream/udp.c libass/ass_render.c: In function 'wrap_lines_smart': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tcp.o stream/tcp.c 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) | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_rtp.o stream/stream_rtp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_udp.o stream/stream_udp.c 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 = | ^~~~~~ libmpcodecs/ad_libmad.c: In function 'control': libmpcodecs/ad_libmad.c:171:49: warning: unused parameter 'arg' [-Wunused-parameter] 171 | static int control(sh_audio_t *sh,int cmd,void* arg, ...){ | ~~~~~~^~~ libass/ass_render.c:1938:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1938 | FriBidiStrIndex *cmap = ass_shaper_reorder(render_priv->shaper, text_info); | ^~~~~~~~~~~~~~~ libass/ass_render.c:1943:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1943 | int lineno = 1; | ^~~ libass/ass_render.c:1955:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1955 | FT_Vector cluster_pen = pen; | ^~~~~~~~~ libass/ass_render.c:1971:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1971 | double width = 0; | ^~~~~~ libass/ass_render.c:1978:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1978 | double shift = 0; | ^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/asmrp.o stream/realrtsp/asmrp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/real.o stream/realrtsp/real.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/sdpplin.o stream/realrtsp/sdpplin.c 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; | ^~~ In file included from ./mpcommon.h:25, from stream/asf_streaming.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libass/ass_render.c:1689:13: warning: variable 'num_glyphs' set but not used [-Wunused-but-set-variable] 1689 | FT_UInt num_glyphs; | ^~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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': 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 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 97 | while (total < count) { | ^ libass/ass_render.c:2269:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2269 | double par = render_priv->settings.par; | ^~~~~~ In function 'glSetupYUVFragprog', inlined from 'glSetupYUVConversion' at libvo/gl_common.c:1816:7: 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]; | ^~~~~~~~~ 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 */ | ^~~~~~~ stream/librtsp/rtsp.c: In function 'rtsp_get_param': stream/librtsp/rtsp.c:647:22: warning: operand of '?:' changes signedness from 'int' to 'size_t' {aka '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 */ | ^~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) { | ~~~~~~^~~ In file included from stream/pnm.c:49: ./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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/xbuffer.o stream/realrtsp/xbuffer.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pp.o libmpcodecs/vf_pp.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 'unsigned int' [-Wsign-compare] 204 | if (size > SIZE_MAX - buffer_size) | ^ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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/pnm.c: In function 'rm_read': stream/pnm.c:225:16: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 225 | while (total < count) { | ^ 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/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 | ^ 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/http.c: In function 'http_response_parse': stream/asf_mmst_streaming.c:522:24: warning: variable 'len' set but not used [-Wunused-but-set-variable] 522 | int len, i, packet_length; | ^~~ stream/pnm.c: In function 'pnm_send_request': stream/http.c:457:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 457 | if( pos_hdr_sep+hdr_sep_lenbuffer_size ) { | ^ stream/pnm.c:417:49: warning: unused parameter 'bandwidth' [-Wunused-parameter] 417 | static void pnm_send_request(pnm_t *p, uint32_t bandwidth) { | ~~~~~~~~~^~~~~~~~~ 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/pnm.c: In function 'pnm_get_stream_chunk': 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/pnm.c:665:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 665 | if (size > sizeof(p->buffer) - 4) size = sizeof(p->buffer) - 4; | ^ 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) | ~~~~~^~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ stream/http.c: In function 'open_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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/pnm.c: In function 'open_s': 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/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) { | ~~~~~~^~~~ stream/http.c:893:53: warning: unused parameter 'opts' [-Wunused-parameter] 893 | static int open_s1(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ stream/http.c: In function 'open_s2': stream/http.c:919:41: warning: unused parameter 'mode' [-Wunused-parameter] 919 | static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/http.c:919:53: warning: unused parameter 'opts' [-Wunused-parameter] 919 | static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_pvr.o stream/stream_pvr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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/network.c: In function 'nop_streaming_seek': stream/network.c:485:25: warning: unused parameter 'fd' [-Wunused-parameter] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~^~ stream/network.c:485:37: warning: unused parameter 'pos' [-Wunused-parameter] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~~~~~^~~ stream/network.c:485:60: warning: unused parameter 'stream_ctrl' [-Wunused-parameter] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stream/realrtsp/xbuffer.c: In function 'xbuffer_ensure_size': stream/realrtsp/xbuffer.c:95:24: warning: comparison of integer expressions of different signedness: 'int' and '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) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/audio_in.o stream/audio_in.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_realaud.o libmpcodecs/ad_realaud.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cache2.o stream/cache2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/frequencies.o stream/frequencies.c 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) | ~~~~~^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_tv.o stream/stream_tv.c stream/realrtsp/sdpplin.c: In function 'b64_decode': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tv.o stream/tv.c stream/realrtsp/sdpplin.c:67:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 67 | for (j=0; jfileheader->num_headers; i++) { | ^ stream/realrtsp/rmff.c:423:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (i=1; ifileheader->num_headers; i++) { | ^ stream/realrtsp/rmff.c: In function 'rmff_fix_header': stream/realrtsp/rmff.c:803:33: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 803 | if(h->fileheader->num_headers != num_headers) { | ^~ stream/realrtsp/rmff.c:811:30: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 811 | if (h->prop->data_offset != header_size) { | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tvi_dummy.o stream/tvi_dummy.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tvi_v4l2.o stream/tvi_v4l2.c In file included from ./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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/unrar_exec.o sub/unrar_exec.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_vcd.o stream/stream_vcd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_xvid4.o libmpcodecs/vd_xvid4.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/shmem.o osdep/shmem.c libmpcodecs/vf_pp.c: In function 'put_image': libmpcodecs/vf_pp.c:145:27: warning: passing argument 1 of 'pp_postprocess' from incompatible pointer type [-Wincompatible-pointer-types] 145 | pp_postprocess(mpi->planes ,mpi->stride, | ~~~^~~~~~~~ | | | unsigned char ** In file included from libmpcodecs/vf_pp.c:37: /usr/include/libpostproc/postprocess.h:69:38: note: expected 'const uint8_t **' {aka 'const unsigned char **'} but argument is of type 'unsigned char **' 69 | void pp_postprocess(const uint8_t * src[3], const int srcStride[3], | ~~~~~~~~~~~~~~~~^~~~~~ 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; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mencoder.o mencoder.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o parser-mecmd.o parser-mecmd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o xvid_vbr.o xvid_vbr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_filmdint.c: In function 'put_image': libmpcodecs/vf_filmdint.c:1333:26: warning: 'dmpi' may be used uninitialized [-Wmaybe-uninitialized] 1333 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpcodecs/vf_filmdint.c:1140:17: note: 'dmpi' was declared here 1140 | mp_image_t *dmpi; | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c In file included from stream/tv.h:29, from stream/pvr.h:29, from stream/stream_pvr.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from stream/tv.h:29, from stream/tvi_dummy.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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) | ~~~~~~~~^~~~ 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve.o libmpcodecs/ve.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c stream/cache2.c:346:23: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 346 | (old_pos != s->stream->pos || old_eof != s->stream->eof)) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer.o libmpdemux/muxer.c 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) { | ~~~~^ 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) { | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c 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) { | ^ 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,...){ | ~~~~~~^~~ 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/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) { | ^ In file included from stream/stream_tv.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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])) | ^~ stream/cache2.c: In function 'cache_execute_control': 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: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: | ^~~~ 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) | ~~~~^~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_xanim.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In function 'vo_update_text_sub', inlined from 'vo_update_osd_ext.isra' at sub/sub.c:1176:6: sub/sub.c:906:31: warning: 'otp_sub_tmp' may be used uninitialized [-Wmaybe-uninitialized] 906 | otp->prev = otp_sub_tmp; | ~~~~~~~~~~^~~~~~~~~~~~~ sub/sub.c: In function 'vo_update_osd_ext.isra': sub/sub.c:710:45: note: 'otp_sub_tmp' was declared here 710 | struct osd_text_p *otp_sub = NULL, *otp_sub_tmp, // these are used to store the whole sub text osd | ^~~~~~~~~~~ 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) | ~~~~^~ 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, ...){ | ~~~~~~^~~ In file included from stream/stream_vcd.c:55: ./libmpdemux/demuxer.h: In function 'new_demux_packet': stream/tv.c: In function 'open_tv': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/tv.c:440:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 440 | for (i = 0; i < sizeof (tv_fmt_list) / sizeof (*tv_fmt_list); i++) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c 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) | ~~~~~~^~~~~ 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){ | ~~~~^~~~~~~ xvid_vbr.c: In function 'vbr_init_2pass2': xvid_vbr.c:703:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 703 | state->nb_keyframes >= 0x7fffffff / sizeof(int) || | ^~ stream/tv.c: In function 'tv_step_chanlist': 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c stream/stream_radio.c: In function 'radio_set_channel': xvid_vbr.c: In function 'vbr_update_2pass2': 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){ | ^~ 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) | ~~~~^~~~~~~ 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)) | ~~~~~~~~~~~~~^~~~~~~~ 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/vd_xanim.c: In function 'XA_2x2_OUT_1BLK_Convert': libmpcodecs/vd_xanim.c:450:18: warning: unused parameter 'imagex' [-Wunused-parameter] 450 | unsigned int imagex, XA_2x2_Color *cmap2x2) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vd_xanim.c: In function 'XA_2x2_OUT_4BLKS_Convert': libmpcodecs/vd_xanim.c:467:18: warning: unused parameter 'imagex' [-Wunused-parameter] 467 | unsigned int imagex, XA_2x2_Color *cm0, XA_2x2_Color *cm1, XA_2x2_Color *cm2, | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vd_xanim.c: In function 'control': libmpcodecs/vd_xanim.c:675:32: warning: unused parameter 'sh' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ stream/stream_pvr.c: In function 'pvr_stream_open': libmpcodecs/vd_xanim.c:675:39: warning: unused parameter 'cmd' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_xanim.c:675:49: warning: unused parameter 'arg' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ In file included from stream/tv.h:29, from stream/tvi_v4l2.c:63: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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) | ~~~~~~~~~~~~~~~~~~^~~ 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) | ~~~~~~^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vd_xanim.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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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); | ^ libmpcodecs/vd_xvid4.c: In function 'control': libmpcodecs/vd_xvid4.c:87:32: warning: unused parameter 'sh' [-Wunused-parameter] 87 | static int control(sh_video_t *sh,int cmd,void* arg,...) | ~~~~~~~~~~~~^~ libmpcodecs/vd_xvid4.c:87:39: warning: unused parameter 'cmd' [-Wunused-parameter] 87 | static int control(sh_video_t *sh,int cmd,void* arg,...) | ~~~~^~~ libmpcodecs/vd_xvid4.c:87:49: warning: unused parameter 'arg' [-Wunused-parameter] 87 | static int control(sh_video_t *sh,int cmd,void* arg,...) | ~~~~~~^~~ 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) | ~~~~~^~~~~~~~~~~ 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; | ^~ 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) | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c 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 'unsigned int'} and 'int' [-Wsign-compare] 78 | if(size>pngLength-pngPointer && pngLength>=pngPointer) size=pngLength-pngPointer; | ^ libmpcodecs/vd_mpng.c: In function 'decode': libmpcodecs/vd_mpng.c:138:11: warning: comparison of integer expressions of different signedness: 'int' and 'png_uint_32' {aka 'unsigned int'} [-Wsign-compare] 138 | if(last_w!=png_width || last_h!=png_height || last_c!=out_fmt){ | ^~ libmpcodecs/vd_mpng.c:138:32: warning: comparison of integer expressions of different signedness: 'int' and 'png_uint_32' {aka 'unsigned int'} [-Wsign-compare] 138 | if(last_w!=png_width || last_h!=png_height || last_c!=out_fmt){ | ^~ libmpcodecs/vd_mpng.c:138:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 138 | if(last_w!=png_width || last_h!=png_height || last_c!=out_fmt){ | ^~ 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){ | ~~~~^~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_lame.o libmpcodecs/ae_lame.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_xvid4.o libmpcodecs/ve_xvid4.c ./codec-cfg etc/codecs.conf > codecs.conf.h 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | 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) | ~~~~~~~~~~~~~~~~~^~~~~~~ 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) { | ~~~~~~^~~~ 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 'put_image': libmpcodecs/ve_raw.c:153:82: warning: unused parameter 'endpts' [-Wunused-parameter] 153 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) { | ~~~~~~~^~~~~~ 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.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/tvi_v4l2.c: In function 'uninit': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mpcommon.o mpcommon.c 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; | ^~ In file included from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': Reading optional codecs config file etc/codecs.conf: 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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:155:15: note: in expansion of macro 'MP_NOPTS_VALUE' 155 | 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:156:15: note: in expansion of macro 'MP_NOPTS_VALUE' 156 | if(pts == MP_NOPTS_VALUE) pts= s->timer; // this is wrong | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'mpegfile_new_stream': libmpdemux/muxer_mpeg.c:426:33: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 426 | int v = (conf_vbuf_size ? conf_vbuf_size*1024 : | ^~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:463:34: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 463 | int a1 = (conf_abuf_size ? conf_abuf_size*1024 : | ^~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_avi.c: 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 * ./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: 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 * mencoder.c: In function 'config_video_out': ./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); | ~~~~~~~~~~~~~~~^~~ 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, | ~~~~~~~~~~~~~~~~~~~~~~^~ In file included from libmpdemux/aviheader.h:28, from libmpdemux/muxer_rawaudio.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': 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, | ~~~~~~~~~^~~~~~ stream/tvi_v4l2.c: In function 'control': 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) | ~~~~^~~~ 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; | ^ libmpdemux/muxer_avi.c: In function 'avifile_odml_new_riff': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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 *} libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ stream/tvi_v4l2.c:763:5: note: here 763 | case TVI_CONTROL_IS_TUNER: | ^~~~ ./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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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); | ~~~~~~~~~~~~~~~^~~ 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/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) | ~~~~^~~~ libmpdemux/muxer_mpeg.c: In function 'calc_packet_len': libmpdemux/muxer_mpeg.c:950:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 950 | if(frpos == spriv->framebuf[n].size) | ^~ In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae_lavc.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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); | ~~~~~~~~~~~~~~~^~~ In file included from libmpdemux/aviheader.h:28, from libmpdemux/muxer_rawvideo.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_mpeg.c: In function 'find_packet_timestamps': 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_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) | ^ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_rawaudio.c:79:47: warning: unused parameter 'muxer' [-Wunused-parameter] 79 | static void rawaudiofile_write_index(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=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 * libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./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 libmpcodecs/ae_faac.c:27: ./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; | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_x264.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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_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_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_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_avi.c: In function 'avifile_odml_write_index': 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_mpeg.c: In function 'find_best_stream': libmpdemux/muxer_rawvideo.c:82:47: warning: unused parameter 'muxer' [-Wunused-parameter] 82 | static void rawvideofile_write_index(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpdemux/muxer_avi.c:579:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 579 | for (i=0; iavih.dwStreams; i++) { | ^ libmpdemux/muxer_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 cfg-mencoder.h:34, from mencoder.c:245: cfg-common.h: At top level: 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); | ~~~~~~~~~~~~~~~^~~ 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}, | ^~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'update_scr': 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); | ~~~~~~~~~~~~~~~^~~ 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}, | ^~~~~~~~~~~~~ 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/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) | ~~~~~~~~~~~~~~~~~^~~~~~~ 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++) | ^ In file included from libmpcodecs/ve_xvid4.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_mpeg.c: In function 'flush_buffers': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->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}, | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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}, | ^ 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) | ^~ 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}, | ^~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'parse_mpeg12_video': 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/muxer_mpeg.c:1654:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1654 | while(i + 4 < len) | ^ 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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}, | ^~~~~~~ libmpdemux/muxer_mpeg.c:1662:51: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1662 | if(i + 11 > 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}, | ^~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:1682:50: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1682 | if(i + 9 > len) | ^ 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 libmpdemux/aviheader.h:28, from libmpdemux/muxer_lavf.c:30: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_mpeg.c:1706:50: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1706 | if(i + 5 > 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ^ cfg-mencoder.h:190:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | {"oac", oac_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~ cfg-mencoder.h:191:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~ cfg-mencoder.h:194:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 194 | {"of", of_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~ cfg-mencoder.h:221:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 221 | {"info", info_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mencoder.h:226:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 226 | {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:229:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 229 | {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'parse_mpeg4_video': cfg-mencoder.h:252:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 252 | {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~ cfg-mencoder.h:261:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:263:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ libmpcodecs/ve_x264.c: In function 'x264enc_set_param': 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))) | ^ libmpcodecs/ve_x264.c:67:42: warning: unused parameter 'opt' [-Wunused-parameter] 67 | void x264enc_set_param(const m_option_t* opt, char* arg) | ~~~~~~~~~~~~~~~~~~^~~ mencoder.c: In function 'exit_sighandler': mencoder.c:307:33: warning: unused parameter 'x' [-Wunused-parameter] 307 | static void exit_sighandler(int x){ | ~~~~^ libmpcodecs/ve_x264.c: In function 'config': libmpcodecs/ve_x264.c:144:106: warning: unused parameter 'flags' [-Wunused-parameter] 144 | static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) { | ~~~~~~~~~~~~~^~~~~ In file included from libmpcodecs/vf.h:118, from mencoder.c:67: mencoder.c: In function 'adjusted_muxer_time': libmpcodecs/ve_x264.c: In function 'control': 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)))) | ^ ./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; | ^~~~~~~~~~~~~~ libmpcodecs/ve_x264.c:204:63: warning: unused parameter 'data' [-Wunused-parameter] 204 | static int control(struct vf_instance *vf, int request, void *data) | ~~~~~~^~~~ libmpcodecs/ve_x264.c: In function 'query_format': libmpcodecs/ve_x264.c:217:45: warning: unused parameter 'vf' [-Wunused-parameter] 217 | static int query_format(struct vf_instance *vf, unsigned int fmt) | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/ve_x264.c: In function 'put_image': mencoder.c: In function 'forward_audio': libmpcodecs/ve_x264.c:236:82: warning: unused parameter 'endpts' [-Wunused-parameter] 236 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ 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); | ^~~~~~~~~~~~~~~ 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:273:72: note: in expansion of macro 'MP_NOPTS_VALUE' 273 | 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:273:88: note: in expansion of macro 'MP_NOPTS_VALUE' 273 | muxer_write_chunk(mod->mux, i_size, keyframe?AVIIF_KEYFRAME:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/ve_x264.c: At top level: mencoder.c: In function 'slowseek': libmpcodecs/ve_x264.c:316:1: warning: missing initializer for field 'opts' of 'vf_info_t' {aka 'const struct vf_info_s'} [-Wmissing-field-initializers] 316 | }; | ^ libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ ./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); | ^~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~^~~~ ./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); | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'analyze_mpa': 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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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) | ^ mencoder.c: In function 'main': 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)) | ^~ 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, | ^ 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': 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_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) | ^~ In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae_lame.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | 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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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)) | ^~ 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) | ~~~~~~~~~~~~~^~~~~~ 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_lavf.c: In function 'mp_seek': libmpdemux/muxer_lavf.c:99:109: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long long unsigned int'} and 'int64_t' {aka 'long long int'} [-Wsign-compare] 99 | if(stream_control(muxer->stream, STREAM_CTRL_GET_SIZE, &size) == STREAM_UNSUPPORTED || size < pos) | ^ libmpcodecs/ve_xvid4.c: In function 'control': 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:489:52: warning: unused parameter 'data' [-Wunused-parameter] 489 | control(struct vf_instance *vf, int request, void* data) | ~~~~~~^~~~ libmpcodecs/ve_xvid4.c: In function 'query_format': libmpcodecs/ve_xvid4.c:507:34: warning: unused parameter 'vf' [-Wunused-parameter] 507 | query_format(struct vf_instance *vf, unsigned int fmt) | ~~~~~~~~~~~~~~~~~~~~^~ libmpdemux/muxer_lavf.c: In function 'fix_parameters': libmpdemux/muxer_lavf.c:195:17: warning: 'channels' is deprecated [-Wdeprecated-declarations] 195 | ctx->channels = stream->wf->nChannels; | ^~~ 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)) | ^~ In file included from /usr/include/libavformat/avformat.h:312, from libmpdemux/muxer_lavf.c:40: /usr/include/libavcodec/codec_par.h:166:14: note: declared here 166 | int channels; | ^~~~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_xvid4.c:51: libmpcodecs/ve_xvid4.c: In function 'put_image': 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) | ^~~~~~ 226 audio & 469 video codecs ./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); | ^~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c:232:40: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 232 | if(stream->bih->biSize > sizeof(*stream->bih)) | ^ ./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); | ^~~~~~~~~~~~~~ libmpdemux/muxer_lavf.c: In function 'write_chunk': 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_lavf.c:257:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 257 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c:526:71: warning: unused parameter 'endpts' [-Wunused-parameter] 526 | 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 | ^~ 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); | ^~~~~~~~~~~~~~ In file included from /usr/include/libavcodec/codec_par.h:33: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | 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++) | ^ ./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); | ^~~~~~~~~~~~~~ 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/ae_lavc.c: In function 'bind_lavc': libmpcodecs/ae_lavc.c:53:9: warning: 'channels' is deprecated [-Wdeprecated-declarations] 53 | mux_a->wf->nChannels = lavc_actx->channels; | ^~~~~ 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){ | ^~ 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) | ~~~~^~~~ In file included from libmpcodecs/ae_lavc.c:39: /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ 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': libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_chunk': libmpcodecs/ae_lavc.c:133:44: warning: unused parameter 'encoder' [-Wunused-parameter] 133 | static int get_frame_size(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c: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); | ^~~~~~~~~~~~~~ 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); | ^ libmpcodecs/ae_lavc.c:195:9: warning: 'channels' is deprecated [-Wdeprecated-declarations] 195 | lavc_actx->channels = encoder->params.channels; | ^~~~~~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libmpcodecs/ae_lavc.c:222:17: warning: 'channels' is deprecated [-Wdeprecated-declarations] 222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; | ^~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ ./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); | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2288:37: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2288 | if(s->buffer == NULL || len == -1) | ^~ libmpcodecs/ae_lavc.c:222:17: warning: 'channels' is deprecated [-Wdeprecated-declarations] 222 | int framesize = (blkalign - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; | ^~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libmpcodecs/ae_lavc.c:241:17: warning: 'channels' is deprecated [-Wdeprecated-declarations] 241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; | ^~~~~~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libmpdemux/muxer_lavf.c: In function 'write_header': libmpcodecs/ae_lavc.c:241:17: warning: 'channels' is deprecated [-Wdeprecated-declarations] 241 | lavc_actx->frame_size = (lavc_actx->block_align - 4 * lavc_actx->channels) * 8 / (4 * lavc_actx->channels) + 1; | ^~~~~~~~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./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); | ^~~~~~~~~~~~~~ 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 | ^~ mencoder.c:1506:52: note: in expansion of macro 'MP_NOPTS_VALUE' 1506 | drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~^~~~~~~ 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) | ~~~~~~~^~~~~~~ ./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); | ^~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:2278:106: warning: unused parameter 'pts_arg' [-Wunused-parameter] 2278 | static void mpegfile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts_arg, double pts_arg) | ~~~~~~~^~~~~~~ libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_index': ./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);} | ^~~~~~~~~~~~~~ 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': ./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); | ^~~~~~~~~~~~~~ libmpcodecs/ve_xvid4.c: In function 'flush_internal_buffers': libmpdemux/muxer_mpeg.c:2482:24: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long 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 | ^~ 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); | ^~~~~~~~~~~~~~ ./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); | ^~~~~~~~~~~~~~ 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; | ^~~~ 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 'config': 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': ./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:688:46: note: in expansion of macro 'MP_NOPTS_VALUE' 688 | while(encode_frame(vf, NULL, MP_NOPTS_VALUE) > 0); | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:683:63: warning: unused parameter 'data' [-Wunused-parameter] 683 | static int control(struct vf_instance *vf, int request, void* data){ | ~~~~~~^~~~ libmpcodecs/ve_lavc.c: In function 'query_format': libmpcodecs/ve_lavc.c:702:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 702 | if(lavc_param_format == fmt) | ^~ libmpcodecs/ve_lavc.c:695:45: warning: unused parameter 'vf' [-Wunused-parameter] 695 | static int query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/ve_lavc.c: In function 'put_image': libmpcodecs/ve_lavc.c:725:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations] 725 | pic->top_field_first= !!(mpi->fields & MP_IMGFIELD_TOP_FIRST); | ^~~ In file included from /usr/include/libavcodec/avcodec.h:36, from libmpcodecs/ve_lavc.c:58: /usr/include/libavutil/frame.h:538:9: note: declared here 538 | int top_field_first; | ^~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:727:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations] 727 | pic->top_field_first= 1; | ^~~ /usr/include/libavutil/frame.h:538:9: note: declared here 538 | int top_field_first; | ^~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:730:13: warning: 'top_field_first' is deprecated [-Wdeprecated-declarations] 730 | pic->top_field_first= lavc_param_top; | ^~~ /usr/include/libavutil/frame.h:538:9: note: declared here 538 | int top_field_first; | ^~~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:712:82: warning: unused parameter 'endpts' [-Wunused-parameter] 712 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts){ | ~~~~~~~^~~~~~ libmpcodecs/ve_lavc.c: In function 'encode_frame': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_lavc.c:742:15: note: in expansion of macro 'MP_NOPTS_VALUE' 742 | if(pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c:743:9: warning: 'frame_number' is deprecated [-Wdeprecated-declarations] 743 | pts= lavc_venc_context->frame_number * av_q2d(lavc_venc_context->time_base); | ^~~ /usr/include/libavcodec/avcodec.h:1106:9: note: declared here 1106 | int frame_number; | ^~~~~~~~~~~~ ./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:750:19: note: in expansion of macro 'MP_NOPTS_VALUE' 750 | 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:753:23: note: in expansion of macro 'MP_NOPTS_VALUE' 753 | pic->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, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./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:775:17: note: in expansion of macro 'MP_NOPTS_VALUE' 775 | dts = pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of 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) { | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of 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:671:16: note: in expansion of macro 'MP_NOPTS_VALUE' 671 | 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:677:41: note: in expansion of macro 'MP_NOPTS_VALUE' 677 | if (sh_audio->pts_bytes && a_pts == MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ libmpcodecs/ve_lavc.c: At top level: libmpcodecs/ve_lavc.c:997:1: warning: missing initializer for field 'opts' of 'vf_info_t' {aka 'const struct vf_info_s'} [-Wmissing-field-initializers] 997 | }; | ^ libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ libmpdemux/demuxer.h:98:29: warning: left shift of 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:680:18: note: in expansion of macro 'MP_NOPTS_VALUE' 680 | if (a_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 -O2 -fno-PIC -fno-PIE -marm -D_REENTRANT -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o codec-cfg.o codec-cfg.c 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; | ^ libmpdemux/demux_real.c: In function 'demux_open_real': libmpdemux/demux_real.c:1337:30: warning: argument 1 value '4294967041' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 1337 | buft = malloc(i+1); | ^~~~~~~~~~~ In file included from /usr/include/fortify/stdlib.h:23, from libmpdemux/demux_real.c:38: /usr/include/stdlib.h:40:7: note: in a call to allocation function 'malloc' declared here 40 | void *malloc (size_t); | ^~~~~~ libmpdemux/demux_real.c:1344:30: warning: argument 1 value '4294967041' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 1344 | buft = malloc(i+1); | ^~~~~~~~~~~ /usr/include/stdlib.h:40:7: note: in a call to allocation function 'malloc' declared here 40 | void *malloc (size_t); | ^~~~~~ libmpdemux/demux_real.c:1351:30: warning: argument 1 value '4294967041' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 1351 | buft = malloc(i+1); | ^~~~~~~~~~~ /usr/include/stdlib.h:40:7: note: in a call to allocation function 'malloc' declared here 40 | void *malloc (size_t); | ^~~~~~ libmpdemux/demux_mov.c: In function 'lschunks_intrak': libmpdemux/demux_mov.c:1701:19: warning: argument 1 value '4294967041' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 1701 | char* str = malloc(len + 1); | ^~~~~~~~~~~~~~~ In file included from /usr/include/fortify/stdlib.h:23, from libmpdemux/demux_mov.c:43: /usr/include/stdlib.h:40:7: note: in a call to allocation function 'malloc' declared here 40 | void *malloc (size_t); | ^~~~~~ libmpdemux/demux_mov.c:1787:22: warning: argument 1 value '4294967040' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=] 1787 | trak->durmap = calloc(len, sizeof(mov_durmap_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:41:7: note: in a call to allocation function 'calloc' declared here 41 | void *calloc (size_t, size_t); | ^~~~~~ 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_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 -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 >>> 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 -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 -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/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 mplayer /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/bin 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 >>> 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_git20230717-r1.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.60 so:libavformat.so.60 so:libavutil.so.58 so:libc.musl-armv7.so.1 so:libcdio.so.19 so:libcdio_cdda.so.2 so:libcdio_paranoia.so.2 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.57 so:libswresample.so.4 so:libswscale.so.7 so:libtheoradec.so.1 so:libvdpau.so.1 so:libx264.so.164 so:libxvidcore.so.4 so:libz.so.1 >>> mplayer*: Package size: 4.8 MB >>> mplayer*: Compressing data... >>> mplayer*: Create checksum... >>> mplayer*: Create mplayer-1.5.0_git20230717-r1.apk >>> mplayer: Build complete at Thu, 25 Apr 2024 10:09:55 +0000 elapsed time 0h 0m 21s >>> mplayer: Cleaning up srcdir >>> mplayer: Cleaning up pkgdir >>> mplayer: Uninstalling dependencies... (1/178) Purging .makedepends-mplayer (20240425.100940) (2/178) Purging alsa-lib-dev (1.2.11-r0) (3/178) Purging faac-dev (1.30-r5) (4/178) Purging faac (1.30-r5) (5/178) Purging ffmpeg-dev (6.1.1-r6) (6/178) Purging ffmpeg-libavdevice (6.1.1-r6) (7/178) Purging ffmpeg-libavfilter (6.1.1-r6) (8/178) Purging ffmpeg-libavformat (6.1.1-r6) (9/178) Purging ffmpeg-libpostproc (6.1.1-r6) (10/178) Purging ffmpeg-libswscale (6.1.1-r6) (11/178) Purging fontconfig-dev (2.15.0-r1) (12/178) Purging freetype-dev (2.13.2-r0) (13/178) Purging lame-dev (3.100-r5) (14/178) Purging libao-dev (1.2.2-r2) (15/178) Purging libao (1.2.2-r2) (16/178) Purging libcdio-paranoia-dev (10.2.2.0.1-r2) (17/178) Purging libcdio-paranoia (10.2.2.0.1-r2) (18/178) Purging libdvdread-dev (6.1.3-r2) (19/178) Purging libdvdread (6.1.3-r2) (20/178) Purging libmad-dev (0.15.1b-r9) (21/178) Purging libmad (0.15.1b-r9) (22/178) Purging libpng-dev (1.6.43-r0) (23/178) Purging libtheora-dev (1.1.1-r18) (24/178) Purging libvdpau-dev (1.5-r3) (25/178) Purging libxvmc-dev (1.0.14-r1) (26/178) Purging libxvmc (1.0.14-r1) (27/178) Purging libxxf86dga-dev (1.1.6-r3) (28/178) Purging libxxf86dga (1.1.6-r3) (29/178) Purging nasm (2.16.03-r0) (30/178) Purging sdl2-dev (2.28.5-r1) (31/178) Purging sdl2 (2.28.5-r1) (32/178) Purging mesa-dev (24.0.5-r0) (33/178) Purging libxdamage-dev (1.1.6-r5) (34/178) Purging libxdamage (1.1.6-r5) (35/178) Purging libxshmfence-dev (1.3.2-r6) (36/178) Purging mesa-egl (24.0.5-r0) (37/178) Purging mesa-gbm (24.0.5-r0) (38/178) Purging mesa-gl (24.0.5-r0) (39/178) Purging mesa-gles (24.0.5-r0) (40/178) Purging mesa-osmesa (24.0.5-r0) (41/178) Purging mesa-xatracker (24.0.5-r0) (42/178) Purging mesa (24.0.5-r0) (43/178) Purging x264-dev (0.164_git20231001-r0) (44/178) Purging xvidcore-dev (1.3.7-r2) (45/178) Purging zlib-dev (1.3.1-r1) (46/178) Purging brotli-dev (1.1.0-r2) (47/178) Purging brotli (1.1.0-r2) (48/178) Purging expat-dev (2.6.2-r0) (49/178) Purging expat (2.6.2-r0) (50/178) Purging ffmpeg-libavcodec (6.1.1-r6) (51/178) Purging ffmpeg-libswresample (6.1.1-r6) (52/178) Purging lame-libs (3.100-r5) (53/178) Purging libass (0.17.1-r2) (54/178) Purging libbluray (1.3.4-r1) (55/178) Purging libcdio-dev (2.1.0-r3) (56/178) Purging libcdio++ (2.1.0-r3) (57/178) Purging libcdio (2.1.0-r3) (58/178) Purging libdav1d (1.4.1-r0) (59/178) Purging libdrm-dev (2.4.120-r0) (60/178) Purging linux-headers (6.6-r0) (61/178) Purging libdvdcss-dev (1.4.3-r0) (62/178) Purging libdvdcss (1.4.3-r0) (63/178) Purging libjxl (0.9.1-r0) (64/178) Purging libogg-dev (1.3.5-r5) (65/178) Purging libopenmpt (0.7.6-r0) (66/178) Purging libpciaccess-dev (0.18.1-r0) (67/178) Purging libplacebo (6.338.2-r1) (68/178) Purging libpulse (17.0-r0) (69/178) Purging librist (0.2.10-r1) (70/178) Purging libsndfile (1.2.2-r0) (71/178) Purging libsrt (1.5.3-r0) (72/178) Purging libssh (0.10.6-r0) (73/178) Purging libtheora (1.1.1-r18) (74/178) Purging libunibreak (6.1-r0) (75/178) Purging libvorbis (1.3.7-r2) (76/178) Purging libvpx (1.14.0-r0) (77/178) Purging libwebpmux (1.3.2-r0) (78/178) Purging libxfixes-dev (6.0.1-r4) (79/178) Purging libxshmfence (1.3.2-r6) (80/178) Purging libxv-dev (1.0.12-r5) (81/178) Purging libxv (1.0.12-r5) (82/178) Purging libxxf86vm-dev (1.1.5-r6) (83/178) Purging libxxf86vm (1.1.5-r6) (84/178) Purging libzmq (4.3.5-r2) (85/178) Purging lilv-libs (0.24.24-r1) (86/178) Purging llvm17-libs (17.0.6-r1) (87/178) Purging mbedtls (3.6.0-r0) (88/178) Purging mesa-glapi (24.0.5-r0) (89/178) Purging mpg123-libs (1.32.6-r0) (90/178) Purging openexr-libopenexr (3.1.13-r1) (91/178) Purging opus (1.4-r0) (92/178) Purging orc (0.4.37-r0) (93/178) Purging python3-pyc (3.12.3-r1) (94/178) Purging python3-pycache-pyc0 (3.12.3-r1) (95/178) Purging xcb-proto-pyc (1.16.0-r1) (96/178) Purging pyc (3.12.3-r1) (97/178) Purging rav1e-libs (0.7.1-r0) (98/178) Purging shaderc (2024.0-r0) (99/178) Purging soxr (0.1.3-r7) (100/178) Purging speexdsp (1.2.1-r2) (101/178) Purging spirv-tools (1.3.261.1-r0) (102/178) Purging sratom (0.6.16-r0) (103/178) Purging tdb-libs (1.4.9-r1) (104/178) Purging v4l-utils-libs (1.24.1-r1) (105/178) Purging vidstab (1.1.1-r0) (106/178) Purging vulkan-loader (1.3.261.1-r0) (107/178) Purging wayland-libs-server (1.22.0-r4) (108/178) Purging x264-libs (0.164_git20231001-r0) (109/178) Purging x265-libs (3.6-r0) (110/178) Purging xvidcore (1.3.7-r2) (111/178) Purging zimg (3.0.5-r2) (112/178) Purging alsa-lib (1.2.11-r0) (113/178) Purging aom-libs (3.8.2-r0) (114/178) Purging dbus-libs (1.14.10-r1) (115/178) Purging ffmpeg-libavutil (6.1.1-r6) (116/178) Purging fontconfig (2.15.0-r1) (117/178) Purging harfbuzz (8.4.0-r0) (118/178) Purging freetype (2.13.2-r0) (119/178) Purging fribidi (1.0.13-r0) (120/178) Purging libxext-dev (1.3.6-r2) (121/178) Purging libx11-dev (1.8.9-r1) (122/178) Purging xtrans (1.5.0-r0) (123/178) Purging libxcb-dev (1.16.1-r0) (124/178) Purging xcb-proto (1.16.0-r1) (125/178) Purging python3 (3.12.3-r1) (126/178) Purging gdbm (1.23-r1) (127/178) Purging giflib (5.2.2-r0) (128/178) Purging glib (2.80.0-r3) (129/178) Purging glslang-libs (1.3.261.1-r0) (130/178) Purging graphite2 (1.3.14-r6) (131/178) Purging libva (2.21.0-r0) (132/178) Purging libdrm (2.4.120-r0) (133/178) Purging libpciaccess (0.18.1-r0) (134/178) Purging hwdata-pci (0.381-r0) (135/178) Purging imath (3.1.11-r2) (136/178) Purging lcms2 (2.16-r0) (137/178) Purging libasyncns (0.8-r3) (138/178) Purging libmount (2.40-r2) (139/178) Purging libblkid (2.40-r2) (140/178) Purging libxdmcp-dev (1.1.5-r1) (141/178) Purging libvdpau (1.5-r3) (142/178) Purging libxext (1.3.6-r2) (143/178) Purging libxfixes (6.0.1-r4) (144/178) Purging libx11 (1.8.9-r1) (145/178) Purging libxcb (1.16.1-r0) (146/178) Purging libxdmcp (1.1.5-r1) (147/178) Purging libbsd (0.12.2-r0) (148/178) Purging libbz2 (1.0.8-r6) (149/178) Purging libdovi (3.2.0-r1) (150/178) Purging libeconf (0.6.2-r0) (151/178) Purging wayland-libs-client (1.22.0-r4) (152/178) Purging libffi (3.4.6-r0) (153/178) Purging libflac (1.4.3-r1) (154/178) Purging libhwy (1.0.7-r0) (155/178) Purging libintl (0.22.5-r0) (156/178) Purging libjpeg-turbo (3.0.2-r0) (157/178) Purging libltdl (2.4.7-r3) (158/178) Purging libmd (1.1.0-r0) (159/178) Purging libogg (1.3.5-r5) (160/178) Purging libpanelw (6.4_p20240330-r0) (161/178) Purging libpng (1.6.43-r0) (162/178) Purging libwebp (1.3.2-r0) (163/178) Purging libsharpyuv (1.3.2-r0) (164/178) Purging libsodium (1.0.19-r0) (165/178) Purging libxau-dev (1.0.11-r4) (166/178) Purging libxau (1.0.11-r4) (167/178) Purging libxml2 (2.12.6-r2) (168/178) Purging mpdecimal (4.0.0-r0) (169/178) Purging numactl (2.0.18-r0) (170/178) Purging openexr-libilmthread (3.1.13-r1) (171/178) Purging openexr-libiex (3.1.13-r1) (172/178) Purging readline (8.2.10-r0) (173/178) Purging sord-libs (0.16.16-r0) (174/178) Purging serd-libs (0.32.2-r0) (175/178) Purging sqlite-libs (3.45.3-r0) (176/178) Purging xorgproto (2024.1-r0) (177/178) Purging xz-libs (5.6.1-r3) (178/178) Purging zix-libs (0.4.2-r0) Executing busybox-1.36.1-r25.trigger OK: 454 MiB in 105 packages >>> mplayer: Updating the community/armv7 repository index... >>> mplayer: Signing the index...