>>> mplayer: Building community/mplayer 1.5.0_git20230717-r1 (using abuild 3.12.0-r0) started Wed, 13 Dec 2023 19:50:05 +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/182) Installing alsa-lib (1.2.10-r0) (2/182) Installing alsa-lib-dev (1.2.10-r0) (3/182) Installing faac (1.30-r5) (4/182) Installing faac-dev (1.30-r5) (5/182) Installing libSvtAv1Enc (1.8.0-r0) (6/182) Installing aom-libs (3.7.1-r0) (7/182) Installing libxau (1.0.11-r3) (8/182) Installing libmd (1.1.0-r0) (9/182) Installing libbsd (0.11.7-r3) (10/182) Installing libxdmcp (1.1.4-r3) (11/182) Installing libxcb (1.16-r0) (12/182) Installing libx11 (1.8.7-r0) (13/182) Installing hwdata-pci (0.377.2-r0) (14/182) Installing libpciaccess (0.17-r2) (15/182) Installing libdrm (2.4.118-r0) (16/182) Installing libxext (1.3.5-r3) (17/182) Installing libxfixes (6.0.1-r3) (18/182) Installing libffi (3.4.4-r3) (19/182) Installing wayland-libs-client (1.22.0-r4) (20/182) Installing libva (2.20.0-r0) (21/182) Installing libvdpau (1.5-r2) (22/182) Installing ffmpeg-libavutil (6.1-r0) (23/182) Installing libdav1d (1.3.0-r0) (24/182) Installing libhwy (1.0.7-r0) (25/182) Installing lcms2 (2.16-r0) (26/182) Installing libjxl (0.8.2-r0) (27/182) Installing lame-libs (3.100-r5) (28/182) Installing opus (1.4-r0) (29/182) Installing rav1e-libs (0.6.6-r2) (30/182) Installing soxr (0.1.3-r7) (31/182) Installing ffmpeg-libswresample (6.1-r0) (32/182) Installing libogg (1.3.5-r5) (33/182) Installing libtheora (1.1.1-r18) (34/182) Installing libvorbis (1.3.7-r2) (35/182) Installing libvpx (1.13.1-r0) (36/182) Installing libsharpyuv (1.3.2-r0) (37/182) Installing libwebp (1.3.2-r0) (38/182) Installing libwebpmux (1.3.2-r0) (39/182) Installing x264-libs (0.164_git20231001-r0) (40/182) Installing numactl (2.0.16-r4) (41/182) Installing x265-libs (3.5-r4) (42/182) Installing xvidcore (1.3.7-r2) (43/182) Installing ffmpeg-libavcodec (6.1-r0) (44/182) Installing sdl2 (2.28.5-r0) (45/182) Installing libbz2 (1.0.8-r6) (46/182) Installing libpng (1.6.40-r0) (47/182) Installing freetype (2.13.2-r0) (48/182) Installing fontconfig (2.14.2-r4) (49/182) Installing fribidi (1.0.13-r0) (50/182) Installing libintl (0.22.3-r0) (51/182) Installing libblkid (2.39.3-r0) (52/182) Installing libmount (2.39.3-r0) (53/182) Installing glib (2.78.3-r0) (54/182) Installing graphite2 (1.3.14-r6) (55/182) Installing harfbuzz (8.3.0-r0) (56/182) Installing libunibreak (5.1-r3) (57/182) Installing libass (0.17.1-r1) (58/182) Installing libbluray (1.3.4-r1) (59/182) Installing mpg123-libs (1.32.3-r0) (60/182) Installing libopenmpt (0.7.3-r1) (61/182) Installing mbedtls (2.28.6-r0) (62/182) Installing librist (0.2.10-r0) (63/182) Installing libsrt (1.5.3-r0) (64/182) Installing libssh (0.10.5-r0) (65/182) Installing xz-libs (5.4.5-r0) (66/182) Installing libxml2 (2.11.6-r0) (67/182) Installing libsodium (1.0.19-r0) (68/182) Installing libzmq (4.3.5-r2) (69/182) Installing ffmpeg-libavformat (6.1-r0) (70/182) Installing serd-libs (0.32.0-r0) (71/182) Installing zix-libs (0.4.2-r0) (72/182) Installing sord-libs (0.16.16-r0) (73/182) Installing sratom (0.6.16-r0) (74/182) Installing lilv-libs (0.24.22-r0) (75/182) Installing glslang-libs (1.3.261.1-r0) (76/182) Installing libdovi (3.2.0-r1) (77/182) Installing spirv-tools (1.3.261.1-r0) (78/182) Installing shaderc (2023.7-r0) (79/182) Installing vulkan-loader (1.3.261.1-r0) (80/182) Installing libplacebo (6.338.1-r0) (81/182) Installing ffmpeg-libpostproc (6.1-r0) (82/182) Installing ffmpeg-libswscale (6.1-r0) (83/182) Installing vidstab (1.1.1-r0) (84/182) Installing zimg (3.0.5-r2) (85/182) Installing ffmpeg-libavfilter (6.1-r0) (86/182) Installing libasyncns (0.8-r2) (87/182) Installing dbus-libs (1.14.10-r0) (88/182) Installing libltdl (2.4.7-r3) (89/182) Installing orc (0.4.34-r0) (90/182) Installing libflac (1.4.3-r1) (91/182) Installing libsndfile (1.2.2-r0) (92/182) Installing speexdsp (1.2.1-r2) (93/182) Installing tdb-libs (1.4.9-r0) (94/182) Installing libpulse (16.1-r11) (95/182) Installing libjpeg-turbo (3.0.1-r0) (96/182) Installing v4l-utils-libs (1.24.1-r1) (97/182) Installing ffmpeg-libavdevice (6.1-r0) (98/182) Installing ffmpeg-dev (6.1-r0) (99/182) Installing expat (2.5.0-r2) (100/182) Installing expat-dev (2.5.0-r2) (101/182) Installing brotli (1.1.0-r1) (102/182) Installing brotli-dev (1.1.0-r1) (103/182) Installing zlib-dev (1.3-r2) (104/182) Installing libpng-dev (1.6.40-r0) (105/182) Installing freetype-dev (2.13.2-r0) (106/182) Installing fontconfig-dev (2.14.2-r4) (107/182) Installing lame-dev (3.100-r5) (108/182) Installing libao (1.2.2-r2) (109/182) Installing libao-dev (1.2.2-r2) (110/182) Installing libcdio (2.1.0-r3) (111/182) Installing libcdio-paranoia (10.2.2.0.1-r2) (112/182) Installing libcdio++ (2.1.0-r3) (113/182) Installing libcdio-dev (2.1.0-r3) (114/182) Installing libcdio-paranoia-dev (10.2.2.0.1-r2) (115/182) Installing libdvdcss (1.4.3-r0) (116/182) Installing libdvdread (6.1.3-r2) (117/182) Installing libdvdcss-dev (1.4.3-r0) (118/182) Installing libdvdread-dev (6.1.3-r2) (119/182) Installing libmad (0.15.1b-r9) (120/182) Installing libmad-dev (0.15.1b-r9) (121/182) Installing libogg-dev (1.3.5-r5) (122/182) Installing libtheora-dev (1.1.1-r18) (123/182) Installing libvdpau-dev (1.5-r2) (124/182) Installing libxv (1.0.12-r4) (125/182) Installing xorgproto (2023.2-r0) (126/182) Installing libxau-dev (1.0.11-r3) (127/182) Installing gdbm (1.23-r1) (128/182) Installing mpdecimal (2.5.1-r2) (129/182) Installing libpanelw (6.4_p20231125-r0) (130/182) Installing readline (8.2.1-r2) (131/182) Installing sqlite-libs (3.44.2-r0) (132/182) Installing python3 (3.11.6-r1) (133/182) Installing python3-pycache-pyc0 (3.11.6-r1) (134/182) Installing pyc (3.11.6-r1) (135/182) Installing xcb-proto-pyc (1.16.0-r0) (136/182) Installing python3-pyc (3.11.6-r1) (137/182) Installing xcb-proto (1.16.0-r0) (138/182) Installing libxdmcp-dev (1.1.4-r3) (139/182) Installing libxcb-dev (1.16-r0) (140/182) Installing xtrans (1.5.0-r0) (141/182) Installing libx11-dev (1.8.7-r0) (142/182) Installing libxext-dev (1.3.5-r3) (143/182) Installing libxv-dev (1.0.12-r4) (144/182) Installing libxvmc (1.0.13-r4) (145/182) Installing libxvmc-dev (1.0.13-r4) (146/182) Installing libxxf86dga (1.1.6-r2) (147/182) Installing libxxf86dga-dev (1.1.6-r2) (148/182) Installing linux-headers (6.5-r0) (149/182) Installing libpciaccess-dev (0.17-r2) (150/182) Installing libdrm-dev (2.4.118-r0) (151/182) Installing libxdamage (1.1.6-r4) (152/182) Installing libxfixes-dev (6.0.1-r3) (153/182) Installing libxdamage-dev (1.1.6-r4) (154/182) Installing libxshmfence (1.3.2-r5) (155/182) Installing libxshmfence-dev (1.3.2-r5) (156/182) Installing mesa (23.3.0-r1) (157/182) Installing wayland-libs-server (1.22.0-r4) (158/182) Installing mesa-gbm (23.3.0-r1) (159/182) Installing mesa-glapi (23.3.0-r1) (160/182) Installing mesa-egl (23.3.0-r1) (161/182) Installing libxxf86vm (1.1.5-r5) (162/182) Installing mesa-gl (23.3.0-r1) (163/182) Installing mesa-gles (23.3.0-r1) (164/182) Installing llvm17-libs (17.0.5-r0) (165/182) Installing mesa-osmesa (23.3.0-r1) (166/182) Installing clang17-headers (17.0.5-r0) (167/182) Installing libclc (17.0.5-r0) (168/182) Installing spirv-llvm-translator-libs (17.0.0-r0) (169/182) Installing clang17-libs (17.0.5-r0) (170/182) Installing libelf (0.190-r1) (171/182) Installing mesa-rusticl (23.3.0-r1) (172/182) Installing mesa-xatracker (23.3.0-r1) (173/182) Installing libxxf86vm-dev (1.1.5-r5) (174/182) Installing mesa-dev (23.3.0-r1) (175/182) Installing nasm (2.16.01-r2) (176/182) Installing tslib (1.22-r1) (177/182) Installing directfb (1.7.7-r7) (178/182) Installing directfb-dev (1.7.7-r7) (179/182) Installing sdl2-dev (2.28.5-r0) (180/182) Installing x264-dev (0.164_git20231001-r0) (181/182) Installing xvidcore-dev (1.3.7-r2) (182/182) Installing .makedepends-mplayer (20231213.195006) Executing busybox-1.36.1-r16.trigger Executing glib-2.78.3-r0.trigger OK: 961 MiB in 287 packages >>> mplayer: Cleaning up srcdir >>> mplayer: Cleaning up pkgdir >>> mplayer: Cleaning up tmpdir >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mplayer-1.5.0_git20230717.tar.xz >>> mplayer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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: aarch64 Checking for cross compilation ... no Checking for host cc ... gcc Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for relocatable binary ... no (unavailable or untested architecture) Checking for PIC ... no Checking for as_func ... no Checking for ARMv5TE (Enhanced DSP Extensions) ... no Checking for ARMv6 (SIMD instructions) ... no Checking for ARMv6t2 (SIMD instructions) ... no Checking for ARM VFP ... yes Checking for ARM VFPV3 ... no Checking for ARM setend ... no Checking for softfloat ABI ... no Checking for ARM NEON ... yes Checking for ARM NEON intrinsics ... yes Checking for ARM THUMB ... no Checking for iWMMXt (Intel XScale SIMD instructions) ... no Checking for langinfo ... yes Checking for NLS ... no Checking for language ... messages: en - man pages: cs de en es fr hu it pl ru zh_CN - documentation: cs de en es fr hu it pl ru zh_CN Checking for enable sighandler ... yes Checking for runtime cpudetection ... yes Checking for restrict keyword ... restrict Checking for __builtin_expect ... yes Checking for kstat ... no Checking for atanf ... yes Checking for cbrt ... yes Checking for cbrtf ... yes Checking for cosf ... yes Checking for expf ... yes Checking for exp2 ... yes Checking for exp2f ... yes Checking for isnan ... yes Checking for isfinite ... yes Checking for isinf ... yes Checking for llrint ... yes Checking for llrintf ... yes Checking for log2 ... yes Checking for log2f ... yes Checking for log10f ... yes Checking for lrint ... yes Checking for lrintf ... yes Checking for rint ... yes Checking for round ... yes Checking for roundf ... yes Checking for sinf ... yes Checking for trunc ... yes Checking for truncf ... yes Checking for erf ... yes Checking for atan2f ... yes Checking for fminf ... yes Checking for ldexpf ... yes Checking for powf ... yes Checking for hypot ... yes Checking for mkstemp ... yes Checking for gmtime_r ... yes Checking for localtime_r ... yes Checking for nanosleep ... yes Checking for windows.h ... no Checking for socklib ... yes Checking for struct pollfd ... yes Checking for netdb.h, struct addrinfo ... yes Checking for netdb.h, getaddrinfo() ... yes Checking for sockaddr_storage ... yes Checking for struct ipv6_mreq ... yes Checking for struct sockaddr_in6 ... yes Checking for struct sockaddr sa_len ... no Checking for arpa/inet.h ... yes Checking for inet_pton() ... yes Checking for inet_aton() ... yes Checking for socklen_t ... yes Checking for closesocket() ... no Checking for networking ... yes Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for SCTP ... no Checking for sys/un.h ... yes Checking for sys/poll.h ... yes Checking for unistd.h ... yes Checking for emmintrin.h (SSE intrinsics) ... no Checking for inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.h ... yes Checking for stdatomic.h ... yes Checking for malloc.h ... yes Checking for aligned malloc ... no Checking for memalign() ... yes Checking for posix_memalign() ... yes Checking for alloca.h ... yes Checking for fastmemcpy ... yes Checking for hard-coded tables ... no Checking for mman.h ... yes Checking for mprotect ... yes Checking for dynamic loader ... yes Checking for dynamic a/v plugins support ... no Checking for pthread ... yes Checking for pthread_cancel ... yes Checking for direct.h ... no Checking for io.h ... no Checking for rpath ... no Checking for iconv ... yes Checking for soundcard.h ... yes (sys/soundcard.h) Checking for termcap ... no Checking for termios ... yes (using termios.h) Checking for shm ... yes Checking for strsep() ... yes Checking for vsscanf() ... yes Checking for POSIX select() ... yes Checking for audio select() ... yes Checking for gettimeofday() ... yes Checking for clock_gettime() ... yes Checking for glob() ... yes Checking for setenv() ... yes Checking for setmode() ... no Checking for sys/sysinfo.h ... yes Checking for Apple IR ... yes Checking for pkg-config ... yes Checking for GnuTLS ... no Checking for OpenSSL ... no Checking for Samba support (libsmbclient) ... no Checking for /dev/mga_vid ... no Checking for tdfxfb ... no Checking for s3fb ... no Checking for wii ... no Checking for tdfxvid ... no Checking for xvr100 ... no Checking for tga ... yes Checking for md5sum support ... yes Checking for yuv4mpeg support ... yes Checking for bl ... no Checking for DirectFB ... yes Checking for X11 headers presence ... yes Checking for X11 ... yes Checking for Xss screensaver extensions ... no Checking for DPMS ... yes (using Xdpms 4) Checking for Xv ... yes Checking for XvMC ... yes (using XvMCW) Checking for Video Decode Acceleration (VDA) ... no Checking for VDPAU ... yes Checking for Xinerama ... no Checking for Xxf86vm ... yes Checking for XF86keysym ... yes Checking for DGA ... yes (using DGA 2.0) Checking for xmga ... no Checking for 3dfx ... no Checking for VIDIX ... no Checking for GGI ... no Checking for GGI extension: libggiwmh ... no Checking for AA ... no Checking for CACA ... no Checking for SVGAlib ... no Checking for FBDev ... yes Checking for DVB ... yes Checking for PNG support ... yes Checking for MNG support ... no Checking for JPEG support ... no Checking for OpenJPEG (JPEG 2000) support ... no (dynamic linking to libopenjpeg is irrelevant when using dynamic FFmpeg) Checking for PNM support ... yes Checking for GIF support ... no Checking for VESA support ... no Checking for SDL ... no Checking for SDL image ... no Checking for OpenGL ... yes (backends: x11 egl_x11) Checking for MatrixView ... yes Checking for DXR2 ... no Checking for DXR3/H+ ... no Checking for V4L2 MPEG Decoder ... yes Checking for OSS Audio ... yes Checking for aRts ... no Checking for EsounD ... no Checking for NAS ... no Checking for pulse ... no Checking for JACK ... no Checking for OpenAL ... no Checking for ALSA audio ... yes Checking for Sun audio ... no Checking for sndio audio ... no Checking for VCD support ... yes Checking for Blu-ray support ... no Checking for dvdread ... yes Checking for libcdio ... yes Checking for cdparanoia ... no (using libcdio) Checking for bitmap font support ... yes Checking for freetype >= 2.0.9 ... yes Checking for fontconfig ... yes Checking for fribidi with charsets ... no Checking for SSA/ASS support ... yes Checking for ENCA ... no Checking for zlib ... yes Checking for bzlib ... no Checking for RTC ... yes Checking for liblzo2 support ... no Checking for mad support ... yes Checking for Twolame ... no Checking for Toolame ... no Checking for OggVorbis support ... no Checking for libspeex (version >= 1.1 required) ... no Checking for libgsm ... no Checking for OggTheora support ... yes Checking for mpg123 support ... no Checking for liba52 support ... no Checking for libmpeg2 support ... no Checking for libdca support ... no Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no Checking for FAAC support ... yes Checking for FAAD2 support ... no Checking for libilbc support ... no Checking for libopus decoding support ... no Checking for LADSPA plugin support ... no Checking for libbs2b audio filter support ... no Checking for Win32 codecs ... no Checking for XAnim codecs ... yes (dynamic loader support needed) Checking for RealPlayer codecs ... yes (dynamic loader support needed) Checking for QuickTime codecs ... auto Checking for Nemesi Streaming Media libraries ... no Checking for LIVE555 Streaming Media libraries ... no Checking for RTMPDump Streaming Media library ... no Checking for FFmpeg ... yes (using shared FFmpeg, but static FFmpeg is recommended) Checking for libpostproc ... yes Checking for libxml2 ... no (dynamic linking to libxml2 is irrelevant when using dynamic FFmpeg) Checking for libopencore_amr narrowband ... no (ffmpeg (static) is required by libopencore_amrnb, sorry) Checking for libopencore_amr wideband ... no (ffmpeg (static) is required by libopencore_amrwb, sorry) Checking for libdv-0.9.5+ ... no Checking for CrystalHD ... no Checking for Xvid ... yes Checking for Xvid two pass plugin ... yes Checking for x264 ... yes (in FFmpeg: yes) Checking for libvpx ... no (dynamic linking to libvpx is irrelevant when using dynamic FFmpeg) Checking for libdav1d ... no (dynamic linking to libdav1d is irrelevant when using dynamic FFmpeg) Checking for libaom ... no (dynamic linking to libaom is irrelevant when using dynamic FFmpeg) Checking for libnut ... no Checking for zr ... no Checking for libmp3lame ... yes (in FFmpeg: yes) Checking for mencoder ... yes Checking for UnRAR executable ... yes Checking for TV interface ... yes Checking for DirectShow TV interface ... no Checking for Video 4 Linux TV interface ... no Checking for Video 4 Linux 2 TV interface ... yes Checking for Radio interface ... yes Checking for Capture for Radio interface ... yes Checking for Video 4 Linux 2 Radio interface ... yes Checking for Video 4 Linux Radio interface ... no Checking for Video 4 Linux 2 MPEG PVR interface ... yes Checking for ftp ... yes Checking for vstream client ... no Checking for OSD menu ... no Checking for Subtitles sorting ... yes Checking for XMMS inputplugin support ... no Checking for GUI ... no Checking for automatic gdb attach ... no Checking for compiler support for noexecstack ... yes Checking for linker support for --nxcompat --no-seh --dynamicbase ... no Checking for linker support for --large-address-aware ... no Checking for linker support for --version-script ... yes Checking for joystick ... no Checking for lirc ... no Checking for lircc ... no Checking for maemo (Nokia 770|8x0) ... no Checking for DVD support (libdvdnav) ... Package dvdnav was not found in the pkg-config search path. Perhaps you should add the directory containing `dvdnav.pc' to the PKG_CONFIG_PATH environment variable Package 'dvdnav', required by 'virtual:world', not found Package dvdnav was not found in the pkg-config search path. Perhaps you should add the directory containing `dvdnav.pc' to the PKG_CONFIG_PATH environment variable Package 'dvdnav', required by 'virtual:world', not found no Checking for XML catalogs ... No SGML catalog found. Checking for XML chunked stylesheet ... not found, using default Checking for XML monolithic stylesheet ... not found, using default Checking for XML DTD ... not found, using default Checking for valid XSLT processor ... xsltproc not found Creating config.mak Creating config.h Config files successfully generated by ./configure --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-gif --disable-arts --enable-x11 --confdir=/etc/mplayer --disable-nas --enable-gl --disable-tv-v4l1 --enable-tv-v4l2 --disable-ffmpeg_a --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --language=all --disable-esd --disable-mga --disable-lirc --enable-debug --enable-radio --enable-radio-capture --extra-cflags=-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 directfb dfbmga yuv4mpeg md5sum tga Disabled optional drivers: Input: dvdnav vstream tv-v4l1 tv-dshow librtmp live555 nemesi bluray smb Codecs: libaom libdav1d libvpx crystalhd libdv libopencore_amrwb libopencore_amrnb qtx win32 libopus ilbc faad2 musepack libdca libmpeg2 liba52 mpg123 libgsm speex libvorbis toolame twolame liblzo gif OpenJPEG Audio output: sndio sun openal jack pulse nas esd arts dxr2 sdl Video output: zr zr2 dxr3 dxr2 sdl vesa gif89a jpeg mng svga caca aa ggi xvidix winvidix cvidix 3dfx xmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga 'config.h' and 'config.mak' contain your configuration options. Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer compile *** DO NOT REPORT BUGS if you tweak these files *** 'make' will now compile MPlayer and 'make install' will install it. Note: On non-Linux systems you might need to use 'gmake' instead of 'make'. NOTE: Win32 codec DLLs are not supported on your CPU (aarch64) or your operating system (Linux). You may encounter a few files that cannot be played due to missing open source video/audio codec support. Check config.log if you wonder why an autodetection failed (make sure development headers/packages are installed). NOTE: The --enable-* parameters unconditionally force options on, completely skipping autodetection. This behavior is unlike what you may be used to from autoconf-based configure scripts that can decide to override you. This greater level of control comes at a price. You may have to provide the correct compiler and linker flags yourself. If you used one of these options (except --enable-menu and similar ones that turn on internal features) and experience a compilation or linking failure, make sure you have passed the necessary compiler/linker flags to configure. If you suspect a bug, please read DOCS/HTML/cs de en es fr hu it pl ru zh_CN/bugreports.html. WARNING: --enable-runtime-cpudetection is not fully supported on Arm, it only compiles for your compilers default target instead of the host CPU (-march=native). MPlayer compilation will use the CPPFLAGS/CFLAGS/LDFLAGS/YASMFLAGS set by you, but: *** *** DO NOT REPORT BUGS IF IT DOES NOT COMPILE/WORK! *** *** It is strongly recommended to let MPlayer choose the correct *FLAGS! To do so, remove *FLAGS from the environment an re-run configure. You can use --extra-*flags to add custom flags if necessary. help/help_create.sh help/help_mp-en.h UTF-8 gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o command.o command.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_property.o m_property.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mixer.o mixer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mp_fifo.o mp_fifo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mplayer.o mplayer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o parser-mpcmd.o parser-mpcmd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o pnm_loader.o pnm_loader.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o input/input.o input/input.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_mpegpes.o libao2/ao_mpegpes.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_null.o libao2/ao_null.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_pcm.o libao2/ao_pcm.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/audio_out.o libao2/audio_out.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/aspect.o libvo/aspect.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/geometry.o libvo/geometry.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/video_out.o libvo/video_out.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_mpegpes.o libvo/vo_mpegpes.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_null.o libvo/vo_null.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/spuenc.o sub/spuenc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_alsa.o libao2/ao_alsa.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o input/appleir.o input/appleir.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_dga.o libvo/vo_dga.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_directfb2.o libvo/vo_directfb2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_dfbmga.o libvo/vo_dfbmga.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_fbdev.o libvo/vo_fbdev.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_fbdev2.o libvo/vo_fbdev2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_png.o libvo/vo_png.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/gl_common.o libvo/gl_common.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_gl.o libvo/vo_gl.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/csputils.o libvo/csputils.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/x11_common.o libvo/x11_common.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_gl_tiled.o libvo/vo_gl_tiled.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_matrixview.o libvo/vo_matrixview.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/matrixview.o libvo/matrixview.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_md5sum.o libvo/vo_md5sum.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o udp_sync.o udp_sync.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_oss.o libao2/ao_oss.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_pnm.o libvo/vo_pnm.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_tga.o libvo/vo_tga.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_v4l2.o libvo/vo_v4l2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libao2/ao_v4l2.o libao2/ao_v4l2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_vdpau.o libvo/vo_vdpau.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_x11.o libvo/vo_x11.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_xover.o libvo/vo_xover.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_xv.o libvo/vo_xv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_xvmc.o libvo/vo_xvmc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/vo_yuv4mpeg.o libvo/vo_yuv4mpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o asxparser.o asxparser.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o bstr.o bstr.c gcc -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o cpudetect.o cpudetect.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o edl.o edl.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o fmt-conversion.o fmt-conversion.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_config.o m_config.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_option.o m_option.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o m_struct.o m_struct.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mp_msg.o mp_msg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mp_strings.o mp_strings.c ./version.sh `gcc -dumpversion` gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o parser-cfg.o parser-cfg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o path.o path.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o playtree.o playtree.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o playtreeparser.o playtreeparser.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o subopt-helper.o subopt-helper.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af.o libaf/af.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_center.o libaf/af_center.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_channels.o libaf/af_channels.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_comp.o libaf/af_comp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_delay.o libaf/af_delay.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_dummy.o libaf/af_dummy.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_equalizer.o libaf/af_equalizer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_extrastereo.o libaf/af_extrastereo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_format.o libaf/af_format.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_gate.o libaf/af_gate.c mp_fifo.c: In function 'mplayer_get_key': mp_fifo.c:61:25: warning: unused parameter 'fd' [-Wunused-parameter] 61 | int mplayer_get_key(int fd){ | ~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_hrtf.o libaf/af_hrtf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_karaoke.o libaf/af_karaoke.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_pan.o libaf/af_pan.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_resample.o libaf/af_resample.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_scaletempo.o libaf/af_scaletempo.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sinesuppress.o libaf/af_sinesuppress.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_stats.o libaf/af_stats.c 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) | ~~~~^~~~~ 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){ | ~~~~^~~~~~ cpudetect.c:428:13: warning: 'sigill_handler' defined but not used [-Wunused-function] 428 | static void sigill_handler (int sig) | ^~~~~~~~~~~~~~ libvo/vo_null.c: In function 'draw_slice': libvo/vo_null.c:47:32: warning: unused parameter 'image' [-Wunused-parameter] 47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~~~~~~^~~~~~~ libvo/vo_null.c:47:45: warning: unused parameter 'stride' [-Wunused-parameter] 47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^~~~~~~~ libvo/vo_null.c:47:59: warning: unused parameter 'w' [-Wunused-parameter] 47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vo_null.c:47:65: warning: unused parameter 'h' [-Wunused-parameter] 47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vo_null.c:47:71: warning: unused parameter 'x' [-Wunused-parameter] 47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vo_null.c:47:77: warning: unused parameter 'y' [-Wunused-parameter] 47 | static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y) | ~~~~^ libvo/vo_null.c: In function 'config': libvo/vo_null.c:71:50: warning: unused parameter 'd_width' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ libvo/vo_null.c:71:68: warning: unused parameter 'd_height' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~ libvo/vo_null.c:71:87: warning: unused parameter 'flags' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_null.c:71:100: warning: unused parameter 'title' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_null.c:71:116: warning: unused parameter 'format' [-Wunused-parameter] 71 | config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ subopt-helper.c: In function 'parse_str': subopt-helper.c:89:46: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 89 | if (!str || str[0] != QUOTE_CHAR || (len > strlen(str) - 1)) | ^ subopt-helper.c: In function 'subopt_parse': subopt-helper.c:164:26: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 164 | delim - &str[parse_pos] : // yes | ^~~~~~~~~~~~~~~~~~~~~~~ subopt-helper.c: In function 'strargcmp': subopt-helper.c:335:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 335 | if (!res && arg->len != strlen(str)) | ^~ subopt-helper.c: In function 'strargcasecmp': subopt-helper.c:343:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 343 | if (!res && arg->len != strlen(str)) | ^~ mp_msg.c: In function 'filename_recode': mp_msg.c:73:29: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] 73 | if (iconv(inv_msgiconv, &filename, &filename_len, | ^~~~~~~~~ | | | const char ** In file included from mp_msg.c:29: /usr/include/iconv.h:17:23: note: expected 'char ** restrict' but argument is of type 'const char **' 17 | size_t iconv(iconv_t, char **__restrict, size_t *__restrict, char **__restrict, size_t *__restrict); | ^ mp_msg.c: In function 'mp_msg_va': mp_msg.c:236:58: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 236 | while (iconv(msgiconv, &in, &inlen, &out, &outlen) == -1) { | ^~ In file included from ./mp_core.h:27, from libao2/audio_out.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': input/appleir.c: In function 'mp_input_appleir_read': input/appleir.c:130:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 130 | if (r <= 0 || r < sizeof (struct input_event)) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sub.o libaf/af_sub.c 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) | ~~~~~~~~~~~~^~~ libao2/ao_mpegpes.c: In function 'init': libao2/ao_mpegpes.c:237:30: warning: unused parameter 'channels' [-Wunused-parameter] 237 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~~~~ libao2/ao_mpegpes.c:237:54: warning: unused parameter 'flags' [-Wunused-parameter] 237 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ libao2/ao_pcm.c: In function 'control': libao2/ao_mpegpes.c: In function 'uninit': 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:280:24: warning: unused parameter 'immed' [-Wunused-parameter] 280 | static void uninit(int immed){ | ~~~~^~~~~ libao2/ao_mpegpes.c: In function 'play': libao2/ao_mpegpes.c:320:40: warning: unused parameter 'flags' [-Wunused-parameter] 320 | static int play(void* data,int len,int flags){ | ~~~~^~~~~ 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){ | ~~~~^~~~~ libvo/vo_mpegpes.c: In function 'config': In file included from command.c:30: libmpdemux/demuxer.h: In function 'new_demux_packet': libvo/vo_mpegpes.c:79:17: warning: unused parameter 's_width' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ libvo/vo_mpegpes.c:79:54: warning: unused parameter 'width' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_mpegpes.c:79:70: warning: unused parameter 'height' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ libvo/vo_mpegpes.c:79:87: warning: unused parameter 'flags' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_mpegpes.c:79:100: warning: unused parameter 'title' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_mpegpes.c:79:116: warning: unused parameter 'format' [-Wunused-parameter] 79 | config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ libao2/ao_pcm.c: In function 'uninit': libao2/ao_pcm.c:202:24: warning: unused parameter 'immed' [-Wunused-parameter] 202 | 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; | ^~~~~~~~~~~~~~ In file included from mpcommon.h:25, from m_property.c:34: libmpdemux/demuxer.h: In function 'new_demux_packet': libao2/ao_pcm.c: In function 'play': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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; | ^~~~~~~~~~~~~~ libao2/ao_pcm.c:254:40: warning: unused parameter 'flags' [-Wunused-parameter] 254 | static int play(void* data,int len,int flags){ | ~~~~^~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ In file included from libvo/vo_dga.c:39: /usr/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future." [-Wcpp] 9 | #warning "xf86dga.h is obsolete and may be removed in the future." | ^~~~~~~ /usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include instead." [-Wcpp] 10 | #warning "include instead." | ^~~~~~~ In file included from ./mp_core.h:27, from libvo/vo_md5sum.c:45: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_surround.o libaf/af_surround.c libvo/vo_tga.c: In function 'config': libvo/vo_tga.c:172:28: warning: unused parameter 'width' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_tga.c:172:44: warning: unused parameter 'height' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ libvo/vo_tga.c:172:61: warning: unused parameter 'd_width' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~ libvo/vo_tga.c:172:79: warning: unused parameter 'd_height' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~ libvo/vo_tga.c:172:98: warning: unused parameter 'flags' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~ libvo/vo_tga.c:172:111: warning: unused parameter 'title' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_tga.c:172:127: warning: unused parameter 'format' [-Wunused-parameter] 172 | static int config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ 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, | ~~~~~~~~~~~~~~~~~~^~~~ libaf/af_karaoke.c: In function 'play': libaf/af_karaoke.c:53:46: warning: unused parameter 'af' [-Wunused-parameter] 53 | static af_data_t* play(struct af_instance_s* af, af_data_t* data) | ~~~~~~~~~~~~~~~~~~~~~~^~ 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, | ~~~~~~~~~~~~~~~~~~^~~~ In file included from ./mp_core.h:27, from gui/interface.h:23, from mplayer.c:73: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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': libvo/vo_yuv4mpeg.c: In function 'config': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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 && | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_property.c: In function 'm_property_double_ro': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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:333:44: warning: unused parameter 'prop' [-Wunused-parameter] 333 | int m_property_double_ro(const m_option_t* prop,int action, | ~~~~~~~~~~~~~~~~~~^~~~ m_property.c: In function 'm_property_string_ro': 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: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) { | ~~~~~~~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_sweep.o libaf/af_sweep.c libvo/vo_dga.c: In function 'config': m_property.c: In function 'm_property_do': m_property.c:74:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 74 | if((r = do_action(prop_list,name,M_PROPERTY_PRINT,arg,ctx)) >= 0) | ^ m_property.c:77:5: note: here 77 | case M_PROPERTY_TO_STRING: | ^~~~ m_config.c: In function 'set_profile': m_config.c:80:42: warning: unused parameter 'dst' [-Wunused-parameter] 80 | set_profile(const m_option_t *opt, void *dst, const void *src) | ~~~~~~^~~ libvo/vo_yuv4mpeg.c: In function 'preinit': 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) | ^~ 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: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) | ^~ libvo/vo_fbdev2.c:103:15: warning: missing initializer for field 'transp' of 'struct fb_cmap' [-Wmissing-field-initializers] 103 | static struct fb_cmap fb_oldcmap = { 0, 256, fb_ored, fb_ogreen, fb_oblue }; | ^~~~~~~ m_config.c: In function 'show_profile': m_config.c:128:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 128 | char *tmp = av_strndup(list, l); | ^~~~ m_config.c:102:12: warning: unused variable 'j' [-Wunused-variable] 102 | int i, j; | ^ 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 */ | ^~~~~~ m_config.c: In function 'list_options': m_config.c:143:48: warning: unused parameter 'name' [-Wunused-parameter] 143 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~ m_config.c:143:60: warning: unused parameter 'param' [-Wunused-parameter] 143 | static int list_options(m_option_t *opt, char* name, char *param) | ~~~~~~^~~~~ 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) | ^~ In file included from mp_core.h:27, from udp_sync.c:44: libmpdemux/demuxer.h: In function 'new_demux_packet': libvo/vo_fbdev2.c: In function 'config': libvo/vo_fbdev2.c:224:27: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 224 | if (fb_vinfo.xres < in_width || fb_vinfo.yres < in_height) { | ^ libvo/vo_fbdev2.c:224:55: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 224 | if (fb_vinfo.xres < in_width || fb_vinfo.yres < in_height) { | ^ libvo/vo_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) | ^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_dga.c:509:46: warning: unused parameter 'title' [-Wunused-parameter] 509 | uint32_t flags, char *title, uint32_t format) | ~~~~~~^~~~~ In file included from ./mp_core.h:27, from libvo/vo_pnm.c:45: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libvo/vo_fbdev2.c:211:58: warning: unused parameter 'title' [-Wunused-parameter] 211 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/vo_v4l2.c: In function 'config': libvo/vo_v4l2.c:85:18: warning: unused parameter 'width' [-Wunused-parameter] 85 | config (uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~ libvo/vo_v4l2.c:85:34: warning: unused parameter 'height' [-Wunused-parameter] 85 | config (uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~~ libvo/vo_v4l2.c:86:18: warning: unused parameter 'd_width' [-Wunused-parameter] 86 | uint32_t d_width, uint32_t d_height, | ~~~~~~~~~^~~~~~~ libvo/vo_v4l2.c:86:36: warning: unused parameter 'd_height' [-Wunused-parameter] 86 | uint32_t d_width, uint32_t d_height, | ~~~~~~~~~^~~~~~~~ libvo/vo_v4l2.c:87:18: warning: unused parameter 'fullscreen' [-Wunused-parameter] 87 | uint32_t fullscreen, char *title, uint32_t format) | ~~~~~~~~~^~~~~~~~~~ libvo/vo_v4l2.c:87:36: warning: unused parameter 'title' [-Wunused-parameter] 87 | uint32_t fullscreen, char *title, uint32_t format) | ~~~~~~^~~~~ libvo/vo_v4l2.c:87:52: warning: unused parameter 'format' [-Wunused-parameter] 87 | uint32_t fullscreen, char *title, uint32_t format) | ~~~~~~~~~^~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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; | ^~~~~~~~~~~~~~ m_config.c: In function 'm_config_add_option': m_config.c:325:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 325 | co->name = arg->name; | ^ libvo/vo_dga.c: In function 'get_image': 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) != | ^~ libao2/ao_oss.c: In function 'init': libao2/ao_oss.c:218:54: warning: unused parameter 'flags' [-Wunused-parameter] 218 | static int init(int rate,int channels,int format,int flags){ | ~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_tools.o libaf/af_tools.c m_config.c: In function 'm_config_parse_option': m_config.c:448:11: warning: unused variable 'l' [-Wunused-variable] 448 | int l = strlen(co->name) + 1 + strlen(lst[2*i]) + 1; | ^ 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}} }}, | ^ libvo/vo_fbdev2.c: In function 'set_bpp': In file included from input/input.c:34: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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:77:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 77 | { MP_CMD_RADIO_SET_CHANNEL, "radio_set_channel", 1, { { MP_CMD_ARG_STRING, {0}}, {-1,{0}} }}, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:78:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 78 | { MP_CMD_RADIO_SET_FREQ, "radio_set_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:79:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 79 | { MP_CMD_RADIO_STEP_FREQ, "radio_step_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:81:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 81 | { MP_CMD_SEEK, "seek", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:82:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 82 | { MP_CMD_EDL_LOADFILE, "edl_loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:83:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 83 | { MP_CMD_EDL_MARK, "edl_mark", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:84:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 84 | { MP_CMD_AUDIO_DELAY, "audio_delay", 1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:85:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 85 | { MP_CMD_SPEED_INCR, "speed_incr", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:86:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 86 | { MP_CMD_SPEED_MULT, "speed_mult", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:87:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 87 | { MP_CMD_SPEED_SET, "speed_set", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:88:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 88 | { MP_CMD_QUIT, "quit", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:89:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 89 | { MP_CMD_STOP, "stop", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:90:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 90 | { MP_CMD_PAUSE, "pause", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:91:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 91 | { MP_CMD_FRAME_STEP, "frame_step", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:92:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 92 | { MP_CMD_PLAY_TREE_STEP, "pt_step",1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ In file included from asxparser.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': input/input.c:93:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 93 | { MP_CMD_PLAY_TREE_UP_STEP, "pt_up_step",1, { { MP_CMD_ARG_INT,{0} }, { MP_CMD_ARG_INT ,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:94:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 94 | { MP_CMD_PLAY_ALT_SRC_STEP, "alt_src_step",1, { { MP_CMD_ARG_INT,{0} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:95:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 95 | { MP_CMD_LOOP, "loop", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:96:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 96 | { MP_CMD_SUB_DELAY, "sub_delay",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ input/input.c:97:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 97 | { MP_CMD_SUB_STEP, "sub_step",1, { { MP_CMD_ARG_INT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:98:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 98 | { MP_CMD_OSD, "osd",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:99:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 99 | { MP_CMD_OSD_SHOW_TEXT, "osd_show_text", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:100:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 100 | { MP_CMD_OSD_SHOW_PROPERTY_TEXT, "osd_show_property_text",1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{-1}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:101:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 101 | { MP_CMD_OSD_SHOW_PROGRESSION, "osd_show_progression", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:102:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 102 | { MP_CMD_VOLUME, "volume", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:103:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 103 | { MP_CMD_BALANCE, "balance", 1, { { MP_CMD_ARG_FLOAT,{0} }, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:104:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 104 | { MP_CMD_MIXER_USEMASTER, "use_master", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:105:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 105 | { MP_CMD_MUTE, "mute", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:106:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 106 | { MP_CMD_CONTRAST, "contrast",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:107:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 107 | { MP_CMD_GAMMA, "gamma", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:108:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 108 | { MP_CMD_BRIGHTNESS, "brightness",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:109:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 109 | { MP_CMD_HUE, "hue",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:110:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 110 | { MP_CMD_SATURATION, "saturation",1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:111:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 111 | { MP_CMD_FRAMEDROPPING, "frame_drop",0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:112:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 112 | { MP_CMD_SUB_POS, "sub_pos", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:113:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 113 | { MP_CMD_SUB_ALIGNMENT, "sub_alignment",0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:114:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 114 | { MP_CMD_SUB_VISIBILITY, "sub_visibility", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:115:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 115 | { MP_CMD_SUB_LOAD, "sub_load", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:116:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 116 | { MP_CMD_SUB_REMOVE, "sub_remove", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:117:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 117 | { MP_CMD_SUB_SELECT, "vobsub_lang", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, // for compatibility | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_option.c: In function 'print_double': 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; | ^~~~~~~ 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.c:119:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 119 | { MP_CMD_SUB_SOURCE, "sub_source", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:120:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 120 | { MP_CMD_SUB_VOB, "sub_vob", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:121:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 121 | { MP_CMD_SUB_DEMUX, "sub_demux", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:122:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 122 | { MP_CMD_SUB_FILE, "sub_file", 0, { { MP_CMD_ARG_INT,{-2} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_option.c: In function 'print_float': m_option.c:307:54: warning: unused parameter 'opt' [-Wunused-parameter] 307 | static char* print_float(const m_option_t* av_unused opt, const void* val) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ input/input.c:123:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 123 | { MP_CMD_SUB_LOG, "sub_log", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:124:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 124 | { MP_CMD_SUB_SCALE, "sub_scale",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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; | ^~~~~~~ m_option.c: In function 'parse_position': 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: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: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: In function 'print_position': 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:361:47: warning: unused parameter 'opt' [-Wunused-parameter] 361 | static char* print_position(const m_option_t* opt, const void* val) { | ~~~~~~~~~~~~~~~~~~^~~ 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; | ^~~~~~~ In file included from playtreeparser.c:40: libmpdemux/demuxer.h: In function 'new_demux_packet': input/input.c:135:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 135 | { MP_CMD_GET_AUDIO_CODEC, "get_audio_codec", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:136:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 136 | { MP_CMD_GET_AUDIO_BITRATE, "get_audio_bitrate", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_option.c: In function 'parse_str': 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; | ^~~~~~~ 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: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; | ^~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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) { | ~~~~^~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:139:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 139 | { MP_CMD_GET_META_ARTIST, "get_meta_artist", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:140:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 140 | { MP_CMD_GET_META_ALBUM, "get_meta_album", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_option.c: In function 'print_str': input/input.c:141:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 141 | { MP_CMD_GET_META_YEAR, "get_meta_year", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:142:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 142 | { MP_CMD_GET_META_COMMENT, "get_meta_comment", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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:143:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 143 | { MP_CMD_GET_META_TRACK, "get_meta_track", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:144:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 144 | { MP_CMD_GET_META_GENRE, "get_meta_genre", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ libao2/audio_out.c: In function 'init_best_audio_out': m_option.c: In function 'copy_str': 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: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; | ^~~~~~~ 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:146:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 146 | { MP_CMD_SWITCH_ANGLE, "switch_angle", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:147:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 147 | { MP_CMD_SWITCH_TITLE, "switch_title", 0, { { MP_CMD_ARG_INT,{-1} }, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:149:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 149 | { MP_CMD_TV_START_SCAN, "tv_start_scan", 0, { {-1,{0}} }}, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:150:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 150 | { MP_CMD_TV_STEP_CHANNEL, "tv_step_channel", 1, { { MP_CMD_ARG_INT ,{0}}, {-1,{0}} }}, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:151:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 151 | { MP_CMD_TV_STEP_NORM, "tv_step_norm",0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:152:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 152 | { MP_CMD_TV_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:153:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 153 | { MP_CMD_TV_SET_CHANNEL, "tv_set_channel", 1, { { MP_CMD_ARG_STRING, {0}}, {-1,{0}} }}, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:154:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 154 | { MP_CMD_TV_LAST_CHANNEL, "tv_last_channel", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:155:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 155 | { MP_CMD_TV_SET_FREQ, "tv_set_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:156:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 156 | { MP_CMD_TV_STEP_FREQ, "tv_step_freq", 1, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:157:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 157 | { MP_CMD_TV_SET_NORM, "tv_set_norm", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ asxparser.c: In function 'asx_parse_param': libvo/vo_fbdev.c: In function 'find_best_mode': 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; | ^~~~~~~ asxparser.c:393:68: warning: unused parameter 'pt' [-Wunused-parameter] 393 | asx_parse_param(ASX_Parser_t* parser, char** attribs, play_tree_t* pt) { | ~~~~~~~~~~~~~^~ 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: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; | ^~~~~~~ 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) { | ^ In file included from ./mp_core.h:27, from libvo/vo_png.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': playtreeparser.c: In function 'play_tree_parser_get_line': playtreeparser.c:105:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 105 | while(strlen(p->buffer + p->buffer_end - r) != r) | ^~ 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; | ^~~~~~~ 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)) { | ^~ libvo/vo_xover.c: In function 'set_window': asxparser.c: In function 'asx_parse_entryref': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/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)) { | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:161:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 161 | { MP_CMD_TV_SET_SATURATION, "tv_set_saturation", 1, { { MP_CMD_ARG_INT ,{0}}, { MP_CMD_ARG_INT,{1} }, {-1,{0}} }}, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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; | ^~~~~~~~~~~~~~ m_option.c: In function 'parse_str_list': 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; | ^~~~~~~~~~~~~~~ asxparser.c:448:47: warning: unused parameter 'buffer' [-Wunused-parameter] 448 | asx_parse_entryref(ASX_Parser_t* parser,char* buffer,char** _attribs) { | ~~~~~~^~~~~~ 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_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: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}} } }, | ^ 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.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) { | ~~~~^~~ 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: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; | ^~~~~~~ m_option.c: In function 'copy_str_list': asxparser.c: In function 'asx_parse_entry': 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}} } }, | ^ libvo/vo_fbdev.c: At top level: input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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: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_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 }; | ^~~~~~~ input/input.c:171:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 171 | { MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_option.c: In function 'print_str_list': 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: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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ libvo/vo_xover.c: In function 'draw_slice': 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 'parse_call_func': libvo/vo_xover.c:348:32: warning: unused parameter 'src' [-Wunused-parameter] 348 | static int draw_slice(uint8_t *src[], int stride[], | ~~~~~~~~~^~~~~ libvo/vo_xover.c:348:43: warning: unused parameter 'stride' [-Wunused-parameter] 348 | static int draw_slice(uint8_t *src[], int stride[], | ~~~~^~~~~~~~ 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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~^~~~ libvo/vo_xover.c:349:32: warning: unused parameter 'w' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ libvo/vo_xover.c:349:39: warning: unused parameter 'h' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ 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; | ^~~~~~~ libvo/vo_xover.c:349:46: warning: unused parameter 'x' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ 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_xover.c:349:53: warning: unused parameter 'y' [-Wunused-parameter] 349 | int w, int h, int x, int y) | ~~~~^ 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; | ^~~~~~~ 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: In function 'draw_frame': libvo/vo_xover.c:355:32: warning: unused parameter 'src' [-Wunused-parameter] 355 | static int draw_frame(uint8_t *src[]) | ~~~~~~~~~^~~~~ input/input.c:177:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 177 | { MP_CMD_LOADLIST, "loadlist", 1, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:178:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 178 | { MP_CMD_RUN, "run", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:179:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 179 | { MP_CMD_CAPTURING, "capturing", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ codec-cfg.c: In function 'main': 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; | ^~~~~~~ libvo/vo_xv.c: In function 'config': m_option.c: In function 'parse_func_pf': 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 libvo/vo_xv.c:193:26: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 193 | if (fo[i].id == format) | ^~ libvo/vo_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, | ~~~~~~~~~^~~~~ 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}} } }, | ^ 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, | ~~~~~~~~~^~~~~~ libao2/ao_alsa.c: In function 'init': input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ libvo/vo_md5sum.c:138:61: warning: unused parameter 'd_width' [-Wunused-parameter] 138 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~~ libvo/vo_md5sum.c:139:33: warning: unused parameter 'd_height' [-Wunused-parameter] 139 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ libvo/vo_md5sum.c:139:52: warning: unused parameter 'flags' [-Wunused-parameter] 139 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~ libvo/vo_md5sum.c:139:65: warning: unused parameter 'title' [-Wunused-parameter] 139 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/vo_md5sum.c:140:33: warning: unused parameter 'format' [-Wunused-parameter] 140 | uint32_t format) | ~~~~~~~~~^~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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) | ~~~~^~~~~ 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; | ^~~~~~~ playtreeparser.c: In function 'parse_smil': In file included from libvo/vo_xover.c:37: libvo/video_out_internal.h: At top level: 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) { | ~~~~^~~ 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); | ^~~~~~~~~~~~ playtreeparser.c:557:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 557 | for (i = 0; i < strlen(line); i++) | ^ 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, | ~~~~~~~~~^~~~~~~ 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; | ^~~~~~~ libvo/vo_xv.c:151:33: warning: unused parameter 'd_height' [-Wunused-parameter] 151 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ 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; | ^~~~~~~ m_option.c: In function 'copy_func_pf': 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; | ^~~~~~~ libvo/vo_fbdev.c: In function 'config': 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) { | ~~~~~~~~~~~~~~~~~~^~~ input/input.c:199:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 199 | { MP_CMD_GET_SUB_VISIBILITY, "get_sub_visibility", 0, { {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:200:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 200 | { MP_CMD_KEYDOWN_EVENTS, "key_down_event", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ m_option.c: In function 'set_func_param': libvo/vo_fbdev.c:928:39: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 928 | if (vo_doublebuffering && fb_size < 2 * fb_yres * fb_line_len) | ^ 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:816:57: warning: unused parameter 'dst' [-Wunused-parameter] 816 | static void set_func_param(const m_option_t* opt, void* dst, const void* 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; | ^~~~~~~ m_option.c: In function 'set_func_full': 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; | ^~~~~~~ libvo/vo_fbdev.c:776:9: warning: unused variable 'zoom' [-Wunused-variable] 776 | int zoom = flags & VOFLAG_SWSCALE; | ^~~~ 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) { | ~~~~~~^~~ 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; | ^~~~~~~ libvo/vo_fbdev.c:771:60: warning: unused parameter 'title' [-Wunused-parameter] 771 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ m_option.c: In function 'parse_func': 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; | ^~~~~~~ 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) { | ~~~~~~~~~~~~~~~~~~^~~ 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: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) { | ~~~~~~~~~~~~^~~~ input/input.c:209:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 209 | { MP_CMD_AF_ADD, "af_add", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:210:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 210 | { MP_CMD_AF_DEL, "af_del", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ 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) { | ~~~~~~~~~~~~^~~~~ 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; | ^~~~~~~ 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) { | ~~~~^~~ 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; | ^~~~~~~ m_option.c: In function 'set_func': input/input.c:214:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 214 | { MP_CMD_GUI, "gui", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:74:35: warning: missing braces around initializer [-Wmissing-braces] 74 | static const mp_cmd_t mp_cmds[] = { | ^ ...... 216 | { 0, "", 0, { 0 } } | { } 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) { | ~~~~~~^~~ libvo/vo_xv.c: In function 'query_format': input/input.c:216:3: warning: missing initializer for field 'pausing' of 'mp_cmd_t' {aka 'const struct mp_cmd'} [-Wmissing-field-initializers] 216 | { 0, "", 0, { 0 } } | ^ input/input.h:235:7: note: 'pausing' declared here 235 | int pausing; | ^~~~~~~ input/input.c:74:35: warning: missing braces around initializer [-Wmissing-braces] 74 | static const mp_cmd_t mp_cmds[] = { | ^ ...... 216 | { 0, "", 0, { 0 } } | { } libvo/vo_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_fbdev.c: In function 'get_image': m_option.c: In function 'parse_print': m_option.c:903:89: warning: unused parameter 'dst' [-Wunused-parameter] 903 | static int parse_print(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~^~~ 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 || | ^~ 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/vo_xv.c: In function 'preinit': m_option.c:1002:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1002 | if (!p || p[0] != '%' || (optlen > strlen(p) - 1)) { | ^ 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) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_volnorm.o libaf/af_volnorm.c libvo/x11_common.c: In function 'vo_wm_detect': libvo/x11_common.c:321:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 321 | for (i = 0; i < nitems; i++) | ^ libvo/x11_common.c:346:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 346 | for (i = 0; i < nitems; i++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_volume.o libaf/af_volume.c 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_xv.c:401:5: note: here 401 | case IMGFMT_I420: | ^~~~ m_option.c: In function 'parse_imgfmt': libvo/vo_xv.c: In function 'control': 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:732:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 732 | vo_x11_fullscreen(); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_xv.c:734:9: note: here 734 | case VOCTRL_SET_PANSCAN: | ^~~~ 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_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/vo_xv.c:502:9: note: here 502 | case IMGFMT_I420: | ^~~~ 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) | ~~~~~~~~~^~~~~~ libvo/x11_common.c: In function 'vo_x11_classhint': libvo/x11_common.c:744:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 744 | wmClass.res_name = vo_winname ? vo_winname : name; | ^ m_option.c: In function 'parse_afmt': m_option.c:1272:41: warning: unused parameter 'opt' [-Wunused-parameter] 1272 | static int parse_afmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1272:97: warning: unused parameter 'src' [-Wunused-parameter] 1272 | static int parse_afmt(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ In file included from m_option.c:36: m_option.c: In function 'parse_timestring': libvo/x11_common.c: In function 'handle_x11_event': libvo/x11_common.c:938:46: warning: comparison of integer expressions of different signedness: 'long int' and 'Atom' {aka 'long unsigned int'} [-Wsign-compare] 938 | event->xclient.data.l[0] == XAWM_DELETE_WINDOW) | ^~ mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ m_option.c: In function 'parse_time': m_option.c:1343:41: warning: unused parameter 'opt' [-Wunused-parameter] 1343 | static int parse_time(const m_option_t* opt,const char *name, const char *param, void* dst, int src) | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1343:97: warning: unused parameter 'src' [-Wunused-parameter] 1343 | static int parse_time(const m_option_t* opt,const char *name, const char *param, void* dst, int src) | ~~~~^~~ 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}, | ^ m_option.c: In function 'parse_time_size': m_option.c:1377:46: warning: unused parameter 'opt' [-Wunused-parameter] 1377 | static int parse_time_size(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~~~~~~~~~~~~~~~^~~ m_option.c:1377:102: warning: unused parameter 'src' [-Wunused-parameter] 1377 | static int parse_time_size(const m_option_t* opt,const char *name, const char *param, void* dst, int src) { | ~~~~^~~ 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_x11.c: In function 'config': libvo/vo_x11.c:276:61: warning: unused parameter 'd_width' [-Wunused-parameter] 276 | static int config(uint32_t width, uint32_t height, uint32_t d_width, | ~~~~~~~~~^~~~~~~ libvo/vo_x11.c:277:33: warning: unused parameter 'd_height' [-Wunused-parameter] 277 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~~~~^~~~~~~~ libaf/af_resample.c: In function 'control': libvo/vo_x11.c: In function 'Display_Image': 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){ | ^~ libvo/vo_x11.c:406:56: warning: unused parameter 'ImageData' [-Wunused-parameter] 406 | static void Display_Image(XImage * myximage, uint8_t * ImageData) | ~~~~~~~~~~^~~~~~~~~ libaf/af_resample.c:226:43: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 226 | if(s->up != af->data->rate/d || s->dn != n->rate/d){ | ^~ libaf/af_resample.c:253:18: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 253 | for(i=0;iup;i++){//Rows | ^ libvo/vo_x11.c: In function 'draw_slice': libvo/vo_x11.c:495:27: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 495 | sws_scale(swsContext, src, stride, y, h, dst, dstStride); | ^~~ | | | uint8_t ** {aka unsigned char **} In file included from libvo/vo_x11.c:53: /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/x11_common.c: In function 'xss_suspend': 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/x11_common.c:1525:29: warning: unused parameter 'suspend' [-Wunused-parameter] 1525 | static int xss_suspend(Bool suspend) | ^ 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) | ^~ m_option.c: In function 'parse_obj_params': libvo/vo_x11.c:508:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 508 | || (mpi->height != image_height)) | ^~ libvo/vo_png.c: In function 'config': m_option.c:1608:63: warning: unused parameter 'src' [-Wunused-parameter] 1608 | 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/filter.o libaf/filter.c 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_x11.c: In function 'query_format': libvo/vo_png.c: In function 'draw_image': 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_png.c:176:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 176 | av_init_packet(&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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/format.o libaf/format.c 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); | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/reorder_ch.o libaf/reorder_ch.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/window.o libaf/window.c libvo/x11_common.c: In function 'vo_x11_create_colormap': 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/x11_common.c:1854:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1854 | if (t < b) | ^ m_option.c: In function 'copy_obj_settings_list': input/input.c: In function 'mp_input_get_cmd_from_keys': input/input.c:1091:49: warning: unused parameter 'paused' [-Wunused-parameter] 1091 | mp_input_get_cmd_from_keys(int n,int* keys, int paused) { | ~~~~^~~~~~ 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: In function 'read_events': input/input.c:1235:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1235 | for (i = 0; i < num_key_fd; i++) | ^ m_option.c: In function 'parse_obj_presets': In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_dfbmga.c:24: /usr/include/directfb/direct/os/waitqueue.h:41:25: warning: redundant redeclaration of 'direct_waitqueue_init' [-Wredundant-decls] 41 | DirectResult DIRECT_API direct_waitqueue_init ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:55:1: note: previous definition of 'direct_waitqueue_init' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 55 | direct_waitqueue_init( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~ 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++) | ^ /usr/include/directfb/direct/os/waitqueue.h:43:25: warning: redundant redeclaration of 'direct_waitqueue_wait' [-Wredundant-decls] 43 | DirectResult DIRECT_API direct_waitqueue_wait ( DirectWaitQueue *queue, DirectMutex *mutex ); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:64:1: note: previous definition of 'direct_waitqueue_wait' with type 'DirectResult(DirectWaitQueue *, DirectMutex *)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *)'} 64 | direct_waitqueue_wait( DirectWaitQueue *queue, DirectMutex *mutex ) | ^~~~~~~~~~~~~~~~~~~~~ m_option.c:1975:63: warning: unused parameter 'src' [-Wunused-parameter] 1975 | const char *param, void* dst, int src) { | ~~~~^~~ /usr/include/directfb/direct/os/waitqueue.h:45:25: warning: redundant redeclaration of 'direct_waitqueue_wait_timeout' [-Wredundant-decls] 45 | DirectResult DIRECT_API direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:73:1: note: previous definition of 'direct_waitqueue_wait_timeout' with type 'DirectResult(DirectWaitQueue *, DirectMutex *, long unsigned int)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *, long unsigned int)'} 73 | direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/waitqueue.h:47:25: warning: redundant redeclaration of 'direct_waitqueue_signal' [-Wredundant-decls] 47 | DirectResult DIRECT_API direct_waitqueue_signal ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:95:1: note: previous definition of 'direct_waitqueue_signal' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 95 | direct_waitqueue_signal( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/waitqueue.h:49:25: warning: redundant redeclaration of 'direct_waitqueue_broadcast' [-Wredundant-decls] 49 | DirectResult DIRECT_API direct_waitqueue_broadcast ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:104:1: note: previous definition of 'direct_waitqueue_broadcast' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 104 | direct_waitqueue_broadcast( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/waitqueue.h:51:25: warning: redundant redeclaration of 'direct_waitqueue_deinit' [-Wredundant-decls] 51 | DirectResult DIRECT_API direct_waitqueue_deinit ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:113:1: note: previous definition of 'direct_waitqueue_deinit' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 113 | direct_waitqueue_deinit( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ 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") | ^~~~~~~ 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++) { | ^ m_option.c: In function 'parse_custom_url': 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad.o libmpcodecs/ad.c m_option.c:2047:61: warning: unused parameter 'src' [-Wunused-parameter] 2047 | const char *url, void* dst, int src) { | ~~~~^~~ In file included from /usr/include/directfb/direct/thread.h:38, from /usr/include/directfb/direct/debug.h:43, from /usr/include/directfb/direct/interface.h:36, from /usr/include/directfb/directfb.h:49, from libvo/vo_directfb2.c:25: /usr/include/directfb/direct/os/waitqueue.h:41:25: warning: redundant redeclaration of 'direct_waitqueue_init' [-Wredundant-decls] 41 | DirectResult DIRECT_API direct_waitqueue_init ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_alaw.o libmpcodecs/ad_alaw.c In file included from /usr/include/directfb/direct/os/types.h:63, from /usr/include/directfb/direct/os/waitqueue.h:36: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:55:1: note: previous definition of 'direct_waitqueue_init' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 55 | direct_waitqueue_init( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/waitqueue.h:43:25: warning: redundant redeclaration of 'direct_waitqueue_wait' [-Wredundant-decls] 43 | DirectResult DIRECT_API direct_waitqueue_wait ( DirectWaitQueue *queue, DirectMutex *mutex ); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:64:1: note: previous definition of 'direct_waitqueue_wait' with type 'DirectResult(DirectWaitQueue *, DirectMutex *)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *)'} 64 | direct_waitqueue_wait( DirectWaitQueue *queue, DirectMutex *mutex ) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/waitqueue.h:45:25: warning: redundant redeclaration of 'direct_waitqueue_wait_timeout' [-Wredundant-decls] 45 | DirectResult DIRECT_API direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:73:1: note: previous definition of 'direct_waitqueue_wait_timeout' with type 'DirectResult(DirectWaitQueue *, DirectMutex *, long unsigned int)' {aka 'DirectResult(struct __D_DirectWaitQueue *, struct __D_DirectMutex *, long unsigned int)'} 73 | direct_waitqueue_wait_timeout( DirectWaitQueue *queue, DirectMutex *mutex, unsigned long micros ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_dvdpcm.c /usr/include/directfb/direct/os/waitqueue.h:47:25: warning: redundant redeclaration of 'direct_waitqueue_signal' [-Wredundant-decls] 47 | DirectResult DIRECT_API direct_waitqueue_signal ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:95:1: note: previous definition of 'direct_waitqueue_signal' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 95 | direct_waitqueue_signal( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/waitqueue.h:49:25: warning: redundant redeclaration of 'direct_waitqueue_broadcast' [-Wredundant-decls] 49 | DirectResult DIRECT_API direct_waitqueue_broadcast ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:104:1: note: previous definition of 'direct_waitqueue_broadcast' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 104 | direct_waitqueue_broadcast( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/waitqueue.h:51:25: warning: redundant redeclaration of 'direct_waitqueue_deinit' [-Wredundant-decls] 51 | DirectResult DIRECT_API direct_waitqueue_deinit ( DirectWaitQueue *queue ); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:113:1: note: previous definition of 'direct_waitqueue_deinit' with type 'DirectResult(DirectWaitQueue *)' {aka 'DirectResult(struct __D_DirectWaitQueue *)'} 113 | direct_waitqueue_deinit( DirectWaitQueue *queue ) | ^~~~~~~~~~~~~~~~~~~~~~~ input/input.c:1291:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1291 | for (i = 0; i < num_key_fd; i++) { | ^ libvo/vo_xvmc.c: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 { | ^~~~~~~~~~~~ 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++) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwac3.c 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 ) | ^~ input/input.c: In function 'mp_input_get_key_name': libvo/vo_xvmc.c: In function 'config': 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: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){ | ^~ 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){ | ^~ libvo/x11_common.c: In function 'handle_x11_event': libvo/x11_common.c:901:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 901 | key = MP_KEY_DOWN; libvo/x11_common.c:903:13: note: here 903 | case ButtonRelease: | ^~~~ input/input.c: In function 'mp_input_init': input/input.c:1804:54: warning: cast between incompatible function types from 'int (*)(int)' to 'void (*)(int)' [-Wcast-function-type] 1804 | mp_input_add_key_fd(fd,1,mp_input_appleir_read,(mp_close_func_t)close); | ^ input/input.c:1818:45: warning: cast between incompatible function types from 'int (*)(int)' to 'void (*)(int)' [-Wcast-function-type] 1818 | mp_input_add_cmd_fd(in_file_fd,1,NULL,(mp_close_func_t)close); | ^ libvo/vo_xvmc.c: In function 'draw_slice': input/input.c: In function 'mp_input_print_key_list': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_hwmpa.c libvo/vo_xvmc.c:1151:45: warning: unused parameter 'stride' [-Wunused-parameter] 1151 | static int draw_slice(uint8_t *image[], int stride[], | ~~~~^~~~~~~~ input/input.c:1860:48: warning: unused parameter 'cfg' [-Wunused-parameter] 1860 | static int mp_input_print_key_list(m_option_t* cfg) { | ~~~~~~~~~~~~^~~ libvo/vo_xvmc.c:1152:32: warning: unused parameter 'w' [-Wunused-parameter] 1152 | int w, int h, int x, int y){ | ~~~~^ input/input.c: In function 'mp_input_print_cmd_list': libvo/vo_xvmc.c:1152:39: warning: unused parameter 'h' [-Wunused-parameter] 1152 | int w, int h, int x, int y){ | ~~~~^ input/input.c:1868:48: warning: unused parameter 'cfg' [-Wunused-parameter] 1868 | static int mp_input_print_cmd_list(m_option_t* cfg) { | ~~~~~~~~~~~~^~~ libvo/vo_xvmc.c:1152:46: warning: unused parameter 'x' [-Wunused-parameter] 1152 | 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_pcm.o libmpcodecs/ad_pcm.c 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(); | ^~~~~~~~~~~~~~~~~~~ input/input.c: In function 'mp_input_read_cmd': libvo/vo_xvmc.c:1349:9: note: here 1349 | case VOCTRL_SET_PANSCAN: | ^~~~ 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: | ^~~~ 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) | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_metadata': command.c:610:45: warning: unused parameter 'prop' [-Wunused-parameter] 610 | static int mp_property_metadata(m_option_t *prop, int action, void *arg, | ~~~~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_audio.o libmpcodecs/dec_audio.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_teletext.o libmpcodecs/dec_teletext.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/dec_video.o libmpcodecs/dec_video.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/img_format.o libmpcodecs/img_format.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/mp_image.o libmpcodecs/mp_image.c 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); | ^~~~~~~~~~~~~~ command.c: In function 'mp_property_audio': 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: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:114:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 114 | for (i = 0; i < SAMPLES; i += 6) {\ | ^ libaf/reorder_ch.c:140:9: note: in expansion of macro 'REORDER_COPY_6' 140 | REORDER_COPY_6(dest_16,src_16,samples,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:147:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 147 | for (i = 0; i < samples * 3; i += 18) { | ^ command.c: In function 'mp_property_video': 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); | ^~~~~~~~~~~~~~ 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: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_program': 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: In function 'reorder_copy_8ch': libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:215:9: note: in expansion of macro 'REORDER_COPY_8' 215 | REORDER_COPY_8(dest_8,src_8,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:222:9: note: in expansion of macro 'REORDER_COPY_8' 222 | REORDER_COPY_8(dest_16,src_16,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libaf/reorder_ch.c:229:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 229 | for (i = 0; i < samples * 3; i += 24) { | ^ libaf/reorder_ch.c:193:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 193 | for (i = 0; i < SAMPLES; i += 8) {\ | ^ libaf/reorder_ch.c:261:9: note: in expansion of macro 'REORDER_COPY_8' 261 | REORDER_COPY_8(dest_32,src_32,samples,s0,s1,s2,s3,s4,s5,s6,s7); | ^~~~~~~~~~~~~~ libvo/vo_dfbmga.c: In function 'preinit': libvo/vo_dfbmga.c:194:22: warning: unused parameter 'arg' [-Wunused-parameter] 194 | preinit( const char *arg ) | ~~~~~~~~~~~~^~~ libaf/reorder_ch.c: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); | ^~~~~~~~~~~~~~ libvo/vo_vdpau.c: In function 'preemption_callback': libvo/vo_vdpau.c:348:43: warning: unused parameter 'device' [-Wunused-parameter] 348 | static void preemption_callback(VdpDevice device, void *context) | ~~~~~~~~~~^~~~~~ libvo/vo_vdpau.c:348:57: warning: unused parameter 'context' [-Wunused-parameter] 348 | static void preemption_callback(VdpDevice device, void *context) | ~~~~~~^~~~~~~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/pullup.o libmpcodecs/pullup.c command.c:1330:41: warning: unused parameter 'mpctx' [-Wunused-parameter] 1330 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ libvo/vo_dfbmga.c: In function 'config': libaf/reorder_ch.c: In function 'reorder_self_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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd.o libmpcodecs/vd.c libvo/vo_dfbmga.c:550:15: warning: unused parameter 'title' [-Wunused-parameter] 550 | char *title, | ~~~~~~^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_sub_pos': 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:1433:43: warning: unused parameter 'mpctx' [-Wunused-parameter] 1433 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:441:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 441 | REORDER_SELF_SWAP_2(src_16,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:444:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 444 | REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:409:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 409 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:447:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 447 | REORDER_SELF_SWAP_2(src_16,tmp,samples,3,s0,s1); | ^~~~~~~~~~~~~~~~~~~ In file included from ./libmpcodecs/vf.h:118, from libmenu/menu.h:24, from mplayer.c:78: mplayer.c: At top level: 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); | ^~~~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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, | ^~~~~~~~~~~~~~ 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) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_hmblck.o libmpcodecs/vd_hmblck.c ./mp_global.h:27:29: warning: left shift of 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:476:13: note: in expansion of macro 'REORDER_SELF_SWAP_2' 476 | REORDER_SELF_SWAP_2(src_32,tmp,samples,6,s0,s1); | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'mp_property_sub': 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); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_directfb2.c: In function 'test_format_callback': 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); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_directfb2.c:338:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 338 | if ((layer_id == -1 )||(layer_id == id)) { | ^~ 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); | ^~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_lzo.o libmpcodecs/vd_lzo.c libaf/reorder_ch.c:517:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 517 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:550:13: note: in expansion of macro 'REORDER_SELF_SWAP_3' 550 | REORDER_SELF_SWAP_3(src_16,tmp,samples,5,s0,s1,s2); | ^~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:558:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 558 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ command.c: In function 'mp_property_sub_forced_only': 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); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_vdpau.c: In function 'draw_slice': command.c:1888:62: warning: unused parameter 'mpctx' [-Wunused-parameter] 1888 | void *arg, MPContext *mpctx) | ~~~~~~~~~~~^~~~~ 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, | ~~~~^~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ 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, | ~~~~^ command.c: In function 'mp_property_sub_scale': 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, | ~~~~^ libvo/vo_directfb2.c: In function 'config': 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); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_directfb2.c:811:22: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 811 | if (((s_width==out_width)&&(s_height==out_height)) || (params.scale)) { | ^~ libvo/vo_vdpau.c:1074:27: warning: unused parameter 'x' [-Wunused-parameter] 1074 | int x, int y) | ~~~~^ command.c:1912:42: warning: unused parameter 'mpctx' [-Wunused-parameter] 1912 | MPContext *mpctx) | ~~~~~~~~~~~^~~~~ libvo/vo_directfb2.c:811:45: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 811 | if (((s_width==out_width)&&(s_height==out_height)) || (params.scale)) { | ^~ libvo/vo_vdpau.c:1074:34: warning: unused parameter 'y' [-Wunused-parameter] 1074 | int x, int y) | ~~~~^ 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); | ^~~~~~~~~~~~~~~~~~~ libvo/vo_directfb2.c:466:58: warning: unused parameter 'title' [-Wunused-parameter] 466 | uint32_t d_height, uint32_t flags, char *title, | ~~~~~~^~~~~ libvo/vo_vdpau.c: In function 'draw_image': libaf/reorder_ch.c: In function 'reorder_self_4_step_1': In file included from libmpcodecs/ad.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libvo/vo_vdpau.c:1136:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1136 | VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; | ^ libaf/reorder_ch.c: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mpegpes.c libaf/reorder_ch.c: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_alaw.c:24: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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 cfg-mplayer.h:27, from mplayer.c:332: cfg-common.h:301:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 301 | {"msglevel", msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-common.h:314:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 314 | {"noconfig", noconfig_opts, CONF_TYPE_SUBCONFIG, CONF_GLOBAL|CONF_NOCFG|CONF_PRE_PARSE, 0, 0, NULL}, | ^~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:642:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 642 | REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,6,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:645:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 645 | REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,8,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:608:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 608 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:648:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 648 | REORDER_SELF_SWAP_4_STEP_1(src_16,tmp,samples,5,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:656:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 656 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ cfg-common.h:431:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:432:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ 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:435:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 435 | { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:448:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, | ^~~~~~~~~~~ cfg-common.h:450:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 450 | {"radio", radioopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:455:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-common.h:460:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | {"pvr", pvropts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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}, | ^ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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:701:13: note: in expansion of macro 'REORDER_SELF_SWAP_4_STEP_1' 701 | REORDER_SELF_SWAP_4_STEP_1(src_64,tmp,samples,5,s0,s1,s2,s3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_4_step_2': libaf/reorder_ch.c:734:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 734 | for (i = 0; i < samples * 3; i += chnum * 3) { | ^ libaf/reorder_ch.c: In function 'reorder_self_5_step_1': libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:786:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 786 | REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_vdpau.c: In function 'query_format': libvo/vo_vdpau.c:1207:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1207 | if (force_mixer) | ^ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_vdpau.c:1209:5: note: here 1209 | case IMGFMT_YV12: | ^~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:792:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 792 | REORDER_SELF_SWAP_5_STEP_1(src_8,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:801:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 801 | REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'run_command': libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:804:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 804 | REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,8,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:807:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 807 | REORDER_SELF_SWAP_5_STEP_1(src_16,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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: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) { | ^ ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_mtga.o libmpcodecs/vd_mtga.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_null.o libmpcodecs/vd_null.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_raw.o libmpcodecs/vd_raw.c libaf/reorder_ch.c: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_sgi.o libmpcodecs/vd_sgi.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_black.o libmpcodecs/vd_black.c libaf/reorder_ch.c: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf.o libmpcodecs/vf.c libaf/reorder_ch.c:766:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 766 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:863:13: note: in expansion of macro 'REORDER_SELF_SWAP_5_STEP_1' 863 | REORDER_SELF_SWAP_5_STEP_1(src_64,tmp,samples,5,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c: In function 'reorder_self_2_3': libaf/reorder_ch.c:877:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 877 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:897:9: note: in expansion of macro 'REORDER_SELF_SWAP_2_3' 897 | REORDER_SELF_SWAP_2_3(src_8,tmp,samples,6,s0,s1,s2,s3,s4); | ^~~~~~~~~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_dvdpcm.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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: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); | ^~~~~~~~~~~~~~~~~~~~~ cfg-mplayer.h:354:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 354 | {"tvscan", tvscan_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-mplayer.h:361:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 361 | {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:362:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 362 | {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:363:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 363 | {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~ cfg-mplayer.h:365:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~ 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) { | ^ libmpcodecs/ad_alaw.c: In function 'uninit': libmpcodecs/ad_alaw.c:58:32: warning: unused parameter 'sh' [-Wunused-parameter] 58 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_alaw.c: In function 'control': libmpcodecs/ad_alaw.c:62:49: warning: unused parameter 'arg' [-Wunused-parameter] 62 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_alaw.c: In function 'decode_audio': libmpcodecs/ad_alaw.c:78:80: warning: unused parameter 'maxlen' [-Wunused-parameter] 78 | static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen) | ~~~~^~~~~~ mplayer.c: In function 'print_file_properties': 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); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/ad_hwac3.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 | ^~ mplayer.c:507:30: note: in expansion of macro 'MP_NOPTS_VALUE' 507 | double video_start_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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': In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_hwmpa.c:30: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/ad_hwac3.c:189:49: warning: unused parameter 'arg' [-Wunused-parameter] 189 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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: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); | ^~~~~~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:535:28: note: in expansion of macro 'MP_NOPTS_VALUE' 535 | if (video_start_pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:536:26: note: in expansion of macro 'MP_NOPTS_VALUE' 536 | if (start_pts == MP_NOPTS_VALUE || !mpctx->sh_audio || | ^~~~~~~~~~~~~~ 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: In function 'reorder_self_3_3': ./mp_global.h:27:29: warning: left shift of 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) | ^~~~~~~~~~~~~~ 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_hwac3.c: In function 'dts_syncinfo': libmpcodecs/ad_hwac3.c:439:51: warning: unused parameter 'flags' [-Wunused-parameter] 439 | static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate) | ~~~~~^~~~~ 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) | ~~~~~~~~~~~~~~~~~~~~~~~^ 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); | ^~~~~~~~~~~~~~~~~~~~~ mplayer.c: In function 'child_sighandler': mplayer.c:767:34: warning: unused parameter 'x' [-Wunused-parameter] 767 | static void child_sighandler(int x) | ~~~~^ libaf/reorder_ch.c:995:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 995 | for (i = 0; i < samples * 3; i += 18) { | ^ mplayer.c: In function 'load_per_extension_config': 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); | ^~~~~~~~~~~~~~~~~~~~~ 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: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); | ^~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_1bpp.o libmpcodecs/vf_1bpp.c libaf/reorder_ch.c: In function 'reorder_self_2_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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_2xsai.o libmpcodecs/vf_2xsai.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_blackframe.o libmpcodecs/vf_blackframe.c 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); | ^~~~~~~~~~~~~~~~~~~~~ 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:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1071:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1071 | REORDER_SELF_SWAP_2_4(src_8,tmp,samples,8,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1080:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1080 | REORDER_SELF_SWAP_2_4(src_16,tmp,samples,6,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libaf/reorder_ch.c:1047:15: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1047 | for (i = 0; i < SAMPLES; i += CHNUM) {\ | ^ libaf/reorder_ch.c:1082:13: note: in expansion of macro 'REORDER_SELF_SWAP_2_4' 1082 | REORDER_SELF_SWAP_2_4(src_16,tmp,samples,8,s0,s1,s2,s3,s4,s5); | ^~~~~~~~~~~~~~~~~~~~~ libmpcodecs/mp_image.c: In function 'mp_image_setfmt': 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; 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/mp_image.c:248:5: note: here 248 | case IMGFMT_NV21: | ^~~~ 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) { | ^ command.c: In function 'mp_property_ass_use_margins': In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_pcm.c:24: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ command.c:1877:5: note: here 1877 | case M_PROPERTY_STEP_UP: | ^~~~ command.c:1879:26: warning: this statement may fall through [-Wimplicit-fallthrough=] 1879 | ass_force_reload = 1; | ~~~~~~~~~~~~~~~~~^~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ command.c:1880:5: note: here 1880 | default: | ^~~~~~~ mplayer.c: In function 'is_at_end': 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:1746:37: note: in expansion of macro 'MP_NOPTS_VALUE' 1746 | case END_AT_TIME: return pts != MP_NOPTS_VALUE && end_at->pos <= pts; | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from libmpcodecs/dec_video.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': command.c:1853:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1853 | 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; | ^~~~~~~~~~~~~~ mplayer.c: In function 'generate_video_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/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_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: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: | ^~~~ ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ command.c:1858:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1858 | if (vo_spudec) | ^ In file included from libmpcodecs/vd.c:32: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ command.c:1860:5: note: here 1860 | default: | ^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: In function 'mp_property_sub_alignment': mplayer.c: In function 'adjust_sync_and_print_status': 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:2070:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2070 | if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpcodecs/ad_hwmpa.c: In function 'decode_audio': libmpcodecs/ad_hwmpa.c:100:63: warning: unused parameter 'minlen' [-Wunused-parameter] 100 | static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) | ~~~~^~~~~~ libmpcodecs/ad_dvdpcm.c: In function 'uninit': libmpcodecs/ad_dvdpcm.c:86:32: warning: unused parameter 'sh' [-Wunused-parameter] 86 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_dvdpcm.c: In function 'control': libmpcodecs/ad_dvdpcm.c:90:49: warning: unused parameter 'arg' [-Wunused-parameter] 90 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_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) | ~~~~~~~~~~~~^~ command.c:1838:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 1838 | vo_osd_changed(OSDTYPE_SUBTITLE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2070:53: note: in expansion of macro 'MP_NOPTS_VALUE' 2070 | if (a_pts == MP_NOPTS_VALUE || v_pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ 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) | ~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_boxblur.o libmpcodecs/vf_boxblur.c command.c:1839:5: note: here 1839 | default: | ^~~~~~~ command.c: In function 'mp_property_sub_pos': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_crop.o libmpcodecs/vf_crop.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_cropdetect.c command.c:1437:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1437 | if (!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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_decimate.o libmpcodecs/vf_decimate.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_delogo.o libmpcodecs/vf_delogo.c 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: | ^~~~ command.c:1439:5: note: here 1439 | case M_PROPERTY_STEP_UP: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_denoise3d.c 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: | ^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_detc.o libmpcodecs/vf_detc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dint.o libmpcodecs/vf_dint.c In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_hmblck.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_divtc.o libmpcodecs/vf_divtc.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 'reinit_video_chain': In file included from libmpcodecs/dec_audio.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2417:26: note: in expansion of macro 'MP_NOPTS_VALUE' 2417 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: In function 'mp_property_vo_flag': command.c:1213:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1213 | if (*vo_var == !!*(int *) arg) | ^ command.c:1216:5: note: here 1216 | case M_PROPERTY_STEP_UP: | ^~~~ command.c: In function 'mp_property_fullscreen': mplayer.c: In function 'update_video': 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: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; | ^~~~~~~~~~~~~~ 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:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mplayer.c:2532:30: note: in expansion of macro 'MP_NOPTS_VALUE' 2532 | if (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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_down3dright.o libmpcodecs/vf_down3dright.c ./mp_global.h:27:29: warning: left shift of 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: In function 'mp_property_mute': command.c:740:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 740 | if (mpctx->edl_muted) { | ^ libmpcodecs/dec_teletext.c: In function 'decode_pkt30': command.c:744:5: note: here 744 | default: | ^~~~~~~ libmpcodecs/dec_teletext.c:1187:66: warning: unused parameter 'magAddr' [-Wunused-parameter] 1187 | static int decode_pkt30(priv_vbi_t* priv,unsigned char* data,int magAddr) | ~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dsize.o libmpcodecs/vf_dsize.c libmpcodecs/dec_teletext.c: In function 'vbi_decode_dvb': command.c: In function 'run_command': libmpcodecs/dec_teletext.c:1575:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1575 | for (i = 0; i < sizeof(data); i++) | ^ libmpcodecs/ad_pcm.c: In function 'uninit': libmpcodecs/ad_pcm.c:128:32: warning: unused parameter 'sh' [-Wunused-parameter] 128 | static void uninit(sh_audio_t *sh) | ~~~~~~~~~~~~^~ libmpcodecs/ad_pcm.c: In function 'control': libmpcodecs/ad_pcm.c:132:51: warning: unused parameter 'arg' [-Wunused-parameter] 132 | static int control(sh_audio_t *sh, int cmd, void *arg, ...) | ~~~~~~^~~ libmpcodecs/ad_pcm.c: In function 'decode_audio': libmpcodecs/ad_pcm.c:150:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 150 | if (len > maxlen) | ^ command.c:3445:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 3445 | if (sh_audio) | ^ libmpcodecs/ad_pcm.c: In function 'init': libmpcodecs/ad_pcm.c:73:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 73 | sh_audio->sample_format = AF_FORMAT_S16_BE; libmpcodecs/ad_pcm.c:75:5: note: here 75 | case 0x74776F73: // 'sowt' | ^~~~ libmpcodecs/dec_video.c: In function 'set_video_colors': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_dvbscale.c libmpcodecs/dec_video.c:109:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 109 | (int *) value) == CONTROL_OK) | ^ libmpcodecs/dec_video.c:108:61: warning: passing argument 3 of 'mpvdec->control' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | if (mpvdec->control(sh_video, VDCTRL_SET_EQUALIZER, item, | ^~~~ libmpcodecs/dec_video.c:108:61: note: expected 'void *' but argument is of type 'const char *' gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_eq.o libmpcodecs/vf_eq.c libmpcodecs/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 *' command.c:3451:5: note: here 3451 | case MP_CMD_AF_ADD: | ^~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/dec_video.c:42: libmpcodecs/dec_video.c: In function 'resync_video_stream': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/dec_video.c:157:34: note: in expansion of macro 'MP_NOPTS_VALUE' 157 | sh_video->last_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/dec_video.c: In function 'init_video': libmpcodecs/dec_video.c: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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 'main': In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_null.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ libmpcodecs/vd_hmblck.c: In function 'control': libmpcodecs/vd_hmblck.c:74:32: warning: unused parameter 'sh' [-Wunused-parameter] 74 | static int control(sh_video_t *sh,int cmd, void *arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_hmblck.c:74:39: warning: unused parameter 'cmd' [-Wunused-parameter] 74 | static int control(sh_video_t *sh,int cmd, void *arg,...){ | ~~~~^~~ libmpcodecs/vd_hmblck.c:74:50: warning: unused parameter 'arg' [-Wunused-parameter] 74 | static int control(sh_video_t *sh,int cmd, void *arg,...){ | ~~~~~~^~~ libmpcodecs/vd_hmblck.c: In function 'uninit': libmpcodecs/vd_hmblck.c:99:32: warning: unused parameter 'sh' [-Wunused-parameter] 99 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_hmblck.c: In function 'decode': libmpcodecs/vd_hmblck.c:104:65: warning: unused parameter 'flags' [-Wunused-parameter] 104 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_sgi.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/vf_1bpp.c: In function 'vf_open': libmpcodecs/vf_1bpp.c:189:45: warning: unused parameter 'args' [-Wunused-parameter] 189 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_black.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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/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) | ~~~~^~~~~ 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); | ~~~~~~~~~~~~~~~^~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_mtga.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_eq2.o libmpcodecs/vf_eq2.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_expand.o libmpcodecs/vf_expand.c ./mp_global.h:27:29: warning: left shift of 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) { | ^~~~~~~~~~~~~~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_field.o libmpcodecs/vf_field.c libmpcodecs/vf_2xsai.c: In function 'vf_open': libmpcodecs/vf_2xsai.c:320:45: warning: unused parameter 'args' [-Wunused-parameter] 320 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vd_mpegpes.c: In function 'control': libmpcodecs/vd_mpegpes.c:44:32: warning: unused parameter 'sh' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpegpes.c:44:39: warning: unused parameter 'cmd' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_mpegpes.c:44:49: warning: unused parameter 'arg' [-Wunused-parameter] 44 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ libmpcodecs/vd_mpegpes.c: In function 'uninit': libmpcodecs/vd_mpegpes.c:54:32: warning: unused parameter 'sh' [-Wunused-parameter] 54 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpegpes.c: In function 'decode': libmpcodecs/vd_mpegpes.c:58:65: warning: unused parameter 'flags' [-Wunused-parameter] 58 | static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){ | ~~~~^~~~~ ./mp_global.h:27:29: warning: left shift of 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 && | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_fil.o libmpcodecs/vf_fil.c ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_filmdint.o libmpcodecs/vf_filmdint.c libmpcodecs/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 'initTextures': libvo/vo_gl_tiled.c:172:11: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 172 | while (s= texture_width) | ^~ libmpcodecs/vd_sgi.c: In function 'decode': libmpcodecs/vd_sgi.c:275:60: warning: unused parameter 'flags' [-Wunused-parameter] 275 | mp_image_t *decode(sh_video_t *sh, void *raw, int len, int flags) | ~~~~^~~~~ libmpcodecs/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; | ^~~~~~~~~~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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/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); | ^~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl_tiled.c: In function 'initGl': libmpcodecs/vd_raw.c: In function 'uninit': libmpcodecs/vd_raw.c:70:32: warning: unused parameter 'sh' [-Wunused-parameter] 70 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_raw.c: In function 'decode': libmpcodecs/vd_raw.c:79:28: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 79 | int format = sh->bih ? sh->bih->biCompression : sh->format; | ^~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl_tiled.c:558:11: warning: missing initializer for field 'input_shift' of 'struct mp_csp_params' [-Wmissing-field-initializers] 558 | {-1, -1, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0}, | ^ In file included from libvo/gl_common.h:33, from libvo/vo_gl_tiled.c:35: libvo/csputils.h:56:7: note: 'input_shift' declared here 56 | int input_shift; | ^~~~~~~~~~~ libvo/vo_gl_tiled.c:559:11: warning: missing initializer for field 'filter_strength' of 'gl_conversion_params_t' [-Wmissing-field-initializers] 559 | texture_width, texture_height, 0, 0, 0}; | ^~~~~~~~~~~~~ libvo/gl_common.h:163:9: note: 'filter_strength' declared here 163 | float filter_strength; | ^~~~~~~~~~~~~~~ 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){ | ~~~~^~~~~ libmpcodecs/vd_mtga.c: In function 'control': libmpcodecs/vd_mtga.c:86:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 86 | if (*((int *) arg) == out_fmt) return CONTROL_TRUE; | ^~ libvo/vo_matrixview.c: In function 'draw_slice': libmpcodecs/vd_mtga.c:81:32: warning: unused parameter 'sh' [-Wunused-parameter] 81 | static int control(sh_video_t *sh, int cmd, void *arg, ...) | ~~~~~~~~~~~~^~ libvo/vo_matrixview.c:173:20: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 173 | sws_scale(sws, src, stride, y, h, map_image, map_stride); | ^~~ | | | uint8_t ** {aka unsigned char **} In file included from libvo/vo_matrixview.c:38: /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[], | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_fixpts.o libmpcodecs/vf_fixpts.c 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) | ~~~~^ 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_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, ...) | ~~~~~~~~~~~~^~ 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/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) | ~~~~~~^~~~ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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) | ~~~~^~~ libvo/vo_gl_tiled.c: In function 'draw_slice': libmpcodecs/vd_black.c:164:68: warning: unused parameter 'flags' [-Wunused-parameter] 164 | static mp_image_t* decode(sh_video_t *sh, void *data, int len, int flags) | ~~~~^~~~~ libmpcodecs/vd_mtga.c: In function 'decode': 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/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) | ^~ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/vo_gl_tiled.c:734:29: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 734 | if (subtex_y + subtex_h > texture_height) | ^ libvo/gl_common.c:494:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 494 | {&mpglBindBuffer, NULL, {"glBindBuffer", "glBindBufferARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libmpcodecs/vf_down3dright.c: In function 'config': libmpcodecs/vd_mtga.c:193:67: warning: unused parameter 'flags' [-Wunused-parameter] 193 | static mp_image_t *decode(sh_video_t *sh, void *raw, int len, int flags) | ~~~~^~~~~ libmpcodecs/vf_down3dright.c:118:52: warning: unused parameter 'outfmt' [-Wunused-parameter] 118 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ libvo/gl_common.c:495:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 495 | {&mpglMapBuffer, NULL, {"glMapBuffer", "glMapBufferARB", NULL}}, | ^ libvo/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) | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:496:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 496 | {&mpglMapBufferRange, "ARB_map_buffer_range", {"glMapBufferRange", "glMapBufferRangeARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:497:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 497 | {&mpglUnmapBuffer, NULL, {"glUnmapBuffer", "glUnmapBufferARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:498:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 498 | {&mpglBufferData, NULL, {"glBufferData", "glBufferDataARB", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:499:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 499 | {&mpglCombinerParameterfv, "NV_register_combiners", {"glCombinerParameterfv", "glCombinerParameterfvNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:500:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 500 | {&mpglCombinerParameteri, "NV_register_combiners", {"glCombinerParameteri", "glCombinerParameteriNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:501:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 501 | {&mpglCombinerInput, "NV_register_combiners", {"glCombinerInput", "glCombinerInputNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ libvo/gl_common.c:502:3: warning: missing initializer for field 'fallback' of 'extfunc_desc_t' [-Wmissing-field-initializers] 502 | {&mpglCombinerOutput, "NV_register_combiners", {"glCombinerOutput", "glCombinerOutputNV", NULL}}, | ^ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ 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) | ^~ 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}}, | ^ 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; | ^~~ 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; | ^~~~~~~~ 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/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}}, | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_flip.o libmpcodecs/vf_flip.c 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}}, | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ libvo/gl_common.c:435:9: note: 'fallback' declared here 435 | void *fallback; | ^~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/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; | ^~~~~~~~ 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; | ^~~~~~~~ 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)) { | ^~ libvo/vo_gl_tiled.c: In function 'initGl': libvo/vo_gl_tiled.c:566:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 566 | glBindTexture(GL_TEXTURE_2D, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libvo/vo_gl_tiled.c:567:7: note: here 567 | case YUV_CONVERSION_FRAGMENT_POW: | ^~~~ 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: | ^~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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) | ~~~~^~~ mplayer.c:824:9: note: here 824 | case SIGFPE: | ^~~~ libmpcodecs/vf_divtc.c: In function 'checksum_plane': libmpcodecs/vf_divtc.c:159:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 159 | for(shift=0, e=p+w; (int)p&(sizeof(wsum_t)-1) && ppriv->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 'getWindowVisualInfo': 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); | ^~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_format.o libmpcodecs/vf_format.c libmpcodecs/vf_eq.c: In function 'vf_open': libmpcodecs/vf_eq.c:261:45: warning: unused parameter 'args' [-Wunused-parameter] 261 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ libvo/gl_common.c: In function 'swapGlBuffers_x11': 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:2378:44: warning: unused parameter 'ctx' [-Wunused-parameter] 2378 | static void swapGlBuffers_x11(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_framestep.o libmpcodecs/vf_framestep.c libvo/gl_common.c: In function 'dummy_color': 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) { | ~~~~~~~~^ 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) { | ~~~~~~~~^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_gradfun.o libmpcodecs/vf_gradfun.c 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) { | ~~~~~~~~^ libmpcodecs/vf_detc.c: In function 'analyze_fixed_pattern': libmpcodecs/vf_detc.c:147:67: warning: unused parameter 'new' [-Wunused-parameter] 147 | static int analyze_fixed_pattern(struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) | ~~~~~~~~~~~~^~~ libmpcodecs/vf_detc.c:147:84: warning: unused parameter 'old' [-Wunused-parameter] 147 | static int analyze_fixed_pattern(struct vf_priv_s *p, mp_image_t *new, mp_image_t *old) | ~~~~~~~~~~~~^~~ libvo/vo_gl.c: In function 'draw_osd': libvo/vo_gl.c:849:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 849 | osd_w = scaled_osd ? image_width : draw_width; | ^~~~~~~~~~ libvo/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:850:41: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 850 | osd_h = scaled_osd ? image_height : draw_height; | ^~~~~~~~~~~ libvo/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) { | ~~~~~~~^ libmpcodecs/vf_eq2.c: In function 'put_image': In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_detc.c:28: libmpcodecs/vf_detc.c: In function 'do_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)) { | ^~ ./mp_global.h:27:29: warning: left shift of 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/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)) { | ^~ ./mp_global.h:27:29: warning: left shift of 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/vo_gl.c: In function 'draw_image': libmpcodecs/vf_detc.c: In function 'put_image': libmpcodecs/vf_detc.c:316:70: warning: unused parameter 'pts' [-Wunused-parameter] 316 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libvo/gl_common.c:2484:64: warning: unused parameter 'v' [-Wunused-parameter] 2484 | static void GLAPIENTRY dummy_texenvi(GLenum t, GLenum p, GLint v) { | ~~~~~~^ libmpcodecs/vf_detc.c:316:82: warning: unused parameter 'endpts' [-Wunused-parameter] 316 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ libvo/vo_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; | ^~ 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: In function 'swapGlBuffers_egl': libmpcodecs/vf_detc.c:226:9: note: here 226 | case 0: | ^~~~ 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/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': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_halfpack.o libmpcodecs/vf_halfpack.c libvo/gl_common.c:2658:46: warning: unused parameter 'ctx' [-Wunused-parameter] 2658 | static void swapGlBuffers_dummy(MPGLContext *ctx) { | ~~~~~~~~~~~~~^~~ libvo/gl_common.c: In function 'mpglcontext_create_window': In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_fixpts.c:30: libmpcodecs/vf_fixpts.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:46:20: note: in expansion of macro 'MP_NOPTS_VALUE' 46 | if (pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:51:16: note: in expansion of macro 'MP_NOPTS_VALUE' 51 | if (pts != MP_NOPTS_VALUE && p->autostart != 0) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:55:23: note: in expansion of macro 'MP_NOPTS_VALUE' 55 | } else if (pts != MP_NOPTS_VALUE && p->autostep > 0) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_fixpts.c:64:15: note: in expansion of macro 'MP_NOPTS_VALUE' 64 | pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_harddup.o libmpcodecs/vf_harddup.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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: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 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 ); | ~~~~~^~~~~~~~~~ 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: In function 'glFindFormat': libvo/gl_common.c:309:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 309 | *gl_texfmt = GL_RGBA16; | ^ 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': 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: | ^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hqdn3d.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_hue.o libmpcodecs/vf_hue.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_il.o libmpcodecs/vf_il.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ilpack.c libmpcodecs/vf_expand.c: In function 'draw_top_blackbar_slice': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ivtc.o libmpcodecs/vf_ivtc.c libmpcodecs/vf_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_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){ | ~~~~~~^~~~ 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){ | ~~~~^ 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){ | ~~~~^ 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){ | ~~~~~~^~~~ 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, | ~~~~~~~~~~~~~~~^ 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, | ~~~~^~ 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) | ~~~~~~~~~~~~~~~~~~^ 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': 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, | ~~~~^~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_kerndeint.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_mirror.o libmpcodecs/vf_mirror.c libmpcodecs/vf_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) | ^~ 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) | ^~ 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) | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_noformat.o libmpcodecs/vf_noformat.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_noise.o libmpcodecs/vf_noise.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ow.o libmpcodecs/vf_ow.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_palette.o libmpcodecs/vf_palette.c In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_filmdint.c:32: libmpcodecs/vf_filmdint.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_filmdint.c:1333:54: note: in expansion of macro 'MP_NOPTS_VALUE' 1333 | return show_fields ? vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE) : 0; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_perspective.o libmpcodecs/vf_perspective.c ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_phase.o libmpcodecs/vf_phase.c 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_halfpack.c: In function 'config': libmpcodecs/vf_halfpack.c:195:52: warning: unused parameter 'outfmt' [-Wunused-parameter] 195 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ 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; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pp7.o libmpcodecs/vf_pp7.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pullup.o libmpcodecs/vf_pullup.c libmpcodecs/vf_filmdint.c:1387:26: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1387 | if (p->crop_y + p->h > height) p->crop_y = 0; | ^ libmpcodecs/vf_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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rectangle.o libmpcodecs/vf_rectangle.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_remove_logo.c 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: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rgbtest.c 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_ilpack.c: In function 'config': libmpcodecs/vf_ilpack.c:392:44: warning: unused parameter 'outfmt' [-Wunused-parameter] 392 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ 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_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_filmdint.c: In function 'block_metrics_mmx2': libmpcodecs/vf_filmdint.c:604:12: warning: 'tm' is used uninitialized [-Wuninitialized] 604 | return 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_rotate.o libmpcodecs/vf_rotate.c libmpcodecs/vf_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; | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_sab.o libmpcodecs/vf_sab.c 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_scale.o libmpcodecs/vf_scale.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_smartblur.o libmpcodecs/vf_smartblur.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_softpulldown.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_stereo3d.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_softskip.o libmpcodecs/vf_softskip.c libmpcodecs/vf_mirror.c: In function 'vf_open': libmpcodecs/vf_mirror.c:116:45: warning: unused parameter 'args' [-Wunused-parameter] 116 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf_noformat.c: In function 'vf_open': libmpcodecs/vf_noformat.c:49:45: warning: unused parameter 'args' [-Wunused-parameter] 49 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_swapuv.o libmpcodecs/vf_swapuv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_telecine.o libmpcodecs/vf_telecine.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_test.o libmpcodecs/vf_test.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_tfields.o libmpcodecs/vf_tfields.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_tile.o libmpcodecs/vf_tile.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_tinterlace.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_unsharp.o libmpcodecs/vf_unsharp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_vo.o libmpcodecs/vf_vo.c 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 'calculate_bounding_rectangle': libmpcodecs/vf_remove_logo.c:204:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 204 | for (start_x = 0; start_x < filter->width && !did_we_find_a_logo_pixel; start_x++) | ^ libmpcodecs/vf_remove_logo.c:206:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 206 | for (y = 0; y < filter->height; y++) | ^ libmpcodecs/vf_remove_logo.c:217:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 217 | for (y = 0; y < filter->height; y++) | ^ libmpcodecs/vf_remove_logo.c:226:29: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 226 | for (start_y = 0; start_y < filter->height && !did_we_find_a_logo_pixel; start_y++) | ^ libmpcodecs/vf_remove_logo.c:228:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 228 | for (x = 0; x < filter->width; x++) | ^ libmpcodecs/vf_remove_logo.c:239:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 239 | for (x = 0; x < filter->width; x++) | ^ libmpcodecs/vf_remove_logo.c: In function 'convert_mask_to_strength_mask': libmpcodecs/vf_remove_logo.c:359:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 359 | for (x = 0; x < mask->height * mask->width; x++, current_pixel++) | ^ libmpcodecs/vf_remove_logo.c:373:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 373 | for (y = 1; y < mask->height - 1; y++) | ^ libmpcodecs/vf_remove_logo.c:375:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 375 | for (x = 1; x < mask->width - 1; x++) | ^ libmpcodecs/vf_remove_logo.c:396:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 396 | for (y = 1; y < mask->height - 1; y++) | ^ libmpcodecs/vf_remove_logo.c:398:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 398 | for (x = 1; x < mask->width - 1; x++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yadif.o libmpcodecs/vf_yadif.c 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++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yuvcsp.c libmpcodecs/vf_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_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: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++) | ^ 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: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++) | ^ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_phase.c:240:39: note: in expansion of macro 'MP_NOPTS_VALUE' 240 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_phase.c:240:55: note: in expansion of macro 'MP_NOPTS_VALUE' 240 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_phase.c:199:70: warning: unused parameter 'pts' [-Wunused-parameter] 199 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_phase.c:199:82: warning: unused parameter 'endpts' [-Wunused-parameter] 199 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ 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_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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_yvu9.o libmpcodecs/vf_yvu9.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aac_hdr.o libmpdemux/aac_hdr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/asfheader.o libmpdemux/asfheader.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c 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) | ~~~~~~^~~~ 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; | ^~~~~~~~~~~~~~ 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 ./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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c libmpcodecs/vf_swapuv.c: In function 'vf_open': libmpcodecs/vf_swapuv.c:90:45: warning: unused parameter 'args' [-Wunused-parameter] 90 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_aac.o libmpdemux/demux_aac.c libmpcodecs/vf_tile.c: In function 'config': libmpcodecs/vf_tile.c:88:46: warning: unused parameter 'd_width' [-Wunused-parameter] 88 | int width, int height, int d_width, int d_height, | ~~~~^~~~~~~ libmpcodecs/vf_tile.c:88:59: warning: unused parameter 'd_height' [-Wunused-parameter] 88 | int width, int height, int d_width, int d_height, | ~~~~^~~~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/vf_tile.c:63: libmpcodecs/vf_tile.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tile.c:187:44: note: in expansion of macro 'MP_NOPTS_VALUE' 187 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tile.c:187:60: note: in expansion of macro 'MP_NOPTS_VALUE' 187 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_tile.c:110:70: warning: unused parameter 'pts' [-Wunused-parameter] 110 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~ libmpcodecs/vf_tile.c:110:82: warning: unused parameter 'endpts' [-Wunused-parameter] 110 | static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts) | ~~~~~~~^~~~~~ 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); | ^~~~~~~~~~~~~~ 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_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){ | ~~~~~~~~~~~~~^~~ ./mp_global.h:27:29: warning: left shift of 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.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; | ^~~~~~~~~~~~~~ libmpcodecs/vf_stereo3d.c: At top level: libmpcodecs/vf_stereo3d.c:138:3: warning: missing initializer for field 'width' of 'component' [-Wmissing-field-initializers] 138 | {SIDE_BY_SIDE_LR}, | ^ libmpcodecs/vf_stereo3d.c:70:18: note: 'width' declared here 70 | unsigned int width; | ^~~~~ libmpcodecs/vf_stereo3d.c:139:3: warning: missing initializer for field 'width' of 'component' [-Wmissing-field-initializers] 139 | {ANAGLYPH_RC_DUBOIS} | ^ libmpcodecs/vf_stereo3d.c:70:18: note: 'width' declared here 70 | unsigned int width; | ^~~~~ libmpcodecs/vf_stereo3d.c:140:1: warning: missing initializer for field 'ana_matrix' of 'const struct vf_priv_s' [-Wmissing-field-initializers] 140 | }; | ^ libmpcodecs/vf_stereo3d.c:133:9: note: 'ana_matrix' declared here 133 | int ana_matrix[3][6]; | ^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_asf.o libmpdemux/demux_asf.c ./mp_global.h:27:29: warning: left shift of 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) | ~~~~~~~^~~~~~ In file included from ./mpcommon.h:25, from libmpcodecs/vf_vo.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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++) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:366:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 366 | for (x = 0; x < out_width; x++) { | ^ libmpcodecs/vf_stereo3d.c: In function 'vf_open': libmpcodecs/vf_stereo3d.c:403:45: warning: unused parameter 'args' [-Wunused-parameter] 403 | static int vf_open(vf_instance_t *vf, char *args) | ~~~~~~^~~~ libmpcodecs/vf_stereo3d.c: In function 'config': libmpcodecs/vf_stereo3d.c:174:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 174 | d_width *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:175:5: note: here 175 | case SIDE_BY_SIDE_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:180:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 180 | d_width *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:181:5: note: here 181 | case SIDE_BY_SIDE_RL: | ^~~~ libmpcodecs/vf_stereo3d.c:186:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 186 | d_height *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:187:5: note: here 187 | case ABOVE_BELOW_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:192:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 192 | d_height *= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:193:5: note: here 193 | case ABOVE_BELOW_RL: | ^~~~ libmpcodecs/vf_stereo3d.c:229:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | d_width /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:230:5: note: here 230 | case SIDE_BY_SIDE_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:235:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 235 | d_width /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:236:5: note: here 236 | case SIDE_BY_SIDE_RL: | ^~~~ libmpcodecs/vf_stereo3d.c:241:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 241 | d_height /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:242:5: note: here 242 | case ABOVE_BELOW_LR: | ^~~~ libmpcodecs/vf_stereo3d.c:247:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 247 | d_height /= 2; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ libmpcodecs/vf_stereo3d.c:248:5: note: here 248 | case ABOVE_BELOW_RL: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_audio.o libmpdemux/demux_audio.c libmpcodecs/vf_yvu9.c: In function 'config': libmpcodecs/vf_yvu9.c:38:42: warning: unused parameter 'outfmt' [-Wunused-parameter] 38 | unsigned int flags, unsigned int outfmt){ | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vf_yvu9.c: In function 'vf_open': libmpcodecs/vf_yvu9.c:89:45: warning: unused parameter 'args' [-Wunused-parameter] 89 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ libmpcodecs/vf_yuvcsp.c: In function 'query_format': libmpcodecs/vf_yuvcsp.c:90:45: warning: unused parameter 'vf' [-Wunused-parameter] 90 | static int query_format(struct vf_instance *vf, unsigned int fmt){ | ~~~~~~~~~~~~~~~~~~~~^~ libmpcodecs/vf_yuvcsp.c: In function 'vf_open': libmpcodecs/vf_yuvcsp.c:100:45: warning: unused parameter 'args' [-Wunused-parameter] 100 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_avi.o libmpdemux/demux_avi.c In file included from 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_demuxers.o libmpdemux/demux_demuxers.c In file included from 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_film.o libmpdemux/demux_film.c libmpcodecs/vf_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); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tfields.c:425:78: note: in expansion of macro 'MP_NOPTS_VALUE' 425 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_tfields.c:451:78: note: in expansion of macro 'MP_NOPTS_VALUE' 451 | ret |= vf_next_put_image(vf, dmpi, calc_pts(pts, i), MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_tfields.c: In function 'query_format': libmpcodecs/vf_tfields.c:468:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 468 | if (vf->priv->mode == 1) | ^ libmpcodecs/vf_tfields.c:470:9: note: here 470 | case IMGFMT_YV12: | ^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_fli.o libmpdemux/demux_fli.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_lmlm4.o libmpdemux/demux_lmlm4.c 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; | ^~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mf.o libmpdemux/demux_mf.c libmpcodecs/vf_yadif.c: In function 'continue_buffered_image': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_yadif.c:447:59: note: in expansion of macro 'MP_NOPTS_VALUE' 447 | ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpcodecs/vf_scale.c: In function 'scale': libmpcodecs/vf_scale.c:442:25: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [-Wincompatible-pointer-types] 442 | sws_scale(sws1, src2, src_stride2, y>>1, h>>1, dst2, dst_stride2); | ^~~~ | | | uint8_t ** {aka unsigned char **} In file included from libmpcodecs/vf_scale.c:36: /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: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 **} /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: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mkv.o libmpdemux/demux_mkv.c libmpcodecs/vf_scale.c: In function 'vf_open': libmpcodecs/vf_scale.c:576:45: warning: unused parameter 'args' [-Wunused-parameter] 576 | static int vf_open(vf_instance_t *vf, char *args){ | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mov.o libmpdemux/demux_mov.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_mpg.o libmpdemux/demux_mpg.c libmpcodecs/vf_scale.c: At top level: gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_nsv.o libmpdemux/demux_nsv.c 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}, | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_pva.o libmpdemux/demux_pva.c In file included from libmpdemux/aviprint.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpcodecs/vf_scale.c: In function 'config': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_scale.c:315:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 315 | vf->priv->h = (vf->priv->h + 1) & ~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:293:14: note: in expansion of macro 'MP_NOPTS_VALUE' 293 | dp->endpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpcodecs/vf_scale.c:316:5: note: here 316 | case IMGFMT_YUY2: /* YUY2 needs w rounded to 2 */ | ^~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawaudio.c In file included from libmpdemux/aviheader.h:28, from libmpdemux/aviprint.h:23, from libmpdemux/asfheader.c:32: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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.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/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/aviprint.c: In function 'print_video_header': libmpdemux/aviprint.c:119:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 119 | if (h->biSize > sizeof(*h)) | ^ libmpdemux/asfheader.c: In function 'read_meta_record': libmpdemux/aviprint.c:124:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 124 | for (i = 0; i < h->biSize-sizeof(*h); i++) | ^ libmpdemux/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/aviprint.c: In function 'print_vprp': libmpdemux/aviprint.c:142:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 142 | for (i=0; inbFieldPerFrame; i++) { | ^ In file included from libmpdemux/demux_aac.c:28: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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 '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; | ^ 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/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/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/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/asfheader.c:500:66: warning: comparison of integer expressions of different signedness: 'int' and 'long 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; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_avi.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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/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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_rawvideo.o libmpdemux/demux_rawvideo.c In file included from libmpdemux/asfheader.h:23, from libmpdemux/demux_asf.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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/demux_mov.c:54: ./loader/qtx/qtxsdk/components.h: In function 'dump_ImageDescription': libmpdemux/aviheader.c: In function 'read_avi_header': libmpdemux/aviheader.c:277:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 277 | if (sh_video->bih->biSize > chunksize && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ libmpdemux/aviheader.c:277:72: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 277 | if (sh_video->bih->biSize > chunksize && sh_video->bih->biSize > sizeof(*sh_video->bih)) | ^ ./loader/qtx/qtxsdk/components.h:706:18: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'long unsigned int' [-Wsign-compare] 706 | if(id->idSize>sizeof(ImageDescription)){ | ^ ./loader/qtx/qtxsdk/components.h: In function 'dump_CodecDecompressParams': ./loader/qtx/qtxsdk/components.h:762:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 762 | for(i=0;iwantedDestinationPixelTypes; | ^~ libmpdemux/demux_audio.c: In function 'demux_audio_open': libmpdemux/demux_audio.c:547:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 547 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ libmpdemux/demux_audio.c:547:48: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 547 | sh_audio->wf = w = malloc(l > sizeof(*w) ? l : sizeof(*w)); | ^ 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/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_film.c:37: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.c: In function 'alloc_demuxer': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:240:21: note: in expansion of macro 'MP_NOPTS_VALUE' 240 | d->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'demux_asf_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/demuxer.c:241:26: note: in expansion of macro 'MP_NOPTS_VALUE' 241 | d->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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/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: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_realaud.o libmpdemux/demux_realaud.c libmpdemux/aviheader.c:595:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 595 | for (j=0;jnEntriesInUse;j++) | ^ libmpdemux/demuxer.c: In function 'new_sh_audio_aid': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:347:19: note: in expansion of macro 'MP_NOPTS_VALUE' 347 | sh->pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_asf.c: In function 'get_payload_extension_data': libmpdemux/demux_asf.c:330:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 330 | if (payload_time != -1) | ^~ 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/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]); | ^ In file included from libmpdemux/demux_mkv.c:32: libmpdemux/demuxer.h: In function 'new_demux_packet': 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/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/demux_audio.c:749:22: note: in expansion of macro 'MP_NOPTS_VALUE' 749 | priv->next_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/aviheader.c:737:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 737 | for (i=0; iidx_size; i++) { | ^ libmpdemux/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_audio.c: In function 'demux_audio_seek': In file included from libmpdemux/demux_fli.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_audio.c:783:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] 783 | static void demux_audio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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: 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_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/demuxer.c: In function 'ds_fill_buffer': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:701:27: note: in expansion of macro 'MP_NOPTS_VALUE' 701 | if (p->pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:706:34: note: in expansion of macro 'MP_NOPTS_VALUE' 706 | if (p->stream_pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/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_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/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/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.c: In function 'ds_get_packet_pts_endpts': libmpdemux/aviheader.c:688:13: note: here 688 | case 1: if(c&0x40000000) idx->dwFlags&=~AVIIF_KEYFRAME;break; // divx 3 | ^~~~ libmpdemux/demux_aac.c: In function 'demux_aac_seek': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:895:12: note: in expansion of macro 'MP_NOPTS_VALUE' 895 | *pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_aac.c:205:75: warning: unused parameter 'audio_delay' [-Wunused-parameter] 205 | static void demux_aac_seek(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_lmlm4.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.c: In function 'ds_get_packet_sub': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:919:22: note: in expansion of macro 'MP_NOPTS_VALUE' 919 | double max_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.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.c:925:19: note: in expansion of macro 'MP_NOPTS_VALUE' 925 | *pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_avi.c: In function 'demux_open_avi': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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/demux_avi.c:483:38: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] 483 | if((AVI_IDX_OFFSET(priv->idx + 0)movi_start || | ^ libmpdemux/demux_avi.c:484:38: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] 484 | AVI_IDX_OFFSET(priv->idx + 1)movi_start )&& !priv->isodml) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:942:25: note: in expansion of macro 'MP_NOPTS_VALUE' 942 | if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:942:54: note: in expansion of macro 'MP_NOPTS_VALUE' 942 | if (*pts != MP_NOPTS_VALUE && max_pts != MP_NOPTS_VALUE && | ^~~~~~~~~~~~~~ libmpdemux/demux_avi.c:521:24: warning: absolute value function 'abs' given an argument of type 'off_t' {aka 'long int'} but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 521 | if(force_ni || abs(a_pos-v_pos)>0x100000){ // distance > 1MB | ^~~ libmpdemux/demuxer.c: In function 'ds_get_next_pts': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:964:20: note: in expansion of macro 'MP_NOPTS_VALUE' 964 | return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-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; | ^~~~~~~~~~~~~~ In file included from libmpdemux/demux_pva.c:40: libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpdemux/demux_mf.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:974:20: note: in expansion of macro 'MP_NOPTS_VALUE' 974 | 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.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 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; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.c: In function 'demux_seek': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_real.o libmpdemux/demux_real.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_roq.o libmpdemux/demux_roq.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_smjpeg.o libmpdemux/demux_smjpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_ts.o libmpdemux/demux_ts.c libmpdemux/demux_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) | ~~~~~~^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_ty.o libmpdemux/demux_ty.c libmpdemux/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_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_fli.c: In function 'demux_seek_fli': libmpdemux/demux_fli.c:41:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] 41 | static void demux_seek_fli(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_fli.c: In function 'demux_fli_fill_buffer': libmpdemux/demux_fli.c:60:70: warning: unused parameter 'ds' [-Wunused-parameter] 60 | static int demux_fli_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ In file included from libmpdemux/demux_mov.c:61: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_ty_osd.o libmpdemux/demux_ty_osd.c In file included from ./mpcommon.h:25, from libmpdemux/demux_mpg.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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.c:1404:36: note: in expansion of macro 'MP_NOPTS_VALUE' 1404 | 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.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_mf.c: In function 'demux_seek_mf': libmpdemux/demux_mf.c:37:72: warning: unused parameter 'audio_delay' [-Wunused-parameter] 37 | static void demux_seek_mf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mf.c: In function 'demux_mf_fill_buffer': libmpdemux/demux_mf.c:66:44: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] 66 | if ( fread( dp->buffer,1,fs.st_size,f ) != fs.st_size ) { | ^~ libmpdemux/demux_mf.c:52:69: warning: unused parameter 'ds' [-Wunused-parameter] 52 | static int demux_mf_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_lmlm4.c: In function 'demux_lmlm4_fill_buffer': libmpdemux/demux_lmlm4.c:225:70: warning: unused parameter 'ds' [-Wunused-parameter] 225 | static int demux_lmlm4_fill_buffer(demuxer_t *demux, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demuxer.c: In function 'demuxer_get_current_time': 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/demuxer.h:98:29: warning: left shift of negative value [-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) | ^~~~~~~~~~~~~~ libmpdemux/demux_lmlm4.c: In function 'demux_lmlm4_fill_buffer': libmpdemux/demux_lmlm4.c:263:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 263 | if (!video) { | ^ libmpdemux/demux_lmlm4.c:268:5: note: here 268 | case FRAMETYPE_P: | ^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.c:1547:43: note: in expansion of macro 'MP_NOPTS_VALUE' 1547 | else if (sh_audio && sh_audio->pts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ libmpdemux/demux_mkv.c: In function 'grow_array': libmpdemux/demux_mkv.c:209:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 209 | if (nelem > UINT_MAX / elsize - 32) | ^ libmpdemux/demux_mkv.c: In function 'aac_get_sample_rate_index': libmpdemux/demux_mkv.c:256:24: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 256 | while (sample_rate < srates[i]) | ^ libmpdemux/demux_mkv.c: In function 'demux_mkv_decode': libmpdemux/demux_pva.c: In function 'demux_pva_fill_buffer': libmpdemux/demux_mkv.c:358:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 358 | if (dstlen > SIZE_MAX - padding) | ^ libmpdemux/demux_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_mkv.c:377:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 377 | if (dstlen > (SIZE_MAX - padding)/2) | ^ libmpdemux/demux_pva.c:459:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] 459 | static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,float audio_delay,int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_pva.c:459:90: warning: unused parameter 'flags' [-Wunused-parameter] 459 | static void demux_seek_pva(demuxer_t * demuxer,float rel_seek_secs,float audio_delay,int flags) | ~~~~^~~~~ In file included from libmpdemux/demux_rawaudio.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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_nsv.c: In function 'demux_seek_nsv': libmpdemux/demux_nsv.c:52:41: warning: unused parameter 'demuxer' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_nsv.c:52:56: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~^~~~~~~~~~~~~ libmpdemux/demux_nsv.c:52:77: warning: unused parameter 'audio_delay' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_nsv.c:52:94: warning: unused parameter 'flags' [-Wunused-parameter] 52 | static void demux_seek_nsv ( demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags ) | ~~~~^~~~~ libmpdemux/demux_nsv.c: In function 'demux_nsv_fill_buffer': libmpdemux/demux_nsv.c:58:72: warning: unused parameter 'ds' [-Wunused-parameter] 58 | static int demux_nsv_fill_buffer ( demuxer_t *demuxer, demux_stream_t *ds ) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mkv.c: In function 'demux_mkv_read_seekhead': libmpdemux/demux_mkv.c:1329:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1329 | mkv_d->parsed_seekhead_num > SIZE_MAX/sizeof(off_t)) | ^ 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/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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_viv.o libmpdemux/demux_viv.c libmpdemux/demux_mov.c: In function 'mov_build_index': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_vqf.o libmpdemux/demux_vqf.c libmpdemux/demux_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++){ | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_y4m.o libmpdemux/demux_y4m.c In file included from libmpdemux/demux_rawvideo.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': 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; | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/ebml.o libmpdemux/ebml.c 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/extension.o libmpdemux/extension.c libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:569:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 569 | if(priv->es_map[id - 0x1B0]) | ^~ In file included from libmpdemux/demux_mpg.c:28: ./mp_msg.h:150:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 150 | # define mp_dbg(mod,lev, args... ) mp_msg(mod, lev, ## args ) | ^~~~~~ libmpdemux/demux_mpg.c:571:11: note: in expansion of macro 'mp_dbg' 571 | mp_dbg(MSGT_DEMUX,MSGL_DBG2,"ASSIGNED TO STREAM %d CODEC %x\n", id, priv->es_map[id - 0x1B0]); | ^~~~~~ libmpdemux/demux_mpg.c:303:22: warning: variable 'dts' set but not used [-Wunused-but-set-variable] 303 | unsigned long long dts=0; | ^~~ libmpdemux/demux_mpg.c:298:7: warning: variable 'd' set but not used [-Wunused-but-set-variable] 298 | int d; | ^ libmpdemux/demux_mpg.c: In function 'demux_mpg_probe': libmpdemux/demux_mpg.c:688:7: warning: variable 'pes' set but not used [-Wunused-but-set-variable] 688 | int pes=1; | ^~~ libmpdemux/demux_mpg.c: In function 'demux_mpg_es_fill_buffer': libmpdemux/demux_mpg.c:754:71: warning: unused parameter 'ds' [-Wunused-parameter] 754 | static int demux_mpg_es_fill_buffer(demuxer_t *demux, demux_stream_t *ds){ | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_mpg.c: In function 'demux_mpg_fill_buffer': libmpdemux/demux_mpg.c:870:26: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] 870 | if (end_pos && end_pos < demux->filepos) | ^ libmpdemux/demux_rawaudio.c: In function 'demux_rawaudio_seek': libmpdemux/demux_rawaudio.c:99:78: warning: unused parameter 'audio_delay' [-Wunused-parameter] 99 | static void demux_rawaudio_seek(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_rawaudio.c: At top level: libmpdemux/demux_rawaudio.c:128:1: warning: missing initializer for field 'control' of 'demuxer_desc_t' {aka 'const struct demuxer_desc'} [-Wmissing-field-initializers] 128 | }; | ^ libmpdemux/demuxer.h:228:9: note: 'control' declared here 228 | int (*control)(struct demuxer *demuxer, int cmd, void *arg); ///< Optional | ^~~~~~~ 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/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) | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mf.o libmpdemux/mf.c libmpdemux/demux_mpg.c: In function 'demux_seek_mpg': libmpdemux/demux_mpg.c:1020:27: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value] 1020 | if (!precision || abs(newpts - mpg_d->last_pts) < 0.5 || (mpg_d->last_pts == oldpts)) break; | ^~~ libmpdemux/demux_mpg.c:930:34: warning: unused parameter 'audio_delay' [-Wunused-parameter] 930 | float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_mkv.c: In function 'demux_mkv_open_audio': libmpdemux/demux_mkv.c:1899:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1899 | if (flavor < FF_ARRAY_ELEMS(atrc_fl2bps)) | ^ libmpdemux/demux_mkv.c:1908:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1908 | if (flavor < FF_ARRAY_ELEMS(cook_fl2bps)) | ^ libmpdemux/demux_mov.c: In function 'gen_sh_video': 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) { | ^~ libmpdemux/demux_mkv.c:1917:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1917 | if (flavor < FF_ARRAY_ELEMS(sipr_fl2bps)) | ^ 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){ | ~~~~~~^~~~~~~~~~~ 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.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mp3_hdr.o libmpdemux/mp3_hdr.c libmpdemux/demux_mkv.c: In function 'demux_mkv_read_block_lacing': libmpdemux/demux_mkv.c:2291:51: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2291 | if (num == EBML_UINT_INVALID || *size < l) goto err_out; | ^ libmpdemux/demux_mov.c:1257:47: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1257 | if (trak->stream_header_len > 0xffffffff - sizeof(*sh->bih)) { | ^ In file included from libmpdemux/demux_smjpeg.c:34: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_mkv.c:2299:55: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2299 | if (snum == EBML_INT_INVALID || *size < l) goto err_out; | ^ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: 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, | ~~~~~~~~~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mp_taglists.o libmpdemux/mp_taglists.c libmpdemux/demux_mov.c: In function 'lschunks': In file included from libmpdemux/demux_roq.c:33: libmpdemux/demuxer.h: In function 'new_demux_packet': 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); | ^~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 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; | ^~~~~~~~~~~~~~ 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': 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: In function 'demux_mkv_fill_buffer': 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) | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_hdr.c libmpdemux/demux_ty_osd.c: In function 'ty_DrawChar': libmpdemux/demux_ty_osd.c:85:60: warning: unused parameter 'fgColor' [-Wunused-parameter] 85 | static void ty_DrawChar( int *x, int *y, char disChar, int fgColor, int bgColor ) | ~~~~^~~~~~~ libmpdemux/demux_ty_osd.c:85:73: warning: unused parameter 'bgColor' [-Wunused-parameter] 85 | static void ty_DrawChar( int *x, int *y, char disChar, int fgColor, int bgColor ) | ~~~~^~~~~~~ libmpdemux/demux_ty_osd.c: In function 'ty_drawchar': libmpdemux/demux_ty_osd.c:155:31: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 155 | if ( TY_CC_ptr - TY_CC_buf > sizeof( TY_CC_buf ) - 1 ) | ^ libmpdemux/demux_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_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_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_mov.c: In function 'demux_mov_fill_buffer': libmpdemux/demux_mkv.c: In function 'demux_mkv_seek': libmpdemux/demux_mov.c:2215:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2215 | } else | ^~~~ libmpdemux/demux_real.c: In function 'parse_index_chunk': libmpdemux/demux_real.c:230:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 230 | if (entries <= 0 || entries > MAX_INDEX_ENTRIES) | ^ libmpdemux/demux_mkv.c:2853:34: warning: unused parameter 'audio_delay' [-Wunused-parameter] 2853 | float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_real.c: In function 'add_index_item': libmpdemux/demux_real.c:275:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 275 | if (priv->index_table_size[stream_id] >= MAX_INDEX_ENTRIES) { | ^~ libmpdemux/demux_mov.c:2218:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2218 | ++trak->pos; | ^~ libmpdemux/demux_ty_osd.c: In function 'ty_processuserdata': libmpdemux/demux_ty_osd.c:865:56: warning: unused parameter 'len' [-Wunused-parameter] 865 | void ty_processuserdata( const unsigned char* buf, int len ) | ~~~~^~~ libmpdemux/demux_mov.c: In function 'mov_seek_track': 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_roq.c: In function 'demux_roq_fill_buffer': libmpdemux/demux_roq.c:79:70: warning: unused parameter 'ds' [-Wunused-parameter] 79 | static int demux_roq_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ libmpdemux/demux_ty_osd.c: In function 'ty_CCdecode': libmpdemux/demux_ty_osd.c:384:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 384 | ty_draw(); | ^~~~~~~~~ libmpdemux/demux_ty_osd.c:388:19: note: here 388 | case 0x2B: // resume text display | ^~~~ libmpdemux/demux_ty_osd.c:437:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 437 | ty_draw(); | ^~~~~~~~~ libmpdemux/demux_ty_osd.c:441:19: note: here 441 | case 0x2E: // erase non-displayed memory | ^~~~ libmpdemux/demux_real.c: In function 'demux_real_fill_buffer': libmpdemux/demux_ts.c: In function 'demux_open_ts': libmpdemux/demux_real.c:624:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 624 | if (priv->is_multirate) | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ts.c:1077:36: note: in expansion of macro 'MP_NOPTS_VALUE' 1077 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/demux_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_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: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_mov.c: In function 'demux_seek_mov': 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: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_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': In file included from libmpdemux/extension.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_ty.c:381:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 381 | if ( readSize >= sizeof( TMF_SIG ) && | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/mpeg_packetizer.o libmpdemux/mpeg_packetizer.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/parse_es.o libmpdemux/parse_es.c libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/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_mkv.c: In function 'demux_mkv_open': 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_real.c:881:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 881 | if (audioreorder_getnextpk) | ^~ 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/extension.c: In function 'demuxer_type_by_filename': 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:103:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 103 | for( i=0 ; i<(sizeof(extensions_table)/sizeof(extensions_table[0])) ; i++ ) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/parse_mp4.o libmpdemux/parse_mp4.c libmpdemux/demux_mkv.c:2107:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 2107 | cont = 1; | ~~~~~^~~ 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/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_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_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_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){ | ^ 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:1016:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1016 | if (len > dp->len - sizeof(dp_hdr_t) - dp_hdr->len) len = dp->len - sizeof(dp_hdr_t) - dp_hdr->len; | ^ In file included from libmpdemux/demux_y4m.c:36: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demux_real.c:1039:29: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1039 | if (len > dp->len - sizeof(dp_hdr_t)) len = dp->len - sizeof(dp_hdr_t); | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/video.o libmpdemux/video.c libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:1047:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1047 | if (vpkg_length > len) { | ^ libmpdemux/demux_real.c:578:71: warning: unused parameter 'dsds' [-Wunused-parameter] 578 | static int demux_real_fill_buffer(demuxer_t *demuxer, demux_stream_t *dsds) | ~~~~~~~~~~~~~~~~^~~~ In file included from libmpdemux/demux_vqf.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/yuv4mpeg_ratio.o libmpdemux/yuv4mpeg_ratio.c libmpdemux/mf.c: In function 'init_mf_from_glob_pattern': libmpdemux/mf.c:125:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 125 | for( i=0;i < gg.gl_pathc;i++ ) | ^ libmpdemux/demux_mov.c: In function 'mov_check_file': libmpdemux/demux_mov.c:503:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 503 | if(flags&2) break; | ^ libmpdemux/demux_mov.c:504:9: note: here 504 | case MOV_FOURCC('m','d','a','t'): | ^~~~ 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: In function 'demux_open_real': libmpdemux/demux_real.c:1466:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1466 | else | ^~~~ libmpdemux/demux_real.c:1469:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1469 | break; | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/getch2.o osdep/getch2.c libmpdemux/demux_vqf.c: In function 'demux_seek_vqf': libmpdemux/demux_vqf.c:207:39: warning: unused parameter 'demuxer' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_vqf.c:207:53: warning: unused parameter 'rel_seek_secs' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~~~ libmpdemux/demux_vqf.c:207:73: warning: unused parameter 'audio_delay' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_vqf.c:207:89: warning: unused parameter 'flags' [-Wunused-parameter] 207 | static void demux_seek_vqf(demuxer_t *demuxer,float rel_seek_secs,float audio_delay,int flags){ | ~~~~^~~~~ libmpdemux/demux_vqf.c: In function 'demux_close_vqf': libmpdemux/demux_vqf.c:224:40: warning: unused parameter 'demuxer' [-Wunused-parameter] 224 | static void demux_close_vqf(demuxer_t* demuxer) {} | ~~~~~~~~~~~^~~~~~~ libmpdemux/demux_ts.c: In function 'fill_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ts.c:2718: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_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_real.c: In function 'demux_seek_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:1903:76: warning: unused parameter 'audio_delay' [-Wunused-parameter] 1903 | static void demux_seek_real(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_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_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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/timer-linux.o osdep/timer-linux.c 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': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demux_ts.c:3252:36: note: in expansion of macro 'MP_NOPTS_VALUE' 3252 | demuxer->reference_clock = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ libmpdemux/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_ts.c: In function 'demux_seek_ts': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/open.o stream/open.c libmpdemux/demux_ts.c:3256:74: warning: unused parameter 'audio_delay' [-Wunused-parameter] 3256 | static void demux_seek_ts(demuxer_t *demuxer, float rel_seek_secs, float audio_delay, int flags) | ~~~~~~^~~~~~~~~~~ libmpdemux/demux_ts.c: In function 'demux_ts_fill_buffer': libmpdemux/demux_ts.c:3351:70: warning: unused parameter 'ds' [-Wunused-parameter] 3351 | static int demux_ts_fill_buffer(demuxer_t * demuxer, demux_stream_t *ds) | ~~~~~~~~~~~~~~~~^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream.o stream/stream.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_bd.o stream/stream_bd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_cue.o stream/stream_cue.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_file.o stream/stream_file.c In file included from 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_mf.o stream/stream_mf.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_null.o stream/stream_null.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/url.o stream/url.c In file included from 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/eosd.o sub/eosd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/find_sub.o sub/find_sub.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/osd.o sub/osd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/spudec.o sub/spudec.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/sub.o sub/sub.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/sub_cc.o sub/sub_cc.c libmpdemux/video.c: In function 'video_read_frame': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:632:32: note: in expansion of macro 'MP_NOPTS_VALUE' 632 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:651:34: note: in expansion of macro 'MP_NOPTS_VALUE' 651 | double d= (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts-pts1; | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/video.c:660:35: note: in expansion of macro 'MP_NOPTS_VALUE' 660 | double d = (next_pts != MP_NOPTS_VALUE) ? next_pts - d_video->pts : d_video->pts - pts1; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/subreader.o sub/subreader.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/vobsub.o sub/vobsub.c In file included from stream/open.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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/ai_alsa.o stream/ai_alsa.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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.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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/ai_oss.o stream/ai_oss.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/font_load.o sub/font_load.c stream/stream_null.c: In function 'open_s': stream/stream_null.c:26:40: warning: unused parameter 'mode' [-Wunused-parameter] 26 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/stream_null.c:26:52: warning: unused parameter 'opts' [-Wunused-parameter] 26 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ stream/stream_null.c:26:63: warning: unused parameter 'file_format' [-Wunused-parameter] 26 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~^~~~~~~~~~~ In file included from 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_cdda.o stream/stream_cdda.c In file included from stream/stream_file.c:40: ./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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cdinfo.o stream/cdinfo.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_cue.c: In function 'cue_read': stream/stream_cue.c:534:54: warning: unused parameter 'size' [-Wunused-parameter] 534 | static int cue_read(stream_t *stream, char *mem, int size) { | ~~~~^~~~ stream/stream_cue.c: In function 'open_s': stream/stream_cue.c:608:63: warning: unused parameter 'file_format' [-Wunused-parameter] 608 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~^~~~~~~~~~~ stream/stream_bd.c: In function 'find_vuk': stream/stream.c: In function 'open_stream_plugin': 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.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 }; | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_cddb.o stream/stream_cddb.c stream/stream_bd.c: In function 'bd_get_uks': stream/stream_bd.c:279:13: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 279 | if (pos < file_size) { | ^ 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; | ^~~~~~~~~~~~~~ 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_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.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 ./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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/dvb_tune.o stream/dvb_tune.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvb.o stream/stream_dvb.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvd.o stream/stream_dvd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_dvd_common.o stream/stream_dvd_common.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libvo/aclib.o libvo/aclib.c 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; | ^ In file included from ./mpcommon.h:25, from sub/sub.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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 | ^~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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 && keyendpts=MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:161:42: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 161 | if(key>subs[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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o av_helpers.o av_helpers.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o av_opts.o av_opts.c stream/stream_mf.c: In function 'mf_stream_open': stream/stream_mf.c:32:39: warning: unused parameter 'mode' [-Wunused-parameter] 32 | mf_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~^~~~ stream/stream_mf.c:32:51: warning: unused parameter 'opts' [-Wunused-parameter] 32 | mf_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ In file included from ./mpcommon.h:25, from sub/subreader.c:37: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_lavcac3enc.o libaf/af_lavcac3enc.c In file included from ./mpcommon.h:25, from sub/vobsub.c:36: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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 | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_lavcresample.o libaf/af_lavcresample.c 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; | ^~ 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/subreader.c: In function 'sub_ass_read_line_subviewer': sub/subreader.c:415:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 415 | if (len >= sizeof(full_line) - j - 2) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_ffmpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_spdif.o libmpcodecs/ad_spdif.c sub/spudec.c: In function 'spudec_packet_send': stream/ai_alsa.c: In function 'ai_alsa_setup': 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) | ^~~~~~~~~~~~~~ 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:1382:5: note: declared here 1382 | int snd_pcm_sw_params_set_sleep_min(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, unsigned int val) __attribute__((deprecated)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sub/spudec.c:1377:29: warning: left shift of negative value [-Wshift-negative-value] 1377 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/spudec.c:1442:17: note: in expansion of macro 'MP_NOPTS_VALUE' 1442 | if (endpts != MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_ffmpeg.o libmpcodecs/vd_ffmpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_geq.c 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 'long unsigned int'} [-Wsign-compare] 1543 | if (l >= strlen(exts[k]) && !av_strcasecmp(filename+(l - strlen(exts[k])), exts[k])){ | ^~ sub/sub.c: In function 'get_height': 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/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: In function 'vobsub_open': sub/vobsub.c:1003:34: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1003 | if (vobsubid == vob->spu_streams_current || | ^~ sub/vobsub.c: In function 'vobsub_get_id_by_index': sub/vobsub.c:1044:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1044 | for (i = 0, j = 0; i < vob->spu_streams_size; ++i) | ^ sub/vobsub.c:1046:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1046 | if (j == index) | ^~ sub/vobsub.c: In function 'vobsub_get_index_by_id': sub/vobsub.c:1057:37: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1057 | if (vob == NULL || id < 0 || id >= vob->spu_streams_size) | ^~ sub/vobsub.c: In function 'vobsub_set_from_lang': sub/vobsub.c:1072:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1072 | for (i = 0; i < vob->spu_streams_size; i++) | ^ sub/vobsub.c: In function 'vobsub_queue_reseek': sub/vobsub.c:1096:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1096 | while (queue->current_index >= i | ^~ sub/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/sub.c:731:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 731 | else if ((c = *t++) >= 0x80 && sub_unicode) | ^~ sub/sub.c:733:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 733 | if (k==MAX_UCS){ | ^~ In function 'get_payload_extension_data', inlined from 'demux_asf_fill_buffer' at libmpdemux/demux_asf.c:486:22: 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 | ^~~~~~~~~~~~ In file included from stream/stream_dvb.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavc.c 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){ | ~~~~^~~~~~~ In file included from stream/stream_cdda.c:40: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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, | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/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: In function 'sub_clear_text': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_lavcdeint.c sub/sub.c: In function 'vo_update_osd_ext': sub/sub.c:1114:51: warning: unused parameter 'left_border' [-Wunused-parameter] 1114 | static int vo_update_osd_ext(int dxs,int dys, int left_border, int top_border, | ~~~~^~~~~~~~~~~ sub/sub.c:1114:68: warning: unused parameter 'top_border' [-Wunused-parameter] 1114 | static int vo_update_osd_ext(int dxs,int dys, int left_border, int top_border, | ~~~~^~~~~~~~~~ sub/sub.c:1115:34: warning: unused parameter 'right_border' [-Wunused-parameter] 1115 | int right_border, int bottom_border, int orig_w, | ~~~~^~~~~~~~~~~~ sub/sub.c:1115:52: warning: unused parameter 'bottom_border' [-Wunused-parameter] 1115 | int right_border, int bottom_border, int orig_w, | ~~~~^~~~~~~~~~~~~ sub/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: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_screenshot.o libmpcodecs/vf_screenshot.c stream/stream_cdda.c: At top level: sub/sub.c:1116:34: warning: unused parameter 'orig_h' [-Wunused-parameter] 1116 | int orig_h) | ~~~~^~~~~~ stream/stream_cdda.c:102:59: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | { "span", ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, | ^ stream/stream_cdda.c:104:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | { "hostname", ST_OFF(span), CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, | ^ stream/stream_cdda.c:128:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | { "span", &cdda_dflts.span, CONF_TYPE_OBJ_PARAMS, 0, 0, 0, &m_span_params_def }, | ^ stream/stream_cdda.c: In function 'cdparanoia_callback': stream/stream_cdda.c:135:42: warning: unused parameter 'inpos' [-Wunused-parameter] 135 | static void cdparanoia_callback(long int inpos, paranoia_cb_mode_t function) { | ~~~~~~~~~^~~~~ stream/stream_cdda.c:135:68: warning: unused parameter 'function' [-Wunused-parameter] 135 | static void cdparanoia_callback(long int inpos, paranoia_cb_mode_t function) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ 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)) { | ^~~~~~~~~~~~~~ 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/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/stream_cdda.c: In function 'get_track_by_sector': sub/subreader.c: At top level: 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; | ^~~~~~ stream/stream_cdda.c:243:42: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 243 | if (p->cd->disc_toc[i].dwStartSector <= sector) | ^~ stream/stream_cdda.c: In function 'control': stream/stream_cdda.c:273:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 273 | if (track > end_track) { | ^ sub/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); | ^~~~~~~~ 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); | ^~~ In file included from av_helpers.c:21: /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; | ^~~~~~~~ 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:129:29: warning: 'channels' is deprecated [-Wdeprecated-declarations] 129 | ctx->channels, | ^~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ sub/subreader.c: In function 'sub_read_line_jacosub': 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; | ^~~~~~~~ av_helpers.c:139:13: warning: 'channels' is deprecated [-Wdeprecated-declarations] 139 | uint8_t *tmpd = (uint8_t *)src + ch*src_len/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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/demux_lavf.o libmpdemux/demux_lavf.c /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; | ^~~~~~~~ sub/subreader.c:1130:27: warning: this statement may fall through [-Wimplicit-fallthrough=] 1130 | } else if (eol(*(p + 1))) { | ^ av_helpers.c:149:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 149 | frame->channels = ctx->channels; | ^~~~~ 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); | ^ sub/subreader.c:1137:13: note: here 1137 | default: | ^~~~~~~ /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); | ^~~~~~~~~~~~~~ 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) | ~~~~^~~~~~~~~~ stream/stream_dvd_common.c: In function 'dvd_set_speed': stream/stream_dvd_common.c:96:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 96 | if (speed == -1) | ^~ In file included from stream/stream_dvd.c:43: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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 '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 ) { | ^~ In file included from ./mpcommon.h:25, from stream/stream_cddb.c:75: ./libmpdemux/demuxer.h: In function 'new_demux_packet': stream/stream_dvd.c: In function 'dvd_seek': stream/stream_dvd.c:344:17: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 344 | d->cur_packcur_pgc->cell_playback[ d->cur_cell ].first_sector) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/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) { | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_ffmpeg.o stream/stream_ffmpeg.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/av_sub.o sub/av_sub.c 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; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_ffmpeg.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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': stream/stream_dvd.c:734:40: warning: unused parameter 'mode' [-Wunused-parameter] 734 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/stream_dvd.c: In function 'ifo_stream_open': 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) | ~~~~~~^~~~ 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 || | ^~ In file included from libaf/af_lavcac3enc.c:35: /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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/font_load_ft.o sub/font_load_ft.c 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; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_ftp.o stream/stream_ftp.c libaf/af_lavcac3enc.c:130:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 130 | for (i = 0; i < FF_ARRAY_ELEMS(ac3_bit_rates); ++i) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_bmovl.o libmpcodecs/vf_bmovl.c libaf/af_lavcac3enc.c:133:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 133 | if (i >= FF_ARRAY_ELEMS(ac3_bit_rates)) { | ^~ stream/stream_cddb.c: In function 'cddb_write_cache': stream/stream_cddb.c:487:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 487 | if (cddb_data == NULL || cddb_data->cache_dir == NULL) | ^~ stream/stream_cddb.c:491:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 491 | ret = mkdir(cddb_data->cache_dir, 0755); | ^~~ 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"); | ^ 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/vd_internal.h:26, from libmpcodecs/vd_ffmpeg.c:38: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libaf/af_export.o libaf/af_export.c stream/url.c: In function 'url_escape_string': 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) | ~~~~~~~~~~~~~~~^~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/mmap_anon.o osdep/mmap_anon.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_ass.o libmpcodecs/vf_ass.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/ass_mp.o sub/ass_mp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/subassconvert.o sub/subassconvert.c libmpcodecs/ad_ffmpeg.c: In function 'setup_format': libmpcodecs/ad_ffmpeg.c:77:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 77 | samplerate == 2*sh_audio->wf->nSamplesPerSec) { | ^~ libmpcodecs/ad_ffmpeg.c:82:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 82 | if (lavc_context->channels != sh_audio->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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass.o libass/ass.c In file included from libmpcodecs/ad_ffmpeg.c:47: /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ 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)); | ^ 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_ffmpeg.c: In function 'control': libmpcodecs/ad_ffmpeg.c:206:49: warning: unused parameter 'arg' [-Wunused-parameter] 206 | static int control(sh_audio_t *sh,int cmd,void* arg, ...) | ~~~~~~^~~ libmpcodecs/ad_ffmpeg.c: In function 'copy_samples': libmpcodecs/ad_ffmpeg.c:277:5: warning: 'channels' is deprecated [-Wdeprecated-declarations] 277 | int channels = avc->channels; | ^~~ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ 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); | ^~~~~~~~~~~~~~ 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") | ^~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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) { | ^~~~~~~~~~~~~~ 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, | ^ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ 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; | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_bitmap.o libass/ass_bitmap.c libmpcodecs/ad_spdif.c: In function 'read_packet': libmpcodecs/vd_ffmpeg.c: In function 'vdpau_render_wrapper': 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/vd_ffmpeg.c:222:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 222 | data.surface = (VdpVideoSurface)mpi->priv; | ^ libmpcodecs/ad_spdif.c: In function 'seek': libmpcodecs/ad_spdif.c:68:27: warning: unused parameter 'p' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~~~^ libmpcodecs/ad_spdif.c:68:38: warning: unused parameter 'offset' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~~~~~^~~~~~ libmpcodecs/ad_spdif.c:68:50: warning: unused parameter 'whence' [-Wunused-parameter] 68 | static int64_t seek(void *p, int64_t offset, int whence) | ~~~~^~~~~~ libmpcodecs/ad_spdif.c: In function 'init': libmpcodecs/ad_spdif.c: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 * 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/vf_screenshot.c: In function 'draw_slice': ./libmpdemux/demuxer.h:98:29: warning: left shift of 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/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 ** libmpcodecs/vd_ffmpeg.c: In function 'init': 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/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/ad_spdif.c:98:26: warning: unused variable 'opt' [-Wunused-variable] 98 | const AVOption *opt = NULL; | ^~~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_cache.o libass/ass_cache.c 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_spdif.c:256:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 256 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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) { | ^~~~~~~~~~~~~~ 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/vd_ffmpeg.c:427:41: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 427 | if (!sh->bih || sh->bih->biSize <= sizeof(*sh->bih)) | ^~ libmpcodecs/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/vd_ffmpeg.c:451:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 451 | if(sh->bih->biSizebih)+8){ | ^ libmpcodecs/vd_ffmpeg.c: In function 'uninit': libmpcodecs/vd_ffmpeg.c:518:13: warning: 'frame_number' is deprecated [-Wdeprecated-declarations] 518 | ctx->qp_sum / avctx->frame_number, | ^~~ 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; | ^~~~~~~~~~~~ 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; | ^~~~~~~~~~~~ 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; | ^~~~~~~~~~~~ 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){ | ~~~~^~~~ 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 'is_in_format_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:292:11: note: in expansion of macro 'MP_NOPTS_VALUE' 292 | dp->pts=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) | ^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_drawing.o libass/ass_drawing.c libmpcodecs/vd_ffmpeg.c: In function 'get_buffer': libmpcodecs/vd_ffmpeg.c:740:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 740 | VdpVideoSurface surface = (VdpVideoSurface)mpi->priv; | ^ libmpcodecs/vd_ffmpeg.c:742:24: warning: assignment to 'unsigned char *' from 'VdpVideoSurface' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion] 742 | mpi->planes[3] = surface; | ^ libmpcodecs/vd_ffmpeg.c:747:16: warning: 'xvmc_pix_fmt' is deprecated [-Wdeprecated-declarations] 747 | struct xvmc_pix_fmt *render = mpi->priv; //same as data[2] | ^~~~~~~~~~~~ /usr/include/libavcodec/xvmc.h:47:29: note: declared here 47 | struct attribute_deprecated xvmc_pix_fmt { | ^~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c: In function 'decode': libmpcodecs/vd_ffmpeg.c:900:5: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 900 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ In file included from /usr/include/libavcodec/avcodec.h:44: /usr/include/libavcodec/packet.h:629:6: note: declared here 629 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:917:44: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 917 | sh->bih_size - sh->bih->biSize > palsize) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_font.o libass/ass_font.c 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 | ^~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_fontconfig.o libass/ass_fontconfig.c 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) | ~~~~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_library.o libass/ass_library.c In file included from stream/stream_ffmpeg.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_parse.o libass/ass_parse.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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) | ~~~~~~^~~~ 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 unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 116 | if (size > stream->end_pos) | ^ libmpdemux/demux_lavf.c: In function 'mp_read_seek': In file included from ./mpcommon.h:25, from libmpcodecs/vf_ass.c:33: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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_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; | ^~~~~~~~ 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); | ^~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~~~~~~~~~ sub/subassconvert.c: In function 'subassconvert_subrip': sub/subassconvert.c:148:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 148 | for (i = 0; i < FF_ARRAY_ELEMS(subrip_basic_tags); i++) { | ^ sub/subassconvert.c:190:30: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 190 | && sp + 1 < FF_ARRAY_ELEMS(font_stack)) { | ^ sub/subassconvert.c:223:39: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 223 | for (i = 0; i < FF_ARRAY_ELEMS(subrip_web_colors); i++) { | ^ 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++) | ^ sub/subassconvert.c: In function 'microdvd_open_tags': 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++) { | ^ sub/subassconvert.c:432:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 432 | for (i = 0; i < sizeof(MICRODVD_TAGS) - 1; i++) { | ^ sub/subassconvert.c:438:33: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 438 | for (sidx = 0; sidx < sizeof(MICRODVD_STYLES) - 1; sidx++) | ^ libmpdemux/demux_lavf.c: In function 'demux_lavf_fill_buffer': 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){ | ~~~~~~~~~~~~~~~~~~~~^~ libmpdemux/demuxer.h:98:29: warning: left shift of negative 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 libmpcodecs/vf.h:118, from libmpcodecs/vf_bmovl.c:86: libmpcodecs/vf_bmovl.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:267:98: note: in expansion of macro 'MP_NOPTS_VALUE' 267 | else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:267:114: note: in expansion of macro 'MP_NOPTS_VALUE' 267 | else if( strncmp(cmd,"FLUSH" ,5)==0 ) return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/vf_bmovl.c:270:64: note: in expansion of macro 'MP_NOPTS_VALUE' 270 | return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ 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){ | ~~~~~~~~~~~~~~~~^~~~ ./mp_global.h:27:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ In file included from ./mpcommon.h:25, from sub/ass_mp.c:26: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/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); | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ sub/subassconvert.c: In function 'microdvd_load_tags': libmpdemux/demux_lavf.c: In function 'demux_lavf_control': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h:294:20: note: in expansion of macro 'MP_NOPTS_VALUE' 294 | dp->stream_pts = MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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': | ^~~~ ./mp_global.h:27:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ sub/subassconvert.c:372:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 372 | tag.persistent = MICRODVD_PERSISTENT_ON; | ^ 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; | ^ sub/subassconvert.c:373:9: note: here 373 | case 's': | ^~~~ ./mp_global.h:27:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ 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) | ^ ./mp_global.h:27:29: warning: left shift of 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/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++) | ^ ./mp_global.h:27:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ 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) | ^~ ./mp_global.h:27:29: warning: left shift of 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){ | ~~~~~~~^~~~~~ 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++) | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_render.o libass/ass_render.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_render_api.o libass/ass_render_api.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_shaper.o libass/ass_shaper.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_strtod.o libass/ass_strtod.c 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) | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libass/ass_utils.o libass/ass_utils.c In file included from ./libmpdemux/stheader.h:22, from sub/av_sub.c:20: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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.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) | ^~~~~~~~~~~~~~~~~~~ libass/ass_library.c: In function 'ass_msg_handler': libass/ass_library.c:31:75: warning: unused parameter 'data' [-Wunused-parameter] 31 | static void ass_msg_handler(int level, const char *fmt, va_list va, void *data) | ~~~~~~^~~~ sub/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) | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of 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) { | ^~~~~~~~~~~~~~ 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; | ^~~~~ 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_libmad.o libmpcodecs/ad_libmad.c libass/ass_bitmap.c: In function 'be_blur': sub/ass_mp.c: In function 'message_callback': sub/ass_mp.c:290:79: warning: unused parameter 'ctx' [-Wunused-parameter] 290 | static void message_callback(int level, const char *format, va_list va, void *ctx) | ~~~~~~^~~ libass/ass_bitmap.c:436:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 436 | for (y = 0; y < h; y++) { | ^ libass/ass_bitmap.c:438:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 438 | for (x = 0; x < w - 1; x++) { | ^ In file included from ./libmpcodecs/vf.h:118, from sub/eosd.h:26, from sub/ass_mp.c:31: sub/ass_mp.c: In function 'eosd_ass_update': 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++) { | ^ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ sub/ass_mp.c:347:53: note: in expansion of macro 'MP_NOPTS_VALUE' 347 | aimg = sub_visibility && ass_track && ts != MP_NOPTS_VALUE ? | ^~~~~~~~~~~~~~ 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; | ^~~ 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_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; | ^~~~~~~~ In file included from libass/ass_cache.c:34: libass/ass_cache_template.h: In function 'outline_bitmap_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:63:1: note: in expansion of macro 'START' 63 | START(outline_bitmap, outline_bitmap_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'clip_bitmap_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:82:1: note: in expansion of macro 'START' 82 | START(clip_bitmap, clip_bitmap_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'glyph_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:87:1: note: in expansion of macro 'START' 87 | START(glyph, glyph_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'glyph_metrics_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:101:1: note: in expansion of macro 'START' 101 | START(glyph_metrics, glyph_metrics_hash_key) | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_theora.o libmpcodecs/vd_theora.c libass/ass_cache_template.h: In function 'drawing_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:111:1: note: in expansion of macro 'START' 111 | START(drawing, drawing_hash_key) | ^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_rtsp.o stream/stream_rtsp.c libass/ass_cache_template.h: In function 'composite_hash': libass/ass_cache_template.h:39:55: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned funcname##_hash(void *buf, size_t len) \ | ~~~~~~~^~~ libass/ass_cache_template.h:123:1: note: in expansion of macro 'START' 123 | START(composite, composite_hash_key) | ^~~~~ In file included from libass/ass_cache.c:36: libass/ass_cache_template.h: In function 'outline_bitmap_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:63:1: note: in expansion of macro 'START' 63 | START(outline_bitmap, outline_bitmap_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'clip_bitmap_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:82:1: note: in expansion of macro 'START' 82 | START(clip_bitmap, clip_bitmap_hash_key) | ^~~~~ 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) { | ^ libass/ass_cache_template.h: In function 'glyph_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:87:1: note: in expansion of macro 'START' 87 | START(glyph, glyph_hash_key) | ^~~~~ 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); | ^~~~ libass/ass_cache_template.h: In function 'glyph_metrics_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:101:1: note: in expansion of macro 'START' 101 | START(glyph_metrics, glyph_metrics_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'drawing_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:111:1: note: in expansion of macro 'START' 111 | START(drawing, drawing_hash_key) | ^~~~~ libass/ass_cache_template.h: In function 'composite_compare': libass/ass_cache_template.h:19:71: warning: unused parameter 'key_size' [-Wunused-parameter] 19 | static unsigned funcname##_compare(void *key1, void *key2, size_t key_size) \ | ~~~~~~~^~~~~~~~ libass/ass_cache_template.h:123:1: note: in expansion of macro 'START' 123 | START(composite, composite_hash_key) | ^~~~~ libass/ass_cache.c: In function 'font_hash': libass/ass_cache.c:39:45: warning: unused parameter 'len' [-Wunused-parameter] 39 | static unsigned font_hash(void *buf, size_t len) | ~~~~~~~^~~ 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++) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/freesdp/errorlist.o stream/freesdp/errorlist.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/freesdp/parser.o stream/freesdp/parser.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/librtsp/rtsp.o stream/librtsp/rtsp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_rtp.c libass/ass_font.c: In function 'ass_strike_outline_glyph': libass/ass_font.c:329:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 329 | FT_Vector points[4] = { | ^~~~~~~~~ libass/ass_font.c:359:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 359 | FT_Vector points[4] = { | ^~~~~~~~~ libass/ass_font.c: In function 'ass_font_get_glyph': libass/ass_font.c:564:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 564 | FT_Matrix scale = { double_to_d16(font->scale_x), 0, 0, | ^~~~~~~~~ libass/ass_font.c:499:35: warning: unused parameter 'fontconfig_priv' [-Wunused-parameter] 499 | FT_Glyph ass_font_get_glyph(void *fontconfig_priv, ASS_Font *font, | ~~~~~~^~~~~~~~~~~~~~~ libass/ass_font.c: In function 'get_contour_cbox': libass/ass_font.c:626:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 626 | int i; | ^~~ libass/ass_font.c: In function 'fix_freetype_stroker': libass/ass_font.c:699:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 699 | int dir = get_contour_direction(outline->points, start, end); | ^~~ libass/ass_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_font.c:728:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 728 | int width = box.xMax - box.xMin; | ^~~ libass/ass_fontconfig.c:65:29: warning: unused parameter 'lib' [-Wunused-parameter] 65 | match_fullname(ASS_Library *lib, FCInstance *priv, const char *family, | ~~~~~~~~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/librtsp/rtsp_session.o stream/librtsp/rtsp_session.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_netstream.o stream/stream_netstream.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/asf_mmst_streaming.o stream/asf_mmst_streaming.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/asf_streaming.o stream/asf_streaming.c 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_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; | ^~~ In file included from libmpcodecs/ad_internal.h:26, from libmpcodecs/ad_libmad.c:25: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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_render_api.c: In function 'ass_set_shaper': libass/ass_render_api.c:74:35: warning: unused parameter 'priv' [-Wunused-parameter] 74 | void ass_set_shaper(ASS_Renderer *priv, ASS_ShapingLevel level) | ~~~~~~~~~~~~~~^~~~ libass/ass_render_api.c:74:58: warning: unused parameter 'level' [-Wunused-parameter] 74 | void ass_set_shaper(ASS_Renderer *priv, ASS_ShapingLevel level) | ~~~~~~~~~~~~~~~~~^~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cookies.o stream/cookies.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/http.o stream/http.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/network.o stream/network.c libass/ass_shaper.c: In function 'check_allocations': libass/ass_shaper.c:102:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 102 | if (new_size > shaper->n_glyphs) { | ^ libass/ass_shaper.c: In function 'ass_shaper_font_data_free': libass/ass_shaper.c:130:52: warning: unused parameter 'priv' [-Wunused-parameter] 130 | void ass_shaper_font_data_free(ASS_ShaperFontData *priv) | ~~~~~~~~~~~~~~~~~~~~^~~~ libass/ass_shaper.c: In function 'ass_shaper_set_kerning': libass/ass_shaper.c:699:41: warning: unused parameter 'shaper' [-Wunused-parameter] 699 | void ass_shaper_set_kerning(ASS_Shaper *shaper, int kern) | ~~~~~~~~~~~~^~~~~~ libass/ass_utils.c: In function 'parse_ycbcr_matrix': libass/ass_utils.c:132:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 132 | char *end = str + strlen(str); | ^~~~ libass/ass_utils.c:139:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 139 | char buffer[16]; | ^~~~ 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': In file included from libass/ass_utils.c:30: libass/ass_utils.h:43:25: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 43 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^ libass/ass_utils.c:140:16: note: in expansion of macro 'FFMIN' 140 | size_t n = FFMIN(end - str, sizeof buffer - 1); | ^~~~~ libass/ass_utils.h:43:39: warning: operand of '?:' changes signedness from 'long int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 43 | #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) | ^~~ libass/ass_utils.c:140:16: note: in expansion of macro 'FFMIN' 140 | size_t n = FFMIN(end - str, sizeof buffer - 1); | ^~~~~ libass/ass_shaper.c:720:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 720 | for (i = 0; i < len; i++) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/pnm.o stream/pnm.c libass/ass_shaper.c:709:39: warning: unused parameter 'shaper' [-Wunused-parameter] 709 | void ass_shaper_find_runs(ASS_Shaper *shaper, ASS_Renderer *render_priv, | ~~~~~~~~~~~~^~~~~~ libass/ass_shaper.c: In function 'ass_shaper_set_language': libass/ass_shaper.c:753:42: warning: unused parameter 'shaper' [-Wunused-parameter] 753 | void ass_shaper_set_language(ASS_Shaper *shaper, const char *code) | ~~~~~~~~~~~~^~~~~~ libass/ass_shaper.c:753:62: warning: unused parameter 'code' [-Wunused-parameter] 753 | void ass_shaper_set_language(ASS_Shaper *shaper, const char *code) | ~~~~~~~~~~~~^~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_theora.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libass/ass_shaper.c: In function 'ass_shaper_cleanup': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:876:37: warning: unused parameter 'shaper' [-Wunused-parameter] 876 | void ass_shaper_cleanup(ASS_Shaper *shaper, TextInfo *text_info) | ~~~~~~~~~~~~^~~~~~ libass/ass_shaper.c: In function 'resolve_base_direction': libass/ass_shaper.c:927:43: warning: unused parameter 'enc' [-Wunused-parameter] 927 | FriBidiParType resolve_base_direction(int enc) | ~~~~^~~ libass/ass_shaper.c: At top level: libass/ass_shaper.c:779:13: warning: 'ass_shaper_skip_characters' defined but not used [-Wunused-function] 779 | static void ass_shaper_skip_characters(TextInfo *text_info) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/rtp.o stream/rtp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/udp.o stream/udp.c In function 'glSetupYUVFragprog', inlined from 'glSetupYUVConversion' at libvo/gl_common.c:1816:7: 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; | ^~~~~~~~~~~~~~ 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]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: In function 'glSetupYUVConversion': libvo/gl_common.c:1498:8: note: 'conv_texs[0]' was declared here 1498 | char conv_texs[1]; | ^~~~~~~~~ stream/stream_rtsp.c: In function 'rtsp_streaming_read': stream/stream_rtsp.c:51:26: warning: unused parameter 'fd' [-Wunused-parameter] 51 | rtsp_streaming_read (int fd, char *buffer, | ~~~~^~ libmpcodecs/ad_libmad.c: In function 'control': libmpcodecs/ad_libmad.c:171:49: warning: unused parameter 'arg' [-Wunused-parameter] 171 | static int control(sh_audio_t *sh,int cmd,void* arg, ...){ | ~~~~~~^~~ stream/stream_rtsp.c: In function 'rtsp_streaming_open': stream/stream_rtsp.c:142:44: warning: unused parameter 'mode' [-Wunused-parameter] 142 | rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~^~~~ stream/stream_rtsp.c:142:56: warning: unused parameter 'opts' [-Wunused-parameter] 142 | rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ stream/stream_rtsp.c:142:67: warning: unused parameter 'file_format' [-Wunused-parameter] 142 | rtsp_streaming_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~^~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tcp.o stream/tcp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_rtp.o stream/stream_rtp.c libmpcodecs/vd_theora.c: In function 'control': libmpcodecs/vd_theora.c:71:25: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 71 | if (*(int *)arg == theora_pixelformat2imgfmt(context->ti.pixel_fmt)) | ^~ libmpcodecs/vd_theora.c: In function 'decode': libmpcodecs/vd_theora.c:166:68: warning: unused parameter 'flags' [-Wunused-parameter] 166 | static mp_image_t *decode(sh_video_t *sh, void *data, int len, int flags) | ~~~~^~~~~ 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_udp.o stream/stream_udp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/asmrp.o stream/realrtsp/asmrp.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/real.o stream/realrtsp/real.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/rmff.o stream/realrtsp/rmff.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/sdpplin.o stream/realrtsp/sdpplin.c libass/ass_render.c: In function 'draw_opaque_box': libass/ass_render.c:956:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 956 | FT_Vector points[4] = { | ^~~~~~~~~ libass/ass_render.c: In function 'fill_glyph_hash': libass/ass_render.c:1033:31: warning: unused parameter 'priv' [-Wunused-parameter] 1033 | fill_glyph_hash(ASS_Renderer *priv, OutlineHashKey *outline_key, | ~~~~~~~~~~~~~~^~~~ 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 = | ^~~~~~~~ stream/librtsp/rtsp.c: In function 'read_stream': stream/librtsp/rtsp.c:97:16: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (total < count) { | ^ 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, | ^~~~~~~~~ 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/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 */ | ^~~~~~~ libass/ass_render.c: In function 'wrap_lines_smart': stream/librtsp/rtsp.c: In function 'rtsp_get_param': stream/librtsp/rtsp.c:647:22: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 647 | len = nparam ? nparam - param : strlen(param); | ^~~~~~~~~~~~~~ libass/ass_render.c:1589:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1589 | double height = | ^~~~~~ 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 */ | ^~~~~~~ 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; | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/realrtsp/xbuffer.o stream/realrtsp/xbuffer.c libass/ass_render.c:1921:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1921 | double max_text_width = | ^~~~~~ libass/ass_render.c:1938:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1938 | FriBidiStrIndex *cmap = ass_shaper_reorder(render_priv->shaper, text_info); | ^~~~~~~~~~~~~~~ libass/ass_render.c:1943:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1943 | int lineno = 1; | ^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.c libass/ass_render.c:1955:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1955 | FT_Vector cluster_pen = pen; | ^~~~~~~~~ stream/stream_netstream.c: In function 'control': stream/stream_netstream.c:212:51: warning: unused parameter 'arg' [-Wunused-parameter] 212 | static int control(struct stream *s,int cmd,void* arg) { | ~~~~~~^~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vf_pp.o libmpcodecs/vf_pp.c libass/ass_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; | ^~~~~~ stream/cookies.c: In function 'load_file': stream/cookies.c:133:17: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 133 | if (*length > SIZE_MAX - 1) { | ^ In file included from 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; | ^~~~~~~~~~~~~~ libass/ass_render.c:2151:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2151 | int left = render_priv->settings.left_margin; | ^~~ libass/ass_render.c:1689:13: warning: variable 'num_glyphs' set but not used [-Wunused-but-set-variable] 1689 | FT_UInt num_glyphs; | ^~~~~~~~~~ libass/ass_render.c:1688:13: warning: variable 'previous' set but not used [-Wunused-but-set-variable] 1688 | FT_UInt previous; | ^~~~~~~~ libass/ass_render.c: In function 'ass_start_frame': libass/ass_render.c:2269:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 2269 | double par = render_priv->settings.par; | ^~~~~~ stream/http.c: In function 'my_read': stream/http.c:65:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 65 | if (cp_len > len) | ^ stream/http.c:70:14: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 70 | while (pos < len) { | ^ In file included from stream/network.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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++) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/http.c: In function 'scast_streaming_read': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/http.c:156:13: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 156 | if (block > size) | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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/http.c:164:15: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 164 | while (done < size) { // now comes the metadata | ^ stream/http.c: In function 'http_response_parse': stream/http.c:457:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 457 | if( pos_hdr_sep+hdr_sep_lenbuffer_size ) { | ^ stream/stream_rtp.c: In function 'rtp_streaming_read': 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_pvr.o stream/stream_pvr.c stream/stream_rtp.c:37:49: warning: unused parameter 'streaming_ctrl' [-Wunused-parameter] 37 | int size, streaming_ctrl_t *streaming_ctrl) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ stream/stream_rtp.c: In function 'rtp_stream_open': stream/stream_rtp.c:72:40: warning: unused parameter 'mode' [-Wunused-parameter] 72 | rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~^~~~ stream/stream_rtp.c:72:52: warning: unused parameter 'opts' [-Wunused-parameter] 72 | rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ stream/stream_rtp.c:72:63: warning: unused parameter 'file_format' [-Wunused-parameter] 72 | rtp_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~^~~~~~~~~~~ stream/network.c: In function 'nop_streaming_seek': stream/network.c:485:25: warning: unused parameter 'fd' [-Wunused-parameter] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~^~ stream/network.c:485:37: warning: unused parameter 'pos' [-Wunused-parameter] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~~~~~^~~ stream/network.c:485:60: warning: unused parameter 'stream_ctrl' [-Wunused-parameter] 485 | nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ stream/asf_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/http.c: In function 'open_s1': stream/http.c:893:41: warning: unused parameter 'mode' [-Wunused-parameter] 893 | static int open_s1(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/http.c:893:53: warning: unused parameter 'opts' [-Wunused-parameter] 893 | static int open_s1(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ stream/asf_mmst_streaming.c: In function 'asf_mmst_streaming_start': stream/http.c: In function 'open_s2': stream/asf_mmst_streaming.c:522:24: warning: variable 'len' set but not used [-Wunused-but-set-variable] 522 | int len, i, packet_length; | ^~~ stream/http.c:919:41: warning: unused parameter 'mode' [-Wunused-parameter] 919 | static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/http.c:919:53: warning: unused parameter 'opts' [-Wunused-parameter] 919 | static int open_s2(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ stream/pnm.c: In function 'rm_read': stream/pnm.c:225:16: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 225 | while (total < count) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_radio.o stream/stream_radio.c stream/realrtsp/xbuffer.c: In function 'xbuffer_ensure_size': stream/realrtsp/xbuffer.c:95:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 95 | if (size < 0 || size > INT_MAX - XBUFFER_HEADER_SIZE - xbuf->chunk_size) | ^ stream/realrtsp/xbuffer.c:98:18: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 98 | if (xbuf->size < size) { | ^ stream/pnm.c: In function 'pnm_send_request': stream/pnm.c:417:49: warning: unused parameter 'bandwidth' [-Wunused-parameter] 417 | static void pnm_send_request(pnm_t *p, uint32_t bandwidth) { | ~~~~~~~~~^~~~~~~~~ stream/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) | ~~~~~^~~~~~~~~~~ stream/pnm.c: In function 'pnm_get_stream_chunk': stream/pnm.c:665:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 665 | if (size > sizeof(p->buffer) - 4) size = sizeof(p->buffer) - 4; | ^ stream/pnm.c:718:8: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 718 | if (n SIZE_MAX - buffer_size) | ^ stream/realrtsp/sdpplin.c: In function 'filter': stream/realrtsp/sdpplin.c:112:29: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 112 | len = (strchr(in,'\n')) ? strchr(in,'\n')-in : strlen(in); | ^~~~~~~~~~~~~~~~~~ stream/asf_streaming.c: In function 'asf_http_streaming_seek': stream/asf_streaming.c:457:107: warning: unused parameter 'streaming_ctrl' [-Wunused-parameter] 457 | static int asf_http_streaming_seek( int av_unused fd, int64_t av_unused pos, streaming_ctrl_t * av_unused streaming_ctrl ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ stream/asf_streaming.c: In function 'open_s': stream/asf_streaming.c:811:40: warning: unused parameter 'mode' [-Wunused-parameter] 811 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~^~~~ stream/asf_streaming.c:811:52: warning: unused parameter 'opts' [-Wunused-parameter] 811 | static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { | ~~~~~~^~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/audio_in.o stream/audio_in.c stream/realrtsp/real.c: In function 'real_get_rdt_chunk': stream/realrtsp/real.c:325:7: warning: variable 'unknown1' set but not used [-Wunused-but-set-variable] 325 | int unknown1; | ^~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ad_realaud.o libmpcodecs/ad_realaud.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_realvid.o libmpcodecs/vd_realvid.c 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': gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/cache2.o stream/cache2.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/frequencies.o stream/frequencies.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_tv.o stream/stream_tv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tv.o stream/tv.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tvi_dummy.o stream/tvi_dummy.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/tvi_v4l2.o stream/tvi_v4l2.c 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o sub/unrar_exec.o sub/unrar_exec.c stream/realrtsp/rmff.c: In function 'rmff_scan_header': stream/realrtsp/rmff.c:419:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 419 | for (i=0; ifileheader->num_headers; i++) { | ^ stream/realrtsp/rmff.c:423:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 423 | for (i=1; ifileheader->num_headers; i++) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o stream/stream_vcd.o stream/stream_vcd.c 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_xanim.o libmpcodecs/vd_xanim.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/vd_xvid4.o libmpcodecs/vd_xvid4.c 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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o osdep/shmem.o osdep/shmem.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mencoder.o mencoder.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o parser-mecmd.o parser-mecmd.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o xvid_vbr.o xvid_vbr.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae.o libmpcodecs/ae.c In file included from 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/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 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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_pcm.o libmpcodecs/ae_pcm.c In file included from stream/stream_tv.c:29: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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; | ^~~~~~~~~~~~~~ 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: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; | ^~~~~~~~~~~~~~ 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) | ~~~~~~^~~ sub/unrar_exec.c: In function 'unrar_exec_get': 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) | ~~~~^~~~ 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) { | ^~ 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) | ~~~~~~~~^~~~ sub/unrar_exec.c:137:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 137 | if (bufsize > *size) { | ^ stream/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) | ~~~~~~~~^~~~ 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){ | ~~~~^~~~~~ In file included from stream/cache2.c:72: stream/cache2.c: In function 'cache_execute_control': 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': ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ 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, ...){ | ~~~~~~^~~ ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ stream/cache2.c:346:23: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 346 | (old_pos != s->stream->pos || old_eof != s->stream->eof)) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve.o libmpcodecs/ve.c stream/cache2.c: In function 'exit_sighandler': stream/cache2.c:415:33: warning: unused parameter 'x' [-Wunused-parameter] 415 | static void exit_sighandler(int x){ | ~~~~^ stream/cache2.c: In function 'dummy_sighandler': stream/cache2.c:420:34: warning: unused parameter 'x' [-Wunused-parameter] 420 | static void dummy_sighandler(int x) { | ~~~~^ stream/cache2.c: In function 'stream_enable_cache': stream/cache2.c:468:12: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 468 | if (size > SIZE_MAX) { | ^ stream/cache2.c: In function 'cache_do_control': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ stream/cache2.c:650:36: note: in expansion of macro 'MP_NOPTS_VALUE' 650 | return s->stream_time_pos != MP_NOPTS_VALUE ? STREAM_OK : STREAM_UNSUPPORTED; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_raw.o libmpcodecs/ve_raw.c 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; | ^~~~~~~~~~~~~~ stream/cache2.c: In function 'cache_execute_control': stream/cache2.c:308:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 308 | double_res = s->control_double_arg; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ stream/cache2.c:309:5: note: here 309 | case STREAM_CTRL_GET_CURRENT_TIME: | ^~~~ In file included from libmpcodecs/vd_internal.h:26, from libmpcodecs/vd_xanim.c:35: ./libmpdemux/demuxer.h: In function 'new_demux_packet': 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: | ^~~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer.o libmpdemux/muxer.c stream/cache2.c: In function 'cache_do_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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_avi.o libmpdemux/muxer_avi.c 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: | ^~~~ osdep/shmem.c: In function 'shmem_alloc': osdep/shmem.c:62:10: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 62 | if (size > SIZE_MAX) { | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_mpeg.o libmpdemux/muxer_mpeg.c stream/stream_pvr.c: In function 'pvr_stream_open': stream/stream_pvr.c:1686:52: warning: unused parameter 'opts' [-Wunused-parameter] 1686 | pvr_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~~^~~~ stream/stream_pvr.c:1686:63: warning: unused parameter 'file_format' [-Wunused-parameter] 1686 | pvr_stream_open (stream_t *stream, int mode, void *opts, int *file_format) | ~~~~~^~~~~~~~~~~ xvid_vbr.c: In function 'vbr_update_dummy': stream/stream_radio.c: In function 'radio_set_channel': 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, | ~~~~^~~~~ In function 'vo_update_text_sub', inlined from 'vo_update_osd_ext.isra' at sub/sub.c:1176:6: 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, | ~~~~^~~~~~~ stream/stream_radio.c:1012:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1012 | for ( ; tmp; tmp=tmp->next) | ^~~ 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': 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': 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 | ^~~~~~~~~~~ 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': 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: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': libmpcodecs/vd_realvid.c: In function 'control': xvid_vbr.c:549:38: warning: unused parameter 'state' [-Wunused-parameter] 549 | static int vbr_getintra_2pass1(void *state) | ~~~~~~^~~~~ 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,...){ | ~~~~~~^~~ xvid_vbr.c: In function 'vbr_init_2pass2': xvid_vbr.c:703:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 703 | state->nb_keyframes >= 0x7fffffff / sizeof(int) || | ^~ libmpcodecs/vd_realvid.c: In function 'init': libmpcodecs/vd_realvid.c:319:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 319 | if (extrahdr_size-8 < cmsg_cnt) { | ^ libmpcodecs/vd_realvid.c:325:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 325 | if (extrahdr_size-8 > cmsg_cnt) | ^ libmpcodecs/vd_realvid.c: In function 'decode': libmpcodecs/vd_realvid.c:426:24: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 426 | (sh->disp_w != transform_out[3] || sh->disp_h != transform_out[4])) | ^~ libmpcodecs/vd_realvid.c:426:58: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 426 | (sh->disp_w != transform_out[3] || sh->disp_h != transform_out[4])) | ^~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawaudio.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_rawvideo.o libmpdemux/muxer_rawvideo.c In file included from stream/stream_vcd.c:42: stream/vcd_read_libcdio.h: In function 'vcd_read_toc': stream/vcd_read_libcdio.h:50:47: warning: unused parameter 'fd' [-Wunused-parameter] 50 | static inline mp_vcd_priv_t *vcd_read_toc(int fd) | ~~~~^~ In file included from stream/stream_vcd.c:55: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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; | ^~~~~~~~~~~~~~ xvid_vbr.c: In function 'vbr_update_2pass2': xvid_vbr.c:1490:34: warning: unused parameter 'header_bytes' [-Wunused-parameter] 1490 | int header_bytes, | ~~~~^~~~~~~~~~~~ xvid_vbr.c:1492:34: warning: unused parameter 'kblocks' [-Wunused-parameter] 1492 | int kblocks, | ~~~~^~~~~~~ xvid_vbr.c:1493:34: warning: unused parameter 'mblocks' [-Wunused-parameter] 1493 | int mblocks, | ~~~~^~~~~~~ libmpcodecs/vd_xanim.c: In function 'XA_Add_Func_To_Free_Chain': libmpcodecs/vd_xanim.c:386:45: warning: unused parameter 'anim_hdr' [-Wunused-parameter] 386 | void XA_Add_Func_To_Free_Chain(XA_ANIM_HDR *anim_hdr, void (*function)(void)) | ~~~~~~~~~~~~~^~~~~~~~ libmpcodecs/vd_xvid4.c: In function 'control': xvid_vbr.c:1494:34: warning: unused parameter 'ublocks' [-Wunused-parameter] 1494 | int ublocks) | ~~~~^~~~~~~ stream/stream_vcd.c: In function 'fill_buffer': stream/stream_vcd.c:82:55: warning: unused parameter 'max_len' [-Wunused-parameter] 82 | static int fill_buffer(stream_t *s, char* buffer, int max_len){ | ~~~~^~~~~~~ libmpcodecs/vd_xvid4.c: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,...) | ~~~~~~^~~ xvid_vbr.c: In function 'vbr_getintra_fixedquant': 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) | ~~~~~~~~~~~~~^~~~~~ xvid_vbr.c:1643:42: warning: unused parameter 'state' [-Wunused-parameter] 1643 | static int vbr_getintra_fixedquant(void *state) | ~~~~~~^~~~~ libmpcodecs/vd_xvid4.c: In function '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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_faac.o libmpcodecs/ae_faac.c 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) | ~~~~^~~~~ libmpcodecs/vd_xanim.c: In function 'XA_2x2_OUT_4BLKS_Convert': libmpcodecs/vd_xanim.c:467:18: warning: unused parameter 'imagex' [-Wunused-parameter] 467 | unsigned int imagex, XA_2x2_Color *cm0, XA_2x2_Color *cm1, XA_2x2_Color *cm2, | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/vd_xanim.c: In function 'control': libmpcodecs/vd_xanim.c:675:32: warning: unused parameter 'sh' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_xanim.c:675:39: warning: unused parameter 'cmd' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~^~~ libmpcodecs/vd_xanim.c:675:49: warning: unused parameter 'arg' [-Wunused-parameter] 675 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~^~~ libmpcodecs/vd_xanim.c: In function 'init': libmpcodecs/vd_xanim.c:707:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 707 | codec_hdr.description = codec_idx2str(sh->codec->info_idx); | ^ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_lavc.o libmpcodecs/ae_lavc.c gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_lavc.o libmpcodecs/ve_lavc.c In file included from stream/tv.h:29, from stream/tvi_v4l2.c:63: ./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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpdemux/muxer_lavf.o libmpdemux/muxer_lavf.c ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ae_lame.o libmpcodecs/ae_lame.c In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae.c:27: ./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) | ~~~~~~~~~~~~~~~~~~^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ libmpcodecs/vd_mpng.c: In function 'control': libmpcodecs/vd_mpng.c:54:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 54 | if (*((int *) arg) == out_fmt) return CONTROL_TRUE; | ^~ libmpcodecs/vd_mpng.c:50:32: warning: unused parameter 'sh' [-Wunused-parameter] 50 | static int control(sh_video_t *sh,int cmd,void* arg,...){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpng.c: In function 'init': libmpcodecs/vd_mpng.c:61:29: warning: unused parameter 'sh' [-Wunused-parameter] 61 | static int init(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpng.c: In function 'uninit': libmpcodecs/vd_mpng.c:67:32: warning: unused parameter 'sh' [-Wunused-parameter] 67 | static void uninit(sh_video_t *sh){ | ~~~~~~~~~~~~^~ libmpcodecs/vd_mpng.c: In function 'pngReadFN': libmpcodecs/vd_mpng.c:78:9: warning: comparison of integer expressions of different signedness: 'png_size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 78 | if(size>pngLength-pngPointer && pngLength>=pngPointer) size=pngLength-pngPointer; | ^ libmpcodecs/vd_mpng.c: In function 'decode': 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 ./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; | ^~~~~~~~~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_x264.o libmpcodecs/ve_x264.c 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; | ^~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~^~~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o libmpcodecs/ve_xvid4.o libmpcodecs/ve_xvid4.c ./codec-cfg etc/codecs.conf > codecs.conf.h Reading optional codecs config file etc/codecs.conf: In file included from ./mpcommon.h:25, from libmpdemux/muxer_avi.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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 -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o mpcommon.o mpcommon.c stream/tv.c: In function 'open_tv': stream/tv.c:440:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 440 | for (i = 0; i < sizeof (tv_fmt_list) / sizeof (*tv_fmt_list); i++) | ^ In file included from libmpdemux/aviheader.h:28, from 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; | ^~~~~~~~~~~~~~ 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; | ^~~~ 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) | ~~~~~~~~~~~~~~^~~ 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 | ^~~~~~~~~~~~~~ In file included from libmpdemux/aviheader.h:28, from libmpdemux/muxer_rawaudio.c:27: libmpdemux/demuxer.h: In function 'new_demux_packet': In file included from libmpdemux/aviheader.h:28, from libmpdemux/muxer_rawvideo.c:29: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpdemux/demuxer.h: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/muxer_rawvideo.c: In function 'rawvideofile_write_chunk': libmpdemux/muxer_rawvideo.c:67:80: warning: unused parameter 'flags' [-Wunused-parameter] 67 | static void rawvideofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~~~~~~~^~~~~ libmpdemux/muxer_rawvideo.c:67:94: warning: unused parameter 'dts' [-Wunused-parameter] 67 | static void rawvideofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawvideo.c:67:106: warning: unused parameter 'pts' [-Wunused-parameter] 67 | static void rawvideofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawvideo.c: In function 'rawvideofile_write_header': libmpdemux/muxer_rawvideo.c:78:48: warning: unused parameter 'muxer' [-Wunused-parameter] 78 | static void rawvideofile_write_header(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpdemux/muxer_rawvideo.c: In function 'rawvideofile_write_index': libmpdemux/muxer_rawvideo.c:82:47: warning: unused parameter 'muxer' [-Wunused-parameter] 82 | static void rawvideofile_write_index(muxer_t *muxer){ | ~~~~~~~~~^~~~~ 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); | ~~~~~~~~~~~~~~~^~~ stream/tvi_v4l2.c: In function 'uninit': stream/tvi_v4l2.c:1194:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1194 | if(priv->video_fd!=-1)close(priv->video_fd); priv->video_fd = -1; | ^~ libmpdemux/muxer_mpeg.c: In function 'mpegfile_new_stream': libmpdemux/muxer_mpeg.c:426:33: warning: operand of '?:' changes signedness from 'int' to 'uint32_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 426 | int v = (conf_vbuf_size ? conf_vbuf_size*1024 : | ^~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_avi.c: In function 'write_avi_list': libmpdemux/muxer_avi.c:179:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 179 | stream_write_buffer(stream, &list_id, 4); | ^~~~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:180:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 180 | stream_write_buffer(stream, &le_len, 4); | ^~~~~~~ | | | int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:181:31: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 181 | stream_write_buffer(stream, &le_id, 4); | ^~~~~~ | | | int * stream/tvi_v4l2.c:1194:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1194 | if(priv->video_fd!=-1)close(priv->video_fd); priv->video_fd = -1; | ^~~~ ./stream/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_rawaudio.c: In function 'rawaudiofile_write_chunk': 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_rawaudio.c:67:80: warning: unused parameter 'flags' [-Wunused-parameter] 67 | static void rawaudiofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~~~~~~~^~~~~ libmpdemux/muxer_rawaudio.c:67:94: warning: unused parameter 'dts' [-Wunused-parameter] 67 | static void rawaudiofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawaudio.c:67:106: warning: unused parameter 'pts' [-Wunused-parameter] 67 | static void rawaudiofile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_rawaudio.c: In function 'rawaudiofile_write_header': libmpdemux/muxer_rawaudio.c:75:48: warning: unused parameter 'muxer' [-Wunused-parameter] 75 | static void rawaudiofile_write_header(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpdemux/muxer_rawaudio.c: In function 'rawaudiofile_write_index': libmpdemux/muxer_rawaudio.c:79:47: warning: unused parameter 'muxer' [-Wunused-parameter] 79 | static void rawaudiofile_write_index(muxer_t *muxer){ | ~~~~~~~~~^~~~~ libmpdemux/muxer_avi.c: In function 'avifile_odml_new_riff': libmpdemux/muxer_avi.c:202:40: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 202 | stream_write_buffer(muxer->stream, riff, 12); | ^~~~ | | | uint32_t * {aka unsigned int *} ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'avifile_write_header': libmpdemux/muxer_avi.c:254:45: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 254 | stream_write_buffer(muxer->stream,&rifflen,4); | ^~~~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:259:49: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 259 | stream_write_buffer(muxer->stream,&movilen,4); | ^~~~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae_faac.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_avi.c:272:39: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 272 | stream_write_buffer(muxer->stream,&riff,12); | ^~~~~ | | | uint32_t (*)[3] {aka unsigned int (*)[3]} ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'uint32_t (*)[3]' {aka 'unsigned int (*)[3]'} 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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: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); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:417:49: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 417 | stream_write_buffer(muxer->stream,data,sizeof(data)); | ^~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_mpeg.c: In function 'calc_pes_hlen': libmpdemux/muxer_avi.c:433:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 433 | info[0].text=mencoder_version; | ^ libmpdemux/muxer_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) | ~~~~^~~~ mencoder.c: In function 'config_video_out': libmpcodecs/ae_faac.c: In function 'get_frame_size': libmpdemux/muxer_mpeg.c: In function 'calc_packet_len': libmpcodecs/ae_faac.c:112:44: warning: unused parameter 'encoder' [-Wunused-parameter] 112 | static int get_frame_size(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ mencoder.c:200:44: warning: unused parameter 'vo' [-Wunused-parameter] 200 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~~~~~~~~~~~~~~^~ mencoder.c:200:57: warning: unused parameter 'width' [-Wunused-parameter] 200 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~ libmpcodecs/ae_faac.c: In function 'close_faac': mencoder.c:200:73: warning: unused parameter 'height' [-Wunused-parameter] 200 | int config_video_out(const vo_functions_t *vo, uint32_t width, uint32_t height, | ~~~~~~~~~^~~~~~ mencoder.c:201:31: warning: unused parameter 'd_width' [-Wunused-parameter] 201 | uint32_t d_width, uint32_t d_height, uint32_t flags, | ~~~~~~~~~^~~~~~~ libmpcodecs/ae_faac.c:133:40: warning: unused parameter 'encoder' [-Wunused-parameter] 133 | static int close_faac(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ 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) { | ~~~~~~~~~^~~~~~ libmpdemux/muxer_mpeg.c:950:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 950 | if(frpos == spriv->framebuf[n].size) | ^~ mencoder.c: In function 'mplayer_put_key': mencoder.c:211:26: warning: unused parameter 'code' [-Wunused-parameter] 211 | void mplayer_put_key(int code) | ~~~~^~~~ libmpdemux/muxer_mpeg.c: In function 'find_packet_timestamps': libmpdemux/muxer_avi.c: In function 'avifile_write_chunk': 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/muxer_avi.c:515:89: warning: unused parameter 'dts' [-Wunused-parameter] 515 | static void avifile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_avi.c:515:101: warning: unused parameter 'pts' [-Wunused-parameter] 515 | static void avifile_write_chunk(muxer_stream_t *s,size_t len,unsigned int flags, double dts, double pts){ | ~~~~~~~^~~ libmpdemux/muxer_avi.c: In function 'avifile_odml_write_index': libmpdemux/muxer_avi.c:579:14: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 579 | for (i=0; iavih.dwStreams; i++) { | ^ In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae_lavc.c:28: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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:645:44: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 645 | stream_write_buffer(muxer->stream, idxhdr,sizeof(idxhdr)); | ^~~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_avi.c:651:48: warning: passing argument 2 of 'stream_write_buffer' from incompatible pointer type [-Wincompatible-pointer-types] 651 | stream_write_buffer(muxer->stream, entry, sizeof(entry)); | ^~~~~ | | | unsigned int * ./stream/stream.h:203:53: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 203 | int stream_write_buffer(stream_t *s, unsigned char *buf, int len); | ~~~~~~~~~~~~~~~^~~ libmpdemux/muxer_mpeg.c: In function 'find_best_stream': libmpdemux/muxer_mpeg.c:1308:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 1308 | for(i = 0; i < muxer->avih.dwStreams; i++) | ^ libmpdemux/muxer_mpeg.c: In function 'update_scr': 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++) | ^ 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 libmpdemux/aviheader.h:28, from libmpdemux/muxer_lavf.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 libmpcodecs/ve_x264.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/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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: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++) | ^ In file included from cfg-mencoder.h:34, from mencoder.c:245: cfg-common.h: At top level: 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: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}, | ^~~~~~~~~~~ In file included from libmpcodecs/ve_lavc.c:44: ./libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_mpeg.c: In function 'parse_mpeg12_video': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ 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:1654:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1654 | while(i + 4 < len) | ^ libmpdemux/muxer_mpeg.c:1662:51: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1662 | if(i + 11 > len) | ^ libmpdemux/muxer_mpeg.c:1682:50: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1682 | if(i + 9 > len) | ^ libmpdemux/muxer_mpeg.c:1706:50: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1706 | if(i + 5 > len) | ^ In file included from ./libmpdemux/aviheader.h:28, from libmpcodecs/ae_lame.c:27: ./libmpdemux/demuxer.h: In function 'new_demux_packet': stream/tvi_v4l2.c: In function 'control': stream/tvi_v4l2.c:762:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 762 | if (priv->tv_param->force_audio) return TVI_CONTROL_TRUE; | ^ ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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:763:5: note: here 763 | case TVI_CONTROL_IS_TUNER: | ^~~~ 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-common.h:431:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 431 | { "rawaudio", &demux_rawaudio_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:432:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 432 | { "rawvideo", &demux_rawvideo_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:435:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 435 | { "cdda", &cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^ cfg-common.h:448:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 448 | {"mf", mfopts_conf, CONF_TYPE_SUBCONFIG, 0,0,0, NULL}, | ^~~~~~~~~~~ cfg-common.h:450:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 450 | {"radio", radioopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~~ cfg-common.h:455:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 455 | {"tv", tvopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~ cfg-common.h:460:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 460 | {"pvr", pvropts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~ cfg-common.h:464:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 464 | {"vivo", vivoopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, | ^~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'parse_mpeg4_video': 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: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))) | ^ 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}, | ^~~~~~~ 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)))) | ^ 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}, | ^~~~~~~~~~~~~~ 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}, | ^~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c:1849:66: warning: unused parameter 'priv' [-Wunused-parameter] 1849 | static size_t parse_mpeg4_video(muxer_stream_t *s, muxer_priv_t *priv, muxer_headers_t *vpriv, float fps, size_t len) | ~~~~~~~~~~~~~~^~~~ libmpdemux/muxer_mpeg.c:1849:102: warning: unused parameter 'fps' [-Wunused-parameter] 1849 | static size_t parse_mpeg4_video(muxer_stream_t *s, muxer_priv_t *priv, muxer_headers_t *vpriv, float fps, size_t len) | ~~~~~~^~~ 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}, | ^~~~~~~ libmpdemux/muxer_mpeg.c: In function 'analyze_mpa': 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}, | ^~~~~~~~~~~~~ cfg-mencoder.h:252:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 252 | {"xvidencopts", xvidencopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~~~~ libmpdemux/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) | ^ cfg-mencoder.h:261:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | {"mpegopts", mpegopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ cfg-mencoder.h:263:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 263 | {"lavfopts", lavfopts_conf, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL}, | ^~~~~~~~~~~~~ mencoder.c: In function 'exit_sighandler': 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:307:33: warning: unused parameter 'x' [-Wunused-parameter] 307 | static void exit_sighandler(int x){ | ~~~~^ In file included from libmpcodecs/vf.h:118, from mencoder.c:67: mencoder.c: In function 'adjusted_muxer_time': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:361:23: note: in expansion of macro 'MP_NOPTS_VALUE' 361 | if (! mux) return MP_NOPTS_VALUE; | ^~~~~~~~~~~~~~ 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: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)) | ^~ mencoder.c: In function 'forward_audio': libmpdemux/muxer_mpeg.c: In function 'parse_audio': mencoder.c:401:59: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 401 | avg = (sh_audio->wf ? sh_audio->wf->nAvgBytesPerSec : sh_audio->i_bps); | ^~~~~~~~~~~~~~~ mencoder.c: In function 'slowseek': 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) | ^~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:465:109: note: in expansion of macro 'MP_NOPTS_VALUE' 465 | void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:465:125: note: in expansion of macro 'MP_NOPTS_VALUE' 465 | void *decoded_frame = decode_video(sh_video, frame_data->start, frame_data->in_size, !softskip, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:467:55: note: in expansion of macro 'MP_NOPTS_VALUE' 467 | filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:467:71: note: in expansion of macro 'MP_NOPTS_VALUE' 467 | filter_video(sh_video, decoded_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpdemux/muxer_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) | ^~ libmpcodecs/ve_x264.c: In function 'x264enc_set_param': libmpcodecs/ve_x264.c:67:42: warning: unused parameter 'opt' [-Wunused-parameter] 67 | void x264enc_set_param(const m_option_t* opt, char* arg) | ~~~~~~~~~~~~~~~~~~^~~ 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) | ^~ 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) { | ~~~~~~~~~~~~~^~~~~ libmpdemux/muxer_lavf.c: In function 'mp_seek': libmpcodecs/ve_x264.c: In function 'control': libmpdemux/muxer_lavf.c:99:109: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 99 | if(stream_control(muxer->stream, STREAM_CTRL_GET_SIZE, &size) == STREAM_UNSUPPORTED || size < pos) | ^ libmpcodecs/ve_x264.c:204:63: warning: unused parameter 'data' [-Wunused-parameter] 204 | static int control(struct vf_instance *vf, int request, void *data) | ~~~~~~^~~~ 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) | ^~ 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': 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) | ~~~~~~~^~~~~~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_x264.c:50: libmpcodecs/ve_x264.c: In function 'encode_frame': 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; | ^~~ ./mp_global.h:27:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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/ae_lavc.c: In function 'bind_lavc': 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)) | ^~ libmpcodecs/ae_lavc.c:53:9: warning: 'channels' is deprecated [-Wdeprecated-declarations] 53 | mux_a->wf->nChannels = lavc_actx->channels; | ^~~~~ 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) | ^~~~~~ libmpcodecs/ve_x264.c: At top level: libmpdemux/muxer_lavf.c:232:40: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 232 | if(stream->bih->biSize > sizeof(*stream->bih)) | ^ 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 | }; | ^ In file included from libmpcodecs/ae_lavc.c:39: /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ libmpcodecs/vf.h:38:17: note: 'opts' declared here 38 | const void* opts; | ^~~~ mencoder.c: In function 'main': libmpdemux/muxer_lavf.c: In function 'write_chunk': libmpdemux/muxer_mpeg.c:2117:102: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2117 | if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ libmpdemux/muxer_lavf.c:257:9: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations] 257 | av_init_packet(&pkt); | ^~~~~~~~~~~~~~ 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, | ^ 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); | ^~~~~~~~~~~~~~ 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) | ~~~~~~~~~~~~~~~~~^~~~~~~ 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) | ^~ libmpcodecs/ae_lavc.c: In function 'get_frame_size': libmpdemux/muxer_lavf.c: In function 'write_trailer': libmpcodecs/ae_lavc.c:133:44: warning: unused parameter 'encoder' [-Wunused-parameter] 133 | static int get_frame_size(audio_encoder_t *encoder) | ~~~~~~~~~~~~~~~~~^~~~~~~ libmpcodecs/ae_lavc.c: In function 'mpae_init_lavc': 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++) | ^ 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); | ^ 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)) { | ^~ 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; | ^~~~~~~~ libmpdemux/muxer_lavf.c: In function 'muxer_init_muxer_lavf': 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; | ^~~ 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); | ^ /usr/include/libavcodec/avcodec.h:1072:9: note: declared here 1072 | int channels; | ^~~~~~~~ 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)) | ^~ 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; | ^~~~~~~~ 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: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; | ^~~~~~~~ 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_mpeg.c:2141:102: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2141 | if((len > 0) && (srate == s->wf->nSamplesPerSec) && (i + len <= s->b_buffer_len)) | ^~ libmpdemux/muxer_mpeg.c:2062:108: warning: unused parameter 'drop' [-Wunused-parameter] 2062 | static int parse_audio(muxer_stream_t *s, int finalize, unsigned int *nf, double *timer, double delay, int drop) | ~~~~^~~~ libmpdemux/muxer_lavf.c: In function 'write_header': libmpdemux/muxer_lavf.c:296:9: warning: ignoring return value of 'avformat_write_header' declared with attribute 'warn_unused_result' [-Wunused-result] 296 | avformat_write_header(priv->oc, &opts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpdemux/muxer_mpeg.c: In function 'mpegfile_write_chunk': libmpdemux/muxer_mpeg.c:2288:37: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2288 | if(s->buffer == NULL || len == -1) | ^~ 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) | ^~ ./mp_global.h:27:29: warning: left shift of 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); | ^~~~~~~~~~~~~~ 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: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_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) | ~~~~~~~^~~~~~~ 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: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: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); | ^~~~~~~~~~~~~~ 226 audio & 469 video codecs 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++) | ^ ./mp_global.h:27:29: warning: left shift of 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: 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: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:2482:24: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2482 | if(tfl >= source) | ^~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1506:52: note: in expansion of macro 'MP_NOPTS_VALUE' 1506 | drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1506:68: note: in expansion of macro 'MP_NOPTS_VALUE' 1506 | drop_frame, MP_NOPTS_VALUE, MP_NOPTS_VALUE, NULL); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1509:38: note: in expansion of macro 'MP_NOPTS_VALUE' 1509 | if (did_seek && sh_video->pts != MP_NOPTS_VALUE) { | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1519:100: note: in expansion of macro 'MP_NOPTS_VALUE' 1519 | blit_frame = decoded_frame && filter_video(sh_video, decoded_frame, v_muxer_time + sub_offset, MP_NOPTS_VALUE);} | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1559:42: note: in expansion of macro 'MP_NOPTS_VALUE' 1559 | muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mencoder.c:1559:58: note: in expansion of macro 'MP_NOPTS_VALUE' 1559 | muxer_write_chunk(mux_v,0,0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ 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': libmpdemux/muxer_mpeg.c: In function 'parse_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 | ^~ libmpcodecs/ve_lavc.c:742:15: note: in expansion of macro 'MP_NOPTS_VALUE' 742 | if(pts == MP_NOPTS_VALUE) | ^~~~~~~~~~~~~~ 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~ In file included from mpcommon.c:31: libmpdemux/demuxer.h: In function 'new_demux_packet': libmpdemux/muxer_mpeg.c:2081:17: note: here 2081 | case AUDIO_MP2: | ^~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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) | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-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; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of 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; | ^~~~~~~~~~~~~~ In file included from libmpcodecs/ve_xvid4.c:42: ./libmpdemux/demuxer.h: In function 'new_demux_packet': ./libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ ./libmpdemux/demuxer.h: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/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; | ^~~~ libmpcodecs/ve_xvid4.c: In function 'config': libmpcodecs/ve_xvid4.c:394:21: warning: unused parameter 'flags' [-Wunused-parameter] 394 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~ libmpcodecs/ve_xvid4.c:394:41: warning: unused parameter 'outfmt' [-Wunused-parameter] 394 | unsigned int flags, unsigned int outfmt) | ~~~~~~~~~~~~~^~~~~~ libmpcodecs/ve_xvid4.c: In function 'control': libmpcodecs/ve_xvid4.c:489:52: warning: unused parameter 'data' [-Wunused-parameter] 489 | control(struct vf_instance *vf, int request, void* data) | ~~~~~~^~~~ libmpcodecs/ve_xvid4.c: In function 'query_format': libmpcodecs/ve_xvid4.c:507:34: warning: unused parameter 'vf' [-Wunused-parameter] 507 | query_format(struct vf_instance *vf, unsigned int fmt) | ~~~~~~~~~~~~~~~~~~~~^~ In file included from libmpcodecs/vf.h:118, from libmpcodecs/ve_xvid4.c:51: libmpcodecs/ve_xvid4.c: In function 'put_image': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:574:74: note: in expansion of macro 'MP_NOPTS_VALUE' 574 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:574:90: note: in expansion of macro 'MP_NOPTS_VALUE' 574 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ 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) | ~~~~~~~^~~~~~ gcc -MMD -MP -Wundef -W -Wall -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror=format-security -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Werror-implicit-function-declaration -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -pipe -g -fno-tree-vectorize -fno-asynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -fno-PIC -fno-PIE -D_REENTRANT -I/usr/include/directfb -I/usr/include/dvdcss -I/usr/include/freetype2 -I/usr/include/libpng16 -DZLIB_CONST -c -o codec-cfg.o codec-cfg.c libmpcodecs/ve_xvid4.c: In function 'flush_internal_buffers': ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:1353:88: note: in expansion of macro 'MP_NOPTS_VALUE' 1353 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ ./mp_global.h:27:29: warning: left shift of negative value [-Wshift-negative-value] 27 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ libmpcodecs/ve_xvid4.c:1353:104: note: in expansion of macro 'MP_NOPTS_VALUE' 1353 | (mod->frame.out_flags & XVID_KEYFRAME)?0x10:0, MP_NOPTS_VALUE, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ 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; | ^~~~ mpcommon.c: In function 'init_vo_spudec': mpcommon.c:140:83: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 140 | vo_spudec = spudec_new_scaled(((dvd_priv_t *)(stream->priv))->cur_pgc->palette, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ mpcommon.c: In function 'update_subtitles': libmpdemux/demuxer.h:98:29: warning: left shift of negative value [-Wshift-negative-value] 98 | #define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly | ^~ mpcommon.c:184:31: note: in expansion of macro 'MP_NOPTS_VALUE' 184 | sub_clear_text(&subs, MP_NOPTS_VALUE); | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of 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 && | ^~~~~~~~~~~~~~ libmpdemux/demuxer.h:98:29: warning: left shift of 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) | ^~~~~~~~~~~~~~ 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 '18446744073709551361' exceeds maximum object size 9223372036854775807 [-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 '18446744073709551361' exceeds maximum object size 9223372036854775807 [-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 '18446744073709551361' exceeds maximum object size 9223372036854775807 [-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 '18446744073709551361' exceeds maximum object size 9223372036854775807 [-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); | ^~~~~~ gcc -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o libao2/ao_alsa.o input/appleir.o libvo/vo_dga.o libvo/vo_directfb2.o libvo/vo_dfbmga.o libvo/vo_fbdev.o libvo/vo_fbdev2.o libvo/vo_png.o libvo/gl_common.o libvo/vo_gl.o libvo/csputils.o libvo/x11_common.o libvo/vo_gl_tiled.o libvo/vo_matrixview.o libvo/matrixview.o libvo/vo_md5sum.o udp_sync.o libao2/ao_oss.o libvo/vo_pnm.o libvo/vo_tga.o libvo/vo_v4l2.o libao2/ao_v4l2.o libvo/vo_vdpau.o libvo/vo_x11.o libvo/vo_xover.o libvo/vo_xv.o libvo/vo_xvmc.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o stream/ai_alsa.o stream/ai_oss.o sub/font_load.o stream/stream_cdda.o stream/cdinfo.o stream/stream_cddb.o stream/dvb_tune.o stream/stream_dvb.o stream/stream_dvd.o stream/stream_dvd_common.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libass/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o libass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_render.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o libass/ass_utils.o libmpcodecs/ad_libmad.o libmpcodecs/vd_theora.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/stream_pvr.o stream/stream_radio.o stream/audio_in.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o stream/tvi_v4l2.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o libmpcodecs/vd_xvid4.o osdep/shmem.o -Wl,--version-script,binary.ver -Wl,-z,noexecstack -no-pie -ffast-math -Wl,--as-needed,-O1,--sort-common -lpng -lz -lasound -ldvdread -lcdio_cdda -lcdio -lcdio_paranoia -lfreetype -lfontconfig -lz -lmad -ltheoradec -logg -lswscale -lswresample -lavformat -lavcodec -lavutil -lpostproc -lxvidcore -rdynamic -lm -ldirectfb -lX11 -lXext -lXv -lXvMC -lXvMCW -lvdpau -lXxf86vm -lXxf86dga -lGL -lEGL -lx264 -lmp3lame gcc -o mencoder mencoder.o parser-mecmd.o xvid_vbr.o libmpcodecs/ae.o libmpcodecs/ae_pcm.o libmpcodecs/ve.o libmpcodecs/ve_raw.o libmpdemux/muxer.o libmpdemux/muxer_avi.o libmpdemux/muxer_mpeg.o libmpdemux/muxer_rawaudio.o libmpdemux/muxer_rawvideo.o libmpcodecs/ae_faac.o libmpcodecs/ae_lavc.o libmpcodecs/ve_lavc.o libmpdemux/muxer_lavf.o libmpcodecs/ae_lame.o libmpcodecs/ve_x264.o libmpcodecs/ve_xvid4.o asxparser.o bstr.o codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o stream/ai_alsa.o stream/ai_oss.o sub/font_load.o stream/stream_cdda.o stream/cdinfo.o stream/stream_cddb.o stream/dvb_tune.o stream/stream_dvb.o stream/stream_dvd.o stream/stream_dvd_common.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libass/ass.o libass/ass_bitmap.o libass/ass_cache.o libass/ass_drawing.o libass/ass_font.o libass/ass_fontconfig.o libass/ass_library.o libass/ass_parse.o libass/ass_render.o libass/ass_render_api.o libass/ass_shaper.o libass/ass_strtod.o libass/ass_utils.o libmpcodecs/ad_libmad.o libmpcodecs/vd_theora.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stream/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o stream/stream_pvr.o stream/stream_radio.o stream/audio_in.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o stream/tvi_v4l2.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o libmpcodecs/vd_xvid4.o osdep/shmem.o -Wl,--version-script,binary.ver -Wl,-z,noexecstack -no-pie -ffast-math -Wl,--as-needed,-O1,--sort-common -lpng -lz -lasound -ldvdread -lcdio_cdda -lcdio -lcdio_paranoia -lfreetype -lfontconfig -lz -lmad -ltheoradec -logg -lswscale -lswresample -lavformat -lavcodec -lavutil -lpostproc -lxvidcore -rdynamic -lm -lfaac -lx264 -lmp3lame >>> 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 -m 644 DOCS/man/cs/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/cs/man1/ install -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/fr/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 -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/hu/man1 install -m 644 DOCS/man/fr/mplayer.1 /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/fr/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 -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/ru/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 -d /home/buildozer/aports/community/mplayer/pkg/mplayer/usr/share/man/zh_CN/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-aarch64.so.1 so:libcdio.so.19 so:libcdio_cdda.so.2 so:libcdio_paranoia.so.2 so:libdirectfb-1.7.so.7 so:libdvdread.so.8 so:libfaac.so.0 so:libfontconfig.so.1 so:libfreetype.so.6 so:libmad.so.0 so:libmp3lame.so.0 so:libpng16.so.16 so:libpostproc.so.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: 5.2 MB >>> mplayer*: Compressing data... >>> mplayer*: Create checksum... >>> mplayer*: Create mplayer-1.5.0_git20230717-r1.apk >>> mplayer: Build complete at Wed, 13 Dec 2023 19:50:23 +0000 elapsed time 0h 0m 18s >>> mplayer: Cleaning up srcdir >>> mplayer: Cleaning up pkgdir >>> mplayer: Uninstalling dependencies... (1/182) Purging .makedepends-mplayer (20231213.195006) (2/182) Purging alsa-lib-dev (1.2.10-r0) (3/182) Purging faac-dev (1.30-r5) (4/182) Purging faac (1.30-r5) (5/182) Purging ffmpeg-dev (6.1-r0) (6/182) Purging ffmpeg-libavdevice (6.1-r0) (7/182) Purging ffmpeg-libavfilter (6.1-r0) (8/182) Purging ffmpeg-libavformat (6.1-r0) (9/182) Purging ffmpeg-libpostproc (6.1-r0) (10/182) Purging ffmpeg-libswscale (6.1-r0) (11/182) Purging fontconfig-dev (2.14.2-r4) (12/182) Purging freetype-dev (2.13.2-r0) (13/182) Purging lame-dev (3.100-r5) (14/182) Purging libao-dev (1.2.2-r2) (15/182) Purging libao (1.2.2-r2) (16/182) Purging libcdio-paranoia-dev (10.2.2.0.1-r2) (17/182) Purging libcdio-paranoia (10.2.2.0.1-r2) (18/182) Purging libdvdread-dev (6.1.3-r2) (19/182) Purging libdvdread (6.1.3-r2) (20/182) Purging libmad-dev (0.15.1b-r9) (21/182) Purging libmad (0.15.1b-r9) (22/182) Purging libpng-dev (1.6.40-r0) (23/182) Purging libtheora-dev (1.1.1-r18) (24/182) Purging libvdpau-dev (1.5-r2) (25/182) Purging libxvmc-dev (1.0.13-r4) (26/182) Purging libxvmc (1.0.13-r4) (27/182) Purging libxxf86dga-dev (1.1.6-r2) (28/182) Purging libxxf86dga (1.1.6-r2) (29/182) Purging nasm (2.16.01-r2) (30/182) Purging sdl2-dev (2.28.5-r0) (31/182) Purging sdl2 (2.28.5-r0) (32/182) Purging directfb-dev (1.7.7-r7) (33/182) Purging directfb (1.7.7-r7) (34/182) Purging mesa-dev (23.3.0-r1) (35/182) Purging libxdamage-dev (1.1.6-r4) (36/182) Purging libxdamage (1.1.6-r4) (37/182) Purging libxshmfence-dev (1.3.2-r5) (38/182) Purging mesa-egl (23.3.0-r1) (39/182) Purging mesa-gbm (23.3.0-r1) (40/182) Purging mesa-gl (23.3.0-r1) (41/182) Purging mesa-gles (23.3.0-r1) (42/182) Purging mesa-osmesa (23.3.0-r1) (43/182) Purging mesa-rusticl (23.3.0-r1) (44/182) Purging clang17-headers (17.0.5-r0) (45/182) Purging libclc (17.0.5-r0) (46/182) Purging mesa-xatracker (23.3.0-r1) (47/182) Purging mesa (23.3.0-r1) (48/182) Purging x264-dev (0.164_git20231001-r0) (49/182) Purging xvidcore-dev (1.3.7-r2) (50/182) Purging zlib-dev (1.3-r2) (51/182) Purging brotli-dev (1.1.0-r1) (52/182) Purging brotli (1.1.0-r1) (53/182) Purging clang17-libs (17.0.5-r0) (54/182) Purging expat-dev (2.5.0-r2) (55/182) Purging expat (2.5.0-r2) (56/182) Purging ffmpeg-libavcodec (6.1-r0) (57/182) Purging ffmpeg-libswresample (6.1-r0) (58/182) Purging lame-libs (3.100-r5) (59/182) Purging libass (0.17.1-r1) (60/182) Purging libbluray (1.3.4-r1) (61/182) Purging libcdio-dev (2.1.0-r3) (62/182) Purging libcdio++ (2.1.0-r3) (63/182) Purging libcdio (2.1.0-r3) (64/182) Purging libdav1d (1.3.0-r0) (65/182) Purging libdrm-dev (2.4.118-r0) (66/182) Purging linux-headers (6.5-r0) (67/182) Purging libdvdcss-dev (1.4.3-r0) (68/182) Purging libdvdcss (1.4.3-r0) (69/182) Purging libelf (0.190-r1) (70/182) Purging libjxl (0.8.2-r0) (71/182) Purging libogg-dev (1.3.5-r5) (72/182) Purging libopenmpt (0.7.3-r1) (73/182) Purging libpciaccess-dev (0.17-r2) (74/182) Purging libplacebo (6.338.1-r0) (75/182) Purging libpulse (16.1-r11) (76/182) Purging librist (0.2.10-r0) (77/182) Purging libsndfile (1.2.2-r0) (78/182) Purging libsrt (1.5.3-r0) (79/182) Purging libssh (0.10.5-r0) (80/182) Purging libSvtAv1Enc (1.8.0-r0) (81/182) Purging libtheora (1.1.1-r18) (82/182) Purging libunibreak (5.1-r3) (83/182) Purging libvorbis (1.3.7-r2) (84/182) Purging libvpx (1.13.1-r0) (85/182) Purging libwebpmux (1.3.2-r0) (86/182) Purging libxfixes-dev (6.0.1-r3) (87/182) Purging libxshmfence (1.3.2-r5) (88/182) Purging libxv-dev (1.0.12-r4) (89/182) Purging libxv (1.0.12-r4) (90/182) Purging libxxf86vm-dev (1.1.5-r5) (91/182) Purging libxxf86vm (1.1.5-r5) (92/182) Purging libzmq (4.3.5-r2) (93/182) Purging lilv-libs (0.24.22-r0) (94/182) Purging mbedtls (2.28.6-r0) (95/182) Purging mesa-glapi (23.3.0-r1) (96/182) Purging mpg123-libs (1.32.3-r0) (97/182) Purging opus (1.4-r0) (98/182) Purging orc (0.4.34-r0) (99/182) Purging python3-pyc (3.11.6-r1) (100/182) Purging python3-pycache-pyc0 (3.11.6-r1) (101/182) Purging xcb-proto-pyc (1.16.0-r0) (102/182) Purging pyc (3.11.6-r1) (103/182) Purging rav1e-libs (0.6.6-r2) (104/182) Purging shaderc (2023.7-r0) (105/182) Purging soxr (0.1.3-r7) (106/182) Purging speexdsp (1.2.1-r2) (107/182) Purging spirv-llvm-translator-libs (17.0.0-r0) (108/182) Purging spirv-tools (1.3.261.1-r0) (109/182) Purging sratom (0.6.16-r0) (110/182) Purging tdb-libs (1.4.9-r0) (111/182) Purging tslib (1.22-r1) (112/182) Purging v4l-utils-libs (1.24.1-r1) (113/182) Purging vidstab (1.1.1-r0) (114/182) Purging vulkan-loader (1.3.261.1-r0) (115/182) Purging wayland-libs-server (1.22.0-r4) (116/182) Purging x264-libs (0.164_git20231001-r0) (117/182) Purging x265-libs (3.5-r4) (118/182) Purging xvidcore (1.3.7-r2) (119/182) Purging zimg (3.0.5-r2) (120/182) Purging alsa-lib (1.2.10-r0) (121/182) Purging aom-libs (3.7.1-r0) (122/182) Purging dbus-libs (1.14.10-r0) (123/182) Purging ffmpeg-libavutil (6.1-r0) (124/182) Purging fontconfig (2.14.2-r4) (125/182) Purging harfbuzz (8.3.0-r0) (126/182) Purging freetype (2.13.2-r0) (127/182) Purging fribidi (1.0.13-r0) (128/182) Purging libxext-dev (1.3.5-r3) (129/182) Purging libx11-dev (1.8.7-r0) (130/182) Purging xtrans (1.5.0-r0) (131/182) Purging libxcb-dev (1.16-r0) (132/182) Purging xcb-proto (1.16.0-r0) (133/182) Purging python3 (3.11.6-r1) (134/182) Purging gdbm (1.23-r1) (135/182) Purging glib (2.78.3-r0) (136/182) Purging glslang-libs (1.3.261.1-r0) (137/182) Purging graphite2 (1.3.14-r6) (138/182) Purging libva (2.20.0-r0) (139/182) Purging libdrm (2.4.118-r0) (140/182) Purging libpciaccess (0.17-r2) (141/182) Purging hwdata-pci (0.377.2-r0) (142/182) Purging lcms2 (2.16-r0) (143/182) Purging libasyncns (0.8-r2) (144/182) Purging libmount (2.39.3-r0) (145/182) Purging libblkid (2.39.3-r0) (146/182) Purging libxdmcp-dev (1.1.4-r3) (147/182) Purging libvdpau (1.5-r2) (148/182) Purging libxext (1.3.5-r3) (149/182) Purging libxfixes (6.0.1-r3) (150/182) Purging libx11 (1.8.7-r0) (151/182) Purging libxcb (1.16-r0) (152/182) Purging libxdmcp (1.1.4-r3) (153/182) Purging libbsd (0.11.7-r3) (154/182) Purging libbz2 (1.0.8-r6) (155/182) Purging libdovi (3.2.0-r1) (156/182) Purging llvm17-libs (17.0.5-r0) (157/182) Purging wayland-libs-client (1.22.0-r4) (158/182) Purging libffi (3.4.4-r3) (159/182) Purging libflac (1.4.3-r1) (160/182) Purging libhwy (1.0.7-r0) (161/182) Purging libintl (0.22.3-r0) (162/182) Purging libjpeg-turbo (3.0.1-r0) (163/182) Purging libltdl (2.4.7-r3) (164/182) Purging libmd (1.1.0-r0) (165/182) Purging libogg (1.3.5-r5) (166/182) Purging libpanelw (6.4_p20231125-r0) (167/182) Purging libpng (1.6.40-r0) (168/182) Purging libwebp (1.3.2-r0) (169/182) Purging libsharpyuv (1.3.2-r0) (170/182) Purging libsodium (1.0.19-r0) (171/182) Purging libxau-dev (1.0.11-r3) (172/182) Purging libxau (1.0.11-r3) (173/182) Purging libxml2 (2.11.6-r0) (174/182) Purging mpdecimal (2.5.1-r2) (175/182) Purging numactl (2.0.16-r4) (176/182) Purging readline (8.2.1-r2) (177/182) Purging sord-libs (0.16.16-r0) (178/182) Purging serd-libs (0.32.0-r0) (179/182) Purging sqlite-libs (3.44.2-r0) (180/182) Purging xorgproto (2023.2-r0) (181/182) Purging xz-libs (5.4.5-r0) (182/182) Purging zix-libs (0.4.2-r0) Executing busybox-1.36.1-r16.trigger OK: 380 MiB in 105 packages >>> mplayer: Updating the community/aarch64 repository index... >>> mplayer: Signing the index...