I: pbuilder: network access will be disabled during build I: Current time: Tue May 9 19:27:18 -12 2023 I: pbuilder-time-stamp: 1683703638 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [ogmtools_1.5-4.1.dsc] I: copying [./ogmtools_1.5.orig.tar.gz] I: copying [./ogmtools_1.5-4.1.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Nov 9 03:01:51 2021 -12 gpgv: using RSA key 3AFA757FAC6EA11D2FF45DF088D24287A2D898B1 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ogmtools_1.5-4.1.dsc: no acceptable signature found dpkg-source: info: extracting ogmtools in ogmtools-1.5 dpkg-source: info: unpacking ogmtools_1.5.orig.tar.gz dpkg-source: info: unpacking ogmtools_1.5-4.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-configure.in-adjust-variable-formatting.patch dpkg-source: info: applying 0002-ogmsplit.1-spell-correct.patch dpkg-source: info: applying 0003-ogmmerge-spell-correct.patch dpkg-source: info: applying 0004-ogminfo-timestamp-correction.patch dpkg-source: info: applying 0005-ogminfo-increase-verbosity.patch dpkg-source: info: applying 0006-pass-CFLAGS.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/3563433/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='b594be0711fd4a5a957c4ccc99038477' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='3563433' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.CVdanV6l/pbuilderrc_e5xE --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.CVdanV6l/b1 --logfile b1/build.log ogmtools_1.5-4.1.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux ionos11-amd64 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 5632 -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash -rwxr-xr-x 1 root root 121904 Sep 20 2022 date -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd -rwxr-xr-x 1 root root 102200 Sep 20 2022 df -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep -rwxr-xr-x 1 root root 35664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch -rwxr-xr-x 1 root root 35664 Sep 20 2022 true -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/3563433/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), cdbs, automake, libvorbis-dev (>= 1.0.0-2), libvorbis0a, libdvdread-dev, libogg0, quilt dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19596 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on cdbs; however: Package cdbs is not installed. pbuilder-satisfydepends-dummy depends on automake; however: Package automake is not installed. pbuilder-satisfydepends-dummy depends on libvorbis-dev (>= 1.0.0-2); however: Package libvorbis-dev is not installed. pbuilder-satisfydepends-dummy depends on libvorbis0a; however: Package libvorbis0a is not installed. pbuilder-satisfydepends-dummy depends on libdvdread-dev; however: Package libdvdread-dev is not installed. pbuilder-satisfydepends-dummy depends on libogg0; however: Package libogg0 is not installed. pbuilder-satisfydepends-dummy depends on quilt; however: Package quilt is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} cdbs{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} diffstat{a} dwz{a} ed{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libdvdread-dev{a} libdvdread8{a} libelf1{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libogg-dev{a} libogg0{a} libpipeline1{a} libpkgconf3{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libreadline8{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libvorbis-dev{a} libvorbis0a{a} libvorbisenc2{a} libvorbisfile3{a} libxml2{a} m4{a} man-db{a} media-types{a} pkg-config{a} pkgconf{a} pkgconf-bin{a} po-debconf{a} python3{a} python3-minimal{a} python3-pkg-resources{a} python3-scour{a} python3-six{a} python3.11{a} python3.11-minimal{a} quilt{a} readline-common{a} scour{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl less libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 61 newly installed, 0 to remove and 0 not upgraded. Need to get 26.3 MB of archives. After unpacking 102 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-minimal amd64 3.11.2-6 [813 kB] Get: 2 http://deb.debian.org/debian bookworm/main amd64 libexpat1 amd64 2.5.0-1 [99.3 kB] Get: 3 http://deb.debian.org/debian bookworm/main amd64 python3.11-minimal amd64 3.11.2-6 [2064 kB] Get: 4 http://deb.debian.org/debian bookworm/main amd64 python3-minimal amd64 3.11.2-1+b1 [26.3 kB] Get: 5 http://deb.debian.org/debian bookworm/main amd64 media-types all 10.0.0 [26.1 kB] Get: 6 http://deb.debian.org/debian bookworm/main amd64 readline-common all 8.2-1.3 [69.0 kB] Get: 7 http://deb.debian.org/debian bookworm/main amd64 libreadline8 amd64 8.2-1.3 [166 kB] Get: 8 http://deb.debian.org/debian bookworm/main amd64 libpython3.11-stdlib amd64 3.11.2-6 [1796 kB] Get: 9 http://deb.debian.org/debian bookworm/main amd64 python3.11 amd64 3.11.2-6 [572 kB] Get: 10 http://deb.debian.org/debian bookworm/main amd64 libpython3-stdlib amd64 3.11.2-1+b1 [9312 B] Get: 11 http://deb.debian.org/debian bookworm/main amd64 python3 amd64 3.11.2-1+b1 [26.3 kB] Get: 12 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 13 http://deb.debian.org/debian bookworm/main amd64 libmagic-mgc amd64 1:5.44-3 [305 kB] Get: 14 http://deb.debian.org/debian bookworm/main amd64 libmagic1 amd64 1:5.44-3 [104 kB] Get: 15 http://deb.debian.org/debian bookworm/main amd64 file amd64 1:5.44-3 [42.5 kB] Get: 16 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB] Get: 17 http://deb.debian.org/debian bookworm/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 18 http://deb.debian.org/debian bookworm/main amd64 groff-base amd64 1.22.4-10 [916 kB] Get: 19 http://deb.debian.org/debian bookworm/main amd64 bsdextrautils amd64 2.38.1-5+b1 [86.6 kB] Get: 20 http://deb.debian.org/debian bookworm/main amd64 libpipeline1 amd64 1.5.7-1 [38.5 kB] Get: 21 http://deb.debian.org/debian bookworm/main amd64 man-db amd64 2.11.2-2 [1386 kB] Get: 22 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB] Get: 23 http://deb.debian.org/debian bookworm/main amd64 autoconf all 2.71-3 [332 kB] Get: 24 http://deb.debian.org/debian bookworm/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 25 http://deb.debian.org/debian bookworm/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 26 http://deb.debian.org/debian bookworm/main amd64 autopoint all 0.21-12 [495 kB] Get: 27 http://deb.debian.org/debian bookworm/main amd64 python3-six all 1.16.0-4 [17.5 kB] Get: 28 http://deb.debian.org/debian bookworm/main amd64 python3-pkg-resources all 66.1.1-1 [296 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 python3-scour all 0.38.2-2 [58.0 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 scour all 0.38.2-2 [19.3 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 cdbs all 0.4.166 [47.3 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 33 http://deb.debian.org/debian bookworm/main amd64 libtool all 2.4.7-5 [517 kB] Get: 34 http://deb.debian.org/debian bookworm/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 35 http://deb.debian.org/debian bookworm/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 36 http://deb.debian.org/debian bookworm/main amd64 libsub-override-perl all 0.09-4 [9304 B] Get: 37 http://deb.debian.org/debian bookworm/main amd64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 39 http://deb.debian.org/debian bookworm/main amd64 libelf1 amd64 0.188-2.1 [174 kB] Get: 40 http://deb.debian.org/debian bookworm/main amd64 dwz amd64 0.15-1 [109 kB] Get: 41 http://deb.debian.org/debian bookworm/main amd64 libicu72 amd64 72.1-3 [9376 kB] Get: 42 http://deb.debian.org/debian bookworm/main amd64 libxml2 amd64 2.9.14+dfsg-1.2 [687 kB] Get: 43 http://deb.debian.org/debian bookworm/main amd64 gettext amd64 0.21-12 [1300 kB] Get: 44 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 45 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 46 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] Get: 47 http://deb.debian.org/debian bookworm/main amd64 diffstat amd64 1.65-1 [33.3 kB] Get: 48 http://deb.debian.org/debian bookworm/main amd64 ed amd64 1.19-1 [58.1 kB] Get: 49 http://deb.debian.org/debian bookworm/main amd64 libdvdread8 amd64 6.1.3-1 [91.9 kB] Get: 50 http://deb.debian.org/debian bookworm/main amd64 libpkgconf3 amd64 1.8.1-1 [36.1 kB] Get: 51 http://deb.debian.org/debian bookworm/main amd64 pkgconf-bin amd64 1.8.1-1 [29.5 kB] Get: 52 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB] Get: 53 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB] Get: 54 http://deb.debian.org/debian bookworm/main amd64 libdvdread-dev amd64 6.1.3-1 [107 kB] Get: 55 http://deb.debian.org/debian bookworm/main amd64 libogg0 amd64 1.3.5-3 [23.4 kB] Get: 56 http://deb.debian.org/debian bookworm/main amd64 libogg-dev amd64 1.3.5-3 [200 kB] Get: 57 http://deb.debian.org/debian bookworm/main amd64 libvorbis0a amd64 1.3.7-1 [93.0 kB] Get: 58 http://deb.debian.org/debian bookworm/main amd64 libvorbisenc2 amd64 1.3.7-1 [80.6 kB] Get: 59 http://deb.debian.org/debian bookworm/main amd64 libvorbisfile3 amd64 1.3.7-1 [26.1 kB] Get: 60 http://deb.debian.org/debian bookworm/main amd64 libvorbis-dev amd64 1.3.7-1 [327 kB] Get: 61 http://deb.debian.org/debian bookworm/main amd64 quilt all 0.67+really0.66-1 [303 kB] Fetched 26.3 MB in 0s (57.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19596 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.2-6_amd64.deb ... Unpacking libpython3.11-minimal:amd64 (3.11.2-6) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.5.0-1_amd64.deb ... Unpacking libexpat1:amd64 (2.5.0-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.2-6_amd64.deb ... Unpacking python3.11-minimal (3.11.2-6) ... Setting up libpython3.11-minimal:amd64 (3.11.2-6) ... Setting up libexpat1:amd64 (2.5.0-1) ... Setting up python3.11-minimal (3.11.2-6) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19912 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.2-1+b1_amd64.deb ... Unpacking python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.0.0_all.deb ... Unpacking media-types (10.0.0) ... Selecting previously unselected package readline-common. Preparing to unpack .../2-readline-common_8.2-1.3_all.deb ... Unpacking readline-common (8.2-1.3) ... Selecting previously unselected package libreadline8:amd64. Preparing to unpack .../3-libreadline8_8.2-1.3_amd64.deb ... Unpacking libreadline8:amd64 (8.2-1.3) ... Selecting previously unselected package libpython3.11-stdlib:amd64. Preparing to unpack .../4-libpython3.11-stdlib_3.11.2-6_amd64.deb ... Unpacking libpython3.11-stdlib:amd64 (3.11.2-6) ... Selecting previously unselected package python3.11. Preparing to unpack .../5-python3.11_3.11.2-6_amd64.deb ... Unpacking python3.11 (3.11.2-6) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../6-libpython3-stdlib_3.11.2-1+b1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ... Setting up python3-minimal (3.11.2-1+b1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20346 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.2-1+b1_amd64.deb ... Unpacking python3 (3.11.2-1+b1) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../01-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../02-libmagic-mgc_1%3a5.44-3_amd64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../03-libmagic1_1%3a5.44-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../04-file_1%3a5.44-3_amd64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../05-gettext-base_0.21-12_amd64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../06-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../07-groff-base_1.22.4-10_amd64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../08-bsdextrautils_2.38.1-5+b1_amd64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../09-libpipeline1_1.5.7-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../10-man-db_2.11.2-2_amd64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.19-3_amd64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package python3-six. Preparing to unpack .../16-python3-six_1.16.0-4_all.deb ... Unpacking python3-six (1.16.0-4) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../17-python3-pkg-resources_66.1.1-1_all.deb ... Unpacking python3-pkg-resources (66.1.1-1) ... Selecting previously unselected package python3-scour. Preparing to unpack .../18-python3-scour_0.38.2-2_all.deb ... Unpacking python3-scour (0.38.2-2) ... Selecting previously unselected package scour. Preparing to unpack .../19-scour_0.38.2-2_all.deb ... Unpacking scour (0.38.2-2) ... Selecting previously unselected package cdbs. Preparing to unpack .../20-cdbs_0.4.166_all.deb ... Unpacking cdbs (0.4.166) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../21-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../22-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../23-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../24-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../25-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../26-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../27-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../28-libelf1_0.188-2.1_amd64.deb ... Unpacking libelf1:amd64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../29-dwz_0.15-1_amd64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../30-libicu72_72.1-3_amd64.deb ... Unpacking libicu72:amd64 (72.1-3) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../31-libxml2_2.9.14+dfsg-1.2_amd64.deb ... Unpacking libxml2:amd64 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.21-12_amd64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../33-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../34-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../35-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package diffstat. Preparing to unpack .../36-diffstat_1.65-1_amd64.deb ... Unpacking diffstat (1.65-1) ... Selecting previously unselected package ed. Preparing to unpack .../37-ed_1.19-1_amd64.deb ... Unpacking ed (1.19-1) ... Selecting previously unselected package libdvdread8:amd64. Preparing to unpack .../38-libdvdread8_6.1.3-1_amd64.deb ... Unpacking libdvdread8:amd64 (6.1.3-1) ... Selecting previously unselected package libpkgconf3:amd64. Preparing to unpack .../39-libpkgconf3_1.8.1-1_amd64.deb ... Unpacking libpkgconf3:amd64 (1.8.1-1) ... Selecting previously unselected package pkgconf-bin. Preparing to unpack .../40-pkgconf-bin_1.8.1-1_amd64.deb ... Unpacking pkgconf-bin (1.8.1-1) ... Selecting previously unselected package pkgconf:amd64. Preparing to unpack .../41-pkgconf_1.8.1-1_amd64.deb ... Unpacking pkgconf:amd64 (1.8.1-1) ... Selecting previously unselected package pkg-config:amd64. Preparing to unpack .../42-pkg-config_1.8.1-1_amd64.deb ... Unpacking pkg-config:amd64 (1.8.1-1) ... Selecting previously unselected package libdvdread-dev:amd64. Preparing to unpack .../43-libdvdread-dev_6.1.3-1_amd64.deb ... Unpacking libdvdread-dev:amd64 (6.1.3-1) ... Selecting previously unselected package libogg0:amd64. Preparing to unpack .../44-libogg0_1.3.5-3_amd64.deb ... Unpacking libogg0:amd64 (1.3.5-3) ... Selecting previously unselected package libogg-dev:amd64. Preparing to unpack .../45-libogg-dev_1.3.5-3_amd64.deb ... Unpacking libogg-dev:amd64 (1.3.5-3) ... Selecting previously unselected package libvorbis0a:amd64. Preparing to unpack .../46-libvorbis0a_1.3.7-1_amd64.deb ... Unpacking libvorbis0a:amd64 (1.3.7-1) ... Selecting previously unselected package libvorbisenc2:amd64. Preparing to unpack .../47-libvorbisenc2_1.3.7-1_amd64.deb ... Unpacking libvorbisenc2:amd64 (1.3.7-1) ... Selecting previously unselected package libvorbisfile3:amd64. Preparing to unpack .../48-libvorbisfile3_1.3.7-1_amd64.deb ... Unpacking libvorbisfile3:amd64 (1.3.7-1) ... Selecting previously unselected package libvorbis-dev:amd64. Preparing to unpack .../49-libvorbis-dev_1.3.7-1_amd64.deb ... Unpacking libvorbis-dev:amd64 (1.3.7-1) ... Selecting previously unselected package quilt. Preparing to unpack .../50-quilt_0.67+really0.66-1_all.deb ... Unpacking quilt (0.67+really0.66-1) ... Setting up media-types (10.0.0) ... Setting up libpipeline1:amd64 (1.5.7-1) ... Setting up libicu72:amd64 (72.1-3) ... Setting up libogg0:amd64 (1.3.5-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:amd64 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up libogg-dev:amd64 (1.3.5-3) ... Setting up autotools-dev (20220109.1) ... Setting up libpkgconf3:amd64 (1.8.1-1) ... Setting up libdvdread8:amd64 (6.1.3-1) ... Setting up ed (1.19-1) ... Setting up diffstat (1.65-1) ... Setting up libvorbis0a:amd64 (1.3.7-1) ... Setting up autopoint (0.21-12) ... Setting up pkgconf-bin (1.8.1-1) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up libelf1:amd64 (0.188-2.1) ... Setting up readline-common (8.2-1.3) ... Setting up libxml2:amd64 (2.9.14+dfsg-1.2) ... Setting up libvorbisenc2:amd64 (1.3.7-1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up libreadline8:amd64 (8.2-1.3) ... Setting up quilt (0.67+really0.66-1) ... Setting up pkgconf:amd64 (1.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libvorbisfile3:amd64 (1.3.7-1) ... Setting up pkg-config:amd64 (1.8.1-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up libvorbis-dev:amd64 (1.3.7-1) ... Setting up libdvdread-dev:amd64 (6.1.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:amd64 (3.11.2-6) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ... Setting up python3.11 (3.11.2-6) ... Setting up debhelper (13.11.4) ... Setting up python3 (3.11.2-1+b1) ... Setting up python3-six (1.16.0-4) ... Setting up python3-pkg-resources (66.1.1-1) ... Setting up python3-scour (0.38.2-2) ... Setting up scour (0.38.2-2) ... Setting up cdbs (0.4.166) ... Processing triggers for libc-bin (2.36-9) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/ogmtools-1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ogmtools_1.5-4.1_source.changes dpkg-buildpackage: info: source package ogmtools dpkg-buildpackage: info: source version 1:1.5-4.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Adrian Bunk dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean test -x debian/rules rm -f debian/stamp-makefile-build debian/stamp-makefile-install /usr/bin/make -C . -k distclean make[1]: Entering directory '/build/ogmtools-1.5' make[1]: *** No rule to make target 'distclean'. make[1]: Leaving directory '/build/ogmtools-1.5' make: [/usr/share/cdbs/1/class/makefile.mk:91: makefile-clean] Error 2 (ignored) rm -f debian/stamp-autotools rmdir --ignore-fail-on-non-empty . rmdir: failed to remove '.': Invalid argument make: [/usr/share/cdbs/1/class/autotools.mk:64: makefile-clean] Error 1 (ignored) set -e; dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) rm -f debian/stamp-autotools-files debian/rules build test -x debian/rules mkdir -p "." set -e; mv ./config.guess ./config.guess.cdbs-orig; cp --remove-destination /usr/share/misc/config.guess ./config.guess; set -e; mv ./config.sub ./config.sub.cdbs-orig; cp --remove-destination /usr/share/misc/config.sub ./config.sub; touch debian/stamp-autotools-files chmod a+x /build/ogmtools-1.5/./configure mkdir -p . cd . && CFLAGS="-g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security" CXXFLAGS="-g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" /build/ogmtools-1.5/./configure --build=x86_64-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/ogmtools" --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking whether gcc needs -traditional... no checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for Ogg... yes checking for Vorbis... yes checking for DVDOpen in -ldvdread... yes checking for /usr/include/dvdread/dvd_reader.h... yes checking for fseeko... yes checking for ANSI C header files... yes configure: creating ./config.status config.status: creating Makefile config.status: creating avilib/Makefile config.status: executing depfiles commands touch debian/stamp-autotools /usr/bin/make -C . make[1]: Entering directory '/build/ogmtools-1.5' cd . && /bin/bash /build/ogmtools-1.5/missing --run aclocal-1.6 /build/ogmtools-1.5/missing: line 46: aclocal-1.6: command not found WARNING: `aclocal-1.6' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && \ /bin/bash /build/ogmtools-1.5/missing --run automake-1.6 --foreign Makefile /build/ogmtools-1.5/missing: line 46: automake-1.6: command not found WARNING: `automake-1.6' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/bash /build/ogmtools-1.5/missing --run autoconf configure.in:12: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:12: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... aclocal.m4:39: XIPH_PATH_OGG is expanded from... configure.in:12: the top level configure.in:12: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:12: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:39: XIPH_PATH_OGG is expanded from... configure.in:12: the top level configure.in:13: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:13: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... aclocal.m4:134: XIPH_PATH_VORBIS is expanded from... configure.in:13: the top level configure.in:13: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:13: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... aclocal.m4:134: XIPH_PATH_VORBIS is expanded from... configure.in:13: the top level configure.in:32: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:32: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:32: the top level configure.in:37: warning: AC_OUTPUT should be used without arguments. configure.in:37: You should run autoupdate. configure.in:37: warning: back quotes and double quotes must not be escaped in: conditional \"AMDEP\" was never defined. configure.in:37: Usually this means the macro was only invoked conditionally. configure.in:37: warning: back quotes and double quotes must not be escaped in: conditional \"HAVE_LIBDVDREAD\" was never defined. configure.in:37: Usually this means the macro was only invoked conditionally. /bin/bash ./config.status --recheck running /bin/bash /build/ogmtools-1.5/./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/ogmtools --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules CFLAGS=-g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 LDFLAGS=-Wl,-z,relro build_alias=x86_64-linux-gnu --no-create --no-recursion configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-silent-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for Ogg... yes checking for Vorbis... yes checking for DVDOpen in -ldvdread... yes checking for /usr/include/dvdread/dvd_reader.h... yes checking for fseeko... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for egrep... (cached) /bin/grep -E configure: creating ./config.status configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-silent-rules cd . && /bin/bash ./config.status Makefile depfiles config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: executing depfiles commands Making all in avilib make[2]: Entering directory '/build/ogmtools-1.5/avilib' cd .. && /bin/bash ./config.status avilib/Makefile depfiles config.status: creating avilib/Makefile config.status: WARNING: 'avilib/Makefile.in' seems to ignore the --datarootdir setting config.status: executing depfiles commands gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'avilib.c' || echo './'`avilib.c avilib.c: In function 'avi_ixnn_entry': avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:245:5: note: in expansion of macro 'OUTD' 245 | OUTD(ch->nEntriesInUse); | ^~~~ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:247:5: note: in expansion of macro 'OUTD' 247 | OUTD(ch->qwBaseOffset&0xffffffff); | ^~~~ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:248:5: note: in expansion of macro 'OUTD' 248 | OUTD((ch->qwBaseOffset>>32)&0xffffffff); | ^~~~ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:249:5: note: in expansion of macro 'OUTD' 249 | OUTD(ch->dwReserved3); | ^~~~ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:252:9: note: in expansion of macro 'OUTD' 252 | OUTD(ch->aIndex[k].dwOffset); | ^~~~ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:213:30: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 213 | #define OUTD(n) long2str(ix00+bl,n); bl+=4 | ~~~~^~~ | | | char * avilib.c:253:9: note: in expansion of macro 'OUTD' 253 | OUTD(ch->aIndex[k].dwSize); | ^~~~ avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:256:27: warning: pointer targets in passing argument 2 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ~~^~~~~ | | | char * avilib.c:181:53: note: expected 'unsigned char *' but argument is of type 'char *' 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~ avilib.c:256:34: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 256 | avi_add_chunk (AVI, ch->fcc, ix00, max); | ^~~~ | | | char * avilib.c:181:73: note: expected 'unsigned char *' but argument is of type 'char *' 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function 'avi_add_odml_index_entry': avilib.c:372:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 372 | int audio = (strchr (tag, 'w')?1:0); | ^~~ | | | unsigned char * In file included from avilib.h:38, from avilib.c:30: /usr/include/string.h:246:34: note: expected 'const char *' but argument is of type 'unsigned char *' 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ avilib.c:382:43: warning: pointer targets in passing argument 2 of 'avi_init_super_index' differ in signedness [-Wpointer-sign] 382 | if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex) < 0) return -1; | ^~~~~~ | | | char * avilib.c:268:60: note: expected 'unsigned char *' but argument is of type 'char *' 268 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:386:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 386 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:57: note: expected 'unsigned char *' but argument is of type 'char *' 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:386:49: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 386 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:80: note: expected 'unsigned char *' but argument is of type 'char *' 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:400:43: warning: pointer targets in passing argument 2 of 'avi_init_super_index' differ in signedness [-Wpointer-sign] 400 | if (avi_init_super_index(AVI, fcc, &AVI->track[AVI->aptr].audio_superindex) < 0) return -1; | ^~~ | | | char * avilib.c:268:60: note: expected 'unsigned char *' but argument is of type 'char *' 268 | static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisuperindex_chunk **si) | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:406:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 406 | if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:57: note: expected 'unsigned char *' but argument is of type 'char *' 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:447:30: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' {aka 'long int'} [-Wformat=] 447 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | "POS=%lld towrite=%lld\n", 449 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~~ | | | int64_t {aka long int} avilib.c:448:29: note: format string is defined here 448 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %ld avilib.c:447:30: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t' {aka 'long int'} [-Wformat=] 447 | fprintf (stderr, "[avilib dump] cur_std_idx=%d NR_IXNN_CHUNKS=%d" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | "POS=%lld towrite=%lld\n", 449 | cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); | ~~~~~~~ | | | int64_t {aka long int} avilib.c:448:42: note: format string is defined here 448 | "POS=%lld towrite=%lld\n", | ~~~^ | | | long long int | %ld avilib.c:453:37: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 453 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:57: note: expected 'unsigned char *' but argument is of type 'char *' 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:453:45: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 453 | if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superindex->stdindex[ cur_std_idx ]) < 0) | ^~~~~~ | | | char * avilib.c:312:80: note: expected 'unsigned char *' but argument is of type 'char *' 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:466:41: warning: pointer targets in passing argument 2 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 466 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:57: note: expected 'unsigned char *' but argument is of type 'char *' 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:466:46: warning: pointer targets in passing argument 3 of 'avi_add_std_index' differ in signedness [-Wpointer-sign] 466 | if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audio_superindex->stdindex[ | ^~~ | | | char * avilib.c:312:80: note: expected 'unsigned char *' but argument is of type 'char *' 312 | static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigned char *strtag, | ~~~~~~~~~~~~~~~^~~~~~ avilib.c:503:57: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 503 | avi_add_chunk(AVI, (unsigned char *)"RIFF", "AVIXLIST\0\0\0\0movi", 16); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * avilib.c:181:73: note: expected 'unsigned char *' but argument is of type 'char *' 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function 'avi_update_header': avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:764:4: note: in expansion of macro 'OUT4CC' 764 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:764:4: note: in expansion of macro 'OUT4CC' 764 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:765:4: note: in expansion of macro 'OUTLONG' 765 | OUTLONG(movi_len); // assume max size | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:765:4: note: in expansion of macro 'OUTLONG' 765 | OUTLONG(movi_len); // assume max size | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:766:4: note: in expansion of macro 'OUT4CC' 766 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:766:4: note: in expansion of macro 'OUT4CC' 766 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:770:4: note: in expansion of macro 'OUT4CC' 770 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:770:4: note: in expansion of macro 'OUT4CC' 770 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:771:4: note: in expansion of macro 'OUTLONG' 771 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:771:4: note: in expansion of macro 'OUTLONG' 771 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:773:4: note: in expansion of macro 'OUT4CC' 773 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:773:4: note: in expansion of macro 'OUT4CC' 773 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:786:4: note: in expansion of macro 'OUT4CC' 786 | OUT4CC ("avih"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:786:4: note: in expansion of macro 'OUT4CC' 786 | OUT4CC ("avih"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:787:4: note: in expansion of macro 'OUTLONG' 787 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:787:4: note: in expansion of macro 'OUTLONG' 787 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:788:4: note: in expansion of macro 'OUTLONG' 788 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:788:4: note: in expansion of macro 'OUTLONG' 788 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:791:4: note: in expansion of macro 'OUTLONG' 791 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:791:4: note: in expansion of macro 'OUTLONG' 791 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:792:4: note: in expansion of macro 'OUTLONG' 792 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:792:4: note: in expansion of macro 'OUTLONG' 792 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:797:4: note: in expansion of macro 'OUTLONG' 797 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:797:4: note: in expansion of macro 'OUTLONG' 797 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:798:4: note: in expansion of macro 'OUTLONG' 798 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:798:4: note: in expansion of macro 'OUTLONG' 798 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:799:4: note: in expansion of macro 'OUTLONG' 799 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:799:4: note: in expansion of macro 'OUTLONG' 799 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:801:4: note: in expansion of macro 'OUTLONG' 801 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:801:4: note: in expansion of macro 'OUTLONG' 801 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:803:4: note: in expansion of macro 'OUTLONG' 803 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:803:4: note: in expansion of macro 'OUTLONG' 803 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:804:4: note: in expansion of macro 'OUTLONG' 804 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:804:4: note: in expansion of macro 'OUTLONG' 804 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:805:4: note: in expansion of macro 'OUTLONG' 805 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:805:4: note: in expansion of macro 'OUTLONG' 805 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:807:4: note: in expansion of macro 'OUTLONG' 807 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:807:4: note: in expansion of macro 'OUTLONG' 807 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:808:4: note: in expansion of macro 'OUTLONG' 808 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:808:4: note: in expansion of macro 'OUTLONG' 808 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:809:4: note: in expansion of macro 'OUTLONG' 809 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:809:4: note: in expansion of macro 'OUTLONG' 809 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:810:4: note: in expansion of macro 'OUTLONG' 810 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:810:4: note: in expansion of macro 'OUTLONG' 810 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:815:4: note: in expansion of macro 'OUT4CC' 815 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:815:4: note: in expansion of macro 'OUT4CC' 815 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:816:4: note: in expansion of macro 'OUTLONG' 816 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:816:4: note: in expansion of macro 'OUTLONG' 816 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:818:4: note: in expansion of macro 'OUT4CC' 818 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:818:4: note: in expansion of macro 'OUT4CC' 818 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:822:4: note: in expansion of macro 'OUT4CC' 822 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:822:4: note: in expansion of macro 'OUT4CC' 822 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:823:4: note: in expansion of macro 'OUTLONG' 823 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:823:4: note: in expansion of macro 'OUTLONG' 823 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:824:4: note: in expansion of macro 'OUT4CC' 824 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:824:4: note: in expansion of macro 'OUT4CC' 824 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:825:4: note: in expansion of macro 'OUT4CC' 825 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:825:4: note: in expansion of macro 'OUT4CC' 825 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:826:4: note: in expansion of macro 'OUTLONG' 826 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:826:4: note: in expansion of macro 'OUTLONG' 826 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:827:4: note: in expansion of macro 'OUTLONG' 827 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:827:4: note: in expansion of macro 'OUTLONG' 827 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:828:4: note: in expansion of macro 'OUTLONG' 828 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:828:4: note: in expansion of macro 'OUTLONG' 828 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:829:4: note: in expansion of macro 'OUTLONG' 829 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:829:4: note: in expansion of macro 'OUTLONG' 829 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:830:4: note: in expansion of macro 'OUTLONG' 830 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:830:4: note: in expansion of macro 'OUTLONG' 830 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:831:4: note: in expansion of macro 'OUTLONG' 831 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:831:4: note: in expansion of macro 'OUTLONG' 831 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:832:4: note: in expansion of macro 'OUTLONG' 832 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:832:4: note: in expansion of macro 'OUTLONG' 832 | OUTLONG(0); // no frames yet | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:833:4: note: in expansion of macro 'OUTLONG' 833 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:833:4: note: in expansion of macro 'OUTLONG' 833 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:834:4: note: in expansion of macro 'OUTLONG' 834 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:834:4: note: in expansion of macro 'OUTLONG' 834 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:835:4: note: in expansion of macro 'OUTLONG' 835 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:835:4: note: in expansion of macro 'OUTLONG' 835 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:836:4: note: in expansion of macro 'OUTLONG' 836 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:836:4: note: in expansion of macro 'OUTLONG' 836 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:837:4: note: in expansion of macro 'OUTLONG' 837 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:837:4: note: in expansion of macro 'OUTLONG' 837 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:846:4: note: in expansion of macro 'OUT4CC' 846 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:846:4: note: in expansion of macro 'OUT4CC' 846 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:847:4: note: in expansion of macro 'OUTLONG' 847 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:847:4: note: in expansion of macro 'OUTLONG' 847 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:848:4: note: in expansion of macro 'OUTLONG' 848 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:848:4: note: in expansion of macro 'OUTLONG' 848 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:849:4: note: in expansion of macro 'OUTLONG' 849 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:849:4: note: in expansion of macro 'OUTLONG' 849 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:850:4: note: in expansion of macro 'OUTLONG' 850 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:850:4: note: in expansion of macro 'OUTLONG' 850 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:852:4: note: in expansion of macro 'OUT4CC' 852 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:852:4: note: in expansion of macro 'OUT4CC' 852 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:854:4: note: in expansion of macro 'OUTLONG' 854 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:854:4: note: in expansion of macro 'OUTLONG' 854 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:855:4: note: in expansion of macro 'OUTLONG' 855 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:855:4: note: in expansion of macro 'OUTLONG' 855 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:856:4: note: in expansion of macro 'OUTLONG' 856 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:856:4: note: in expansion of macro 'OUTLONG' 856 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:857:4: note: in expansion of macro 'OUTLONG' 857 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:857:4: note: in expansion of macro 'OUTLONG' 857 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:858:4: note: in expansion of macro 'OUTLONG' 858 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:858:4: note: in expansion of macro 'OUTLONG' 858 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:879:8: note: in expansion of macro 'OUT4CC' 879 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:879:8: note: in expansion of macro 'OUT4CC' 879 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:880:8: note: in expansion of macro 'OUTLONG' 880 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:880:8: note: in expansion of macro 'OUTLONG' 880 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:882:8: note: in expansion of macro 'OUT4CC' 882 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:882:8: note: in expansion of macro 'OUT4CC' 882 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:886:8: note: in expansion of macro 'OUT4CC' 886 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:886:8: note: in expansion of macro 'OUT4CC' 886 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:887:8: note: in expansion of macro 'OUTLONG' 887 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:887:8: note: in expansion of macro 'OUTLONG' 887 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:888:8: note: in expansion of macro 'OUT4CC' 888 | OUT4CC ("auds"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:888:8: note: in expansion of macro 'OUT4CC' 888 | OUT4CC ("auds"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:892:8: note: in expansion of macro 'OUTLONG' 892 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:892:8: note: in expansion of macro 'OUTLONG' 892 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:895:8: note: in expansion of macro 'OUTLONG' 895 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:895:8: note: in expansion of macro 'OUTLONG' 895 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:896:8: note: in expansion of macro 'OUTLONG' 896 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:896:8: note: in expansion of macro 'OUTLONG' 896 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:897:8: note: in expansion of macro 'OUTLONG' 897 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:897:8: note: in expansion of macro 'OUTLONG' 897 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:900:8: note: in expansion of macro 'OUTLONG' 900 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:900:8: note: in expansion of macro 'OUTLONG' 900 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:901:8: note: in expansion of macro 'OUTLONG' 901 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:901:8: note: in expansion of macro 'OUTLONG' 901 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:902:8: note: in expansion of macro 'OUTLONG' 902 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:902:8: note: in expansion of macro 'OUTLONG' 902 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:903:8: note: in expansion of macro 'OUTLONG' 903 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:903:8: note: in expansion of macro 'OUTLONG' 903 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:904:8: note: in expansion of macro 'OUTLONG' 904 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:904:8: note: in expansion of macro 'OUTLONG' 904 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:905:8: note: in expansion of macro 'OUTLONG' 905 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:905:8: note: in expansion of macro 'OUTLONG' 905 | OUTLONG(-1); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:908:8: note: in expansion of macro 'OUTLONG' 908 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:908:8: note: in expansion of macro 'OUTLONG' 908 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:910:8: note: in expansion of macro 'OUTLONG' 910 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:910:8: note: in expansion of macro 'OUTLONG' 910 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:911:8: note: in expansion of macro 'OUTLONG' 911 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:911:8: note: in expansion of macro 'OUTLONG' 911 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:917:8: note: in expansion of macro 'OUT4CC' 917 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:917:8: note: in expansion of macro 'OUT4CC' 917 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:918:8: note: in expansion of macro 'OUTLONG' 918 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:918:8: note: in expansion of macro 'OUTLONG' 918 | OUTLONG(16); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:921:8: note: in expansion of macro 'OUTLONG' 921 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:921:8: note: in expansion of macro 'OUTLONG' 921 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:923:8: note: in expansion of macro 'OUTLONG' 923 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:923:8: note: in expansion of macro 'OUTLONG' 923 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:955:4: note: in expansion of macro 'OUT4CC' 955 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:955:4: note: in expansion of macro 'OUT4CC' 955 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:956:4: note: in expansion of macro 'OUTLONG' 956 | OUTLONG(njunk); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:956:4: note: in expansion of macro 'OUTLONG' 956 | OUTLONG(njunk); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:963:4: note: in expansion of macro 'OUT4CC' 963 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:963:4: note: in expansion of macro 'OUT4CC' 963 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:964:4: note: in expansion of macro 'OUTLONG' 964 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:964:4: note: in expansion of macro 'OUTLONG' 964 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:965:4: note: in expansion of macro 'OUT4CC' 965 | OUT4CC ("movi"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:965:4: note: in expansion of macro 'OUT4CC' 965 | OUT4CC ("movi"); | ^~~~~~ avilib.c: In function 'avi_parse_comments': avilib.c:1083:25: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 1083 | long2str(buf+len, k+1); len += 4; | ~~~^~~~ | | | char * avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:1013:16: warning: variable 'readlen' set but not used [-Wunused-but-set-variable] 1013 | int len=0, readlen=0, k; | ^~~~~~~ avilib.c: In function 'avi_close_output_file': avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1233:4: note: in expansion of macro 'OUT4CC' 1233 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1233:4: note: in expansion of macro 'OUT4CC' 1233 | OUT4CC ("RIFF"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1235:8: note: in expansion of macro 'OUTLONG' 1235 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1235:8: note: in expansion of macro 'OUTLONG' 1235 | OUTLONG(AVI->video_superindex->stdindex[ 1 ]->qwBaseOffset - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1237:8: note: in expansion of macro 'OUTLONG' 1237 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1237:8: note: in expansion of macro 'OUTLONG' 1237 | OUTLONG(AVI->pos - 8); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1240:4: note: in expansion of macro 'OUT4CC' 1240 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1240:4: note: in expansion of macro 'OUT4CC' 1240 | OUT4CC ("AVI "); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1244:4: note: in expansion of macro 'OUT4CC' 1244 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1244:4: note: in expansion of macro 'OUT4CC' 1244 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1245:4: note: in expansion of macro 'OUTLONG' 1245 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1245:4: note: in expansion of macro 'OUTLONG' 1245 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1247:4: note: in expansion of macro 'OUT4CC' 1247 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1247:4: note: in expansion of macro 'OUT4CC' 1247 | OUT4CC ("hdrl"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1260:4: note: in expansion of macro 'OUT4CC' 1260 | OUT4CC ("avih"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1260:4: note: in expansion of macro 'OUT4CC' 1260 | OUT4CC ("avih"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1261:4: note: in expansion of macro 'OUTLONG' 1261 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1261:4: note: in expansion of macro 'OUTLONG' 1261 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1262:4: note: in expansion of macro 'OUTLONG' 1262 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1262:4: note: in expansion of macro 'OUTLONG' 1262 | OUTLONG(ms_per_frame); /* Microseconds per frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1265:4: note: in expansion of macro 'OUTLONG' 1265 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1265:4: note: in expansion of macro 'OUTLONG' 1265 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1266:4: note: in expansion of macro 'OUTLONG' 1266 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1266:4: note: in expansion of macro 'OUTLONG' 1266 | OUTLONG(0); /* PaddingGranularity (whatever that might be) */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1271:4: note: in expansion of macro 'OUTLONG' 1271 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1271:4: note: in expansion of macro 'OUTLONG' 1271 | OUTLONG(flag); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1272:4: note: in expansion of macro 'OUTLONG' 1272 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1272:4: note: in expansion of macro 'OUTLONG' 1272 | OUTLONG(AVI->video_frames); /* TotalFrames */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1273:4: note: in expansion of macro 'OUTLONG' 1273 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1273:4: note: in expansion of macro 'OUTLONG' 1273 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1275:4: note: in expansion of macro 'OUTLONG' 1275 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1275:4: note: in expansion of macro 'OUTLONG' 1275 | OUTLONG(AVI->anum+1); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1281:4: note: in expansion of macro 'OUTLONG' 1281 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1281:4: note: in expansion of macro 'OUTLONG' 1281 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1282:4: note: in expansion of macro 'OUTLONG' 1282 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1282:4: note: in expansion of macro 'OUTLONG' 1282 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1283:4: note: in expansion of macro 'OUTLONG' 1283 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1283:4: note: in expansion of macro 'OUTLONG' 1283 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1285:4: note: in expansion of macro 'OUTLONG' 1285 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1285:4: note: in expansion of macro 'OUTLONG' 1285 | OUTLONG(0); /* TimeScale: Unit used to measure time */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1286:4: note: in expansion of macro 'OUTLONG' 1286 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1286:4: note: in expansion of macro 'OUTLONG' 1286 | OUTLONG(0); /* DataRate: Data rate of playback */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1287:4: note: in expansion of macro 'OUTLONG' 1287 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1287:4: note: in expansion of macro 'OUTLONG' 1287 | OUTLONG(0); /* StartTime: Starting time of AVI data */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1288:4: note: in expansion of macro 'OUTLONG' 1288 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1288:4: note: in expansion of macro 'OUTLONG' 1288 | OUTLONG(0); /* DataLength: Size of AVI data chunk */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1293:4: note: in expansion of macro 'OUT4CC' 1293 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1293:4: note: in expansion of macro 'OUT4CC' 1293 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1294:4: note: in expansion of macro 'OUTLONG' 1294 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1294:4: note: in expansion of macro 'OUTLONG' 1294 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1296:4: note: in expansion of macro 'OUT4CC' 1296 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1296:4: note: in expansion of macro 'OUT4CC' 1296 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1300:4: note: in expansion of macro 'OUT4CC' 1300 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1300:4: note: in expansion of macro 'OUT4CC' 1300 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1301:4: note: in expansion of macro 'OUTLONG' 1301 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1301:4: note: in expansion of macro 'OUTLONG' 1301 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1302:4: note: in expansion of macro 'OUT4CC' 1302 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1302:4: note: in expansion of macro 'OUT4CC' 1302 | OUT4CC ("vids"); /* Type */ | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1303:4: note: in expansion of macro 'OUT4CC' 1303 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1303:4: note: in expansion of macro 'OUT4CC' 1303 | OUT4CC (AVI->compressor); /* Handler */ | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1304:4: note: in expansion of macro 'OUTLONG' 1304 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1304:4: note: in expansion of macro 'OUTLONG' 1304 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1305:4: note: in expansion of macro 'OUTLONG' 1305 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1305:4: note: in expansion of macro 'OUTLONG' 1305 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1306:4: note: in expansion of macro 'OUTLONG' 1306 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1306:4: note: in expansion of macro 'OUTLONG' 1306 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1307:4: note: in expansion of macro 'OUTLONG' 1307 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1307:4: note: in expansion of macro 'OUTLONG' 1307 | OUTLONG(FRAME_RATE_SCALE); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1308:4: note: in expansion of macro 'OUTLONG' 1308 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1308:4: note: in expansion of macro 'OUTLONG' 1308 | OUTLONG(frate); /* Rate: Rate/Scale == samples/second */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1309:4: note: in expansion of macro 'OUTLONG' 1309 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1309:4: note: in expansion of macro 'OUTLONG' 1309 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1310:4: note: in expansion of macro 'OUTLONG' 1310 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1310:4: note: in expansion of macro 'OUTLONG' 1310 | OUTLONG(AVI->video_frames); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1311:4: note: in expansion of macro 'OUTLONG' 1311 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1311:4: note: in expansion of macro 'OUTLONG' 1311 | OUTLONG(AVI->max_len); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1312:4: note: in expansion of macro 'OUTLONG' 1312 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1312:4: note: in expansion of macro 'OUTLONG' 1312 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1313:4: note: in expansion of macro 'OUTLONG' 1313 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1313:4: note: in expansion of macro 'OUTLONG' 1313 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1314:4: note: in expansion of macro 'OUTLONG' 1314 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1314:4: note: in expansion of macro 'OUTLONG' 1314 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1315:4: note: in expansion of macro 'OUTLONG' 1315 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1315:4: note: in expansion of macro 'OUTLONG' 1315 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1324:4: note: in expansion of macro 'OUT4CC' 1324 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1324:4: note: in expansion of macro 'OUT4CC' 1324 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1325:4: note: in expansion of macro 'OUTLONG' 1325 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1325:4: note: in expansion of macro 'OUTLONG' 1325 | OUTLONG(40 + xd_size_align2);/* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1326:4: note: in expansion of macro 'OUTLONG' 1326 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1326:4: note: in expansion of macro 'OUTLONG' 1326 | OUTLONG(40 + xd_size); /* Size */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1327:4: note: in expansion of macro 'OUTLONG' 1327 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1327:4: note: in expansion of macro 'OUTLONG' 1327 | OUTLONG(AVI->width); /* Width */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1328:4: note: in expansion of macro 'OUTLONG' 1328 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1328:4: note: in expansion of macro 'OUTLONG' 1328 | OUTLONG(AVI->height); /* Height */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1330:4: note: in expansion of macro 'OUT4CC' 1330 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1330:4: note: in expansion of macro 'OUT4CC' 1330 | OUT4CC (AVI->compressor); /* Compression */ | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1332:4: note: in expansion of macro 'OUTLONG' 1332 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1332:4: note: in expansion of macro 'OUTLONG' 1332 | OUTLONG(AVI->width*AVI->height*3); /* SizeImage (in bytes?) */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1333:4: note: in expansion of macro 'OUTLONG' 1333 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1333:4: note: in expansion of macro 'OUTLONG' 1333 | OUTLONG(0); /* XPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1334:4: note: in expansion of macro 'OUTLONG' 1334 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1334:4: note: in expansion of macro 'OUTLONG' 1334 | OUTLONG(0); /* YPelsPerMeter */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1335:4: note: in expansion of macro 'OUTLONG' 1335 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1335:4: note: in expansion of macro 'OUTLONG' 1335 | OUTLONG(0); /* ClrUsed: Number of colors used */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1336:4: note: in expansion of macro 'OUTLONG' 1336 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1336:4: note: in expansion of macro 'OUTLONG' 1336 | OUTLONG(0); /* ClrImportant: Number of colors important */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1351:8: note: in expansion of macro 'OUT4CC' 1351 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1351:8: note: in expansion of macro 'OUT4CC' 1351 | OUT4CC(AVI->video_superindex->fcc); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1352:8: note: in expansion of macro 'OUTLONG' 1352 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1352:8: note: in expansion of macro 'OUTLONG' 1352 | OUTLONG(2+1+1+4+4+3*4 + AVI->video_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1356:8: note: in expansion of macro 'OUTLONG' 1356 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1356:8: note: in expansion of macro 'OUTLONG' 1356 | OUTLONG(AVI->video_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1357:8: note: in expansion of macro 'OUT4CC' 1357 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1357:8: note: in expansion of macro 'OUT4CC' 1357 | OUT4CC(AVI->video_superindex->dwChunkId); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1358:8: note: in expansion of macro 'OUTLONG' 1358 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1358:8: note: in expansion of macro 'OUTLONG' 1358 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1359:8: note: in expansion of macro 'OUTLONG' 1359 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1359:8: note: in expansion of macro 'OUTLONG' 1359 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1360:8: note: in expansion of macro 'OUTLONG' 1360 | OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1360:8: note: in expansion of macro 'OUTLONG' 1360 | OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1380:12: note: in expansion of macro 'OUTLONG' 1380 | OUTLONG(s); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1380:12: note: in expansion of macro 'OUTLONG' 1380 | OUTLONG(s); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1381:12: note: in expansion of macro 'OUTLONG' 1381 | OUTLONG(r); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1381:12: note: in expansion of macro 'OUTLONG' 1381 | OUTLONG(r); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1382:12: note: in expansion of macro 'OUTLONG' 1382 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1382:12: note: in expansion of macro 'OUTLONG' 1382 | OUTLONG(AVI->video_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1383:12: note: in expansion of macro 'OUTLONG' 1383 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1383:12: note: in expansion of macro 'OUTLONG' 1383 | OUTLONG(AVI->video_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1422:10: note: in expansion of macro 'OUT4CC' 1422 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1422:10: note: in expansion of macro 'OUT4CC' 1422 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1423:10: note: in expansion of macro 'OUTLONG' 1423 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1423:10: note: in expansion of macro 'OUTLONG' 1423 | OUTLONG(0); /* Length of list in bytes, don't know yet */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1425:10: note: in expansion of macro 'OUT4CC' 1425 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1425:10: note: in expansion of macro 'OUT4CC' 1425 | OUT4CC ("strl"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1429:10: note: in expansion of macro 'OUT4CC' 1429 | OUT4CC ("strh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1429:10: note: in expansion of macro 'OUT4CC' 1429 | OUT4CC ("strh"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1430:10: note: in expansion of macro 'OUTLONG' 1430 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1430:10: note: in expansion of macro 'OUTLONG' 1430 | OUTLONG(56); /* # of bytes to follow */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1431:10: note: in expansion of macro 'OUT4CC' 1431 | OUT4CC ("auds"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1431:10: note: in expansion of macro 'OUT4CC' 1431 | OUT4CC ("auds"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1435:10: note: in expansion of macro 'OUTLONG' 1435 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1435:10: note: in expansion of macro 'OUTLONG' 1435 | OUTLONG(0); /* Format (Optionally) */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1438:10: note: in expansion of macro 'OUTLONG' 1438 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1438:10: note: in expansion of macro 'OUTLONG' 1438 | OUTLONG(0); /* Flags */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1439:10: note: in expansion of macro 'OUTLONG' 1439 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1439:10: note: in expansion of macro 'OUTLONG' 1439 | OUTLONG(0); /* Reserved, MS says: wPriority, wLanguage */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1440:10: note: in expansion of macro 'OUTLONG' 1440 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1440:10: note: in expansion of macro 'OUTLONG' 1440 | OUTLONG(0); /* InitialFrames */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1444:14: note: in expansion of macro 'OUTLONG' 1444 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1444:14: note: in expansion of macro 'OUTLONG' 1444 | OUTLONG(nBlockAlign); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1445:14: note: in expansion of macro 'OUTLONG' 1445 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1445:14: note: in expansion of macro 'OUTLONG' 1445 | OUTLONG(AVI->track[j].a_rate); /* Rate */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1446:14: note: in expansion of macro 'OUTLONG' 1446 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1446:14: note: in expansion of macro 'OUTLONG' 1446 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1447:14: note: in expansion of macro 'OUTLONG' 1447 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1447:14: note: in expansion of macro 'OUTLONG' 1447 | OUTLONG(AVI->track[j].audio_chunks); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1448:14: note: in expansion of macro 'OUTLONG' 1448 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1448:14: note: in expansion of macro 'OUTLONG' 1448 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1449:14: note: in expansion of macro 'OUTLONG' 1449 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1449:14: note: in expansion of macro 'OUTLONG' 1449 | OUTLONG(0); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1450:14: note: in expansion of macro 'OUTLONG' 1450 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1450:14: note: in expansion of macro 'OUTLONG' 1450 | OUTLONG(0); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1451:14: note: in expansion of macro 'OUTLONG' 1451 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1451:14: note: in expansion of macro 'OUTLONG' 1451 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1452:14: note: in expansion of macro 'OUTLONG' 1452 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1452:14: note: in expansion of macro 'OUTLONG' 1452 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1454:14: note: in expansion of macro 'OUTLONG' 1454 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1454:14: note: in expansion of macro 'OUTLONG' 1454 | OUTLONG(sampsize/4); /* Scale */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1455:14: note: in expansion of macro 'OUTLONG' 1455 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1455:14: note: in expansion of macro 'OUTLONG' 1455 | OUTLONG(scalerate); /* Rate */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1456:14: note: in expansion of macro 'OUTLONG' 1456 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1456:14: note: in expansion of macro 'OUTLONG' 1456 | OUTLONG(0); /* Start */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1457:14: note: in expansion of macro 'OUTLONG' 1457 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1457:14: note: in expansion of macro 'OUTLONG' 1457 | OUTLONG(4*AVI->track[j].audio_bytes/sampsize); /* Length */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1458:14: note: in expansion of macro 'OUTLONG' 1458 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1458:14: note: in expansion of macro 'OUTLONG' 1458 | OUTLONG(0); /* SuggestedBufferSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1459:14: note: in expansion of macro 'OUTLONG' 1459 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1459:14: note: in expansion of macro 'OUTLONG' 1459 | OUTLONG(0xffffffff); /* Quality */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1460:14: note: in expansion of macro 'OUTLONG' 1460 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1460:14: note: in expansion of macro 'OUTLONG' 1460 | OUTLONG(sampsize/4); /* SampleSize */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1461:14: note: in expansion of macro 'OUTLONG' 1461 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1461:14: note: in expansion of macro 'OUTLONG' 1461 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1462:14: note: in expansion of macro 'OUTLONG' 1462 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1462:14: note: in expansion of macro 'OUTLONG' 1462 | OUTLONG(0); /* Frame */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1467:10: note: in expansion of macro 'OUT4CC' 1467 | OUT4CC ("strf"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1467:10: note: in expansion of macro 'OUT4CC' 1467 | OUT4CC ("strf"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1471:14: note: in expansion of macro 'OUTLONG' 1471 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1471:14: note: in expansion of macro 'OUTLONG' 1471 | OUTLONG(30); /* # of bytes to follow */ // mplayer writes 28 | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1474:14: note: in expansion of macro 'OUTLONG' 1474 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1474:14: note: in expansion of macro 'OUTLONG' 1474 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ // 4 | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1476:14: note: in expansion of macro 'OUTLONG' 1476 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1476:14: note: in expansion of macro 'OUTLONG' 1476 | OUTLONG(1000*AVI->track[j].mp3rate/8); /* maybe we should write an avg. */ // 4 | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1482:14: note: in expansion of macro 'OUTLONG' 1482 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1482:14: note: in expansion of macro 'OUTLONG' 1482 | OUTLONG(2); /* fdwFlags */ // 4 | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1489:14: note: in expansion of macro 'OUTLONG' 1489 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1489:14: note: in expansion of macro 'OUTLONG' 1489 | OUTLONG(30); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1492:14: note: in expansion of macro 'OUTLONG' 1492 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1492:14: note: in expansion of macro 'OUTLONG' 1492 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1494:14: note: in expansion of macro 'OUTLONG' 1494 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1494:14: note: in expansion of macro 'OUTLONG' 1494 | OUTLONG(1000*AVI->track[j].mp3rate/8); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1500:14: note: in expansion of macro 'OUTLONG' 1500 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1500:14: note: in expansion of macro 'OUTLONG' 1500 | OUTLONG(2); /* fdwFlags */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1507:14: note: in expansion of macro 'OUTLONG' 1507 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1507:14: note: in expansion of macro 'OUTLONG' 1507 | OUTLONG(18); /* # of bytes to follow */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1510:14: note: in expansion of macro 'OUTLONG' 1510 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1510:14: note: in expansion of macro 'OUTLONG' 1510 | OUTLONG(AVI->track[j].a_rate); /* SamplesPerSec */ | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1512:14: note: in expansion of macro 'OUTLONG' 1512 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1512:14: note: in expansion of macro 'OUTLONG' 1512 | OUTLONG(avgbsec); /* Avg bytes/sec */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1528:12: note: in expansion of macro 'OUT4CC' 1528 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1528:12: note: in expansion of macro 'OUT4CC' 1528 | OUT4CC(AVI->track[j].audio_superindex->fcc); /* "indx" */ | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1529:12: note: in expansion of macro 'OUTLONG' 1529 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1529:12: note: in expansion of macro 'OUTLONG' 1529 | OUTLONG(2+1+1+4+4+3*4 + AVI->track[j].audio_superindex->nEntriesInUse * (8+4+4)); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1533:12: note: in expansion of macro 'OUTLONG' 1533 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1533:12: note: in expansion of macro 'OUTLONG' 1533 | OUTLONG(AVI->track[j].audio_superindex->nEntriesInUse); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1534:12: note: in expansion of macro 'OUT4CC' 1534 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1534:12: note: in expansion of macro 'OUT4CC' 1534 | OUT4CC(AVI->track[j].audio_superindex->dwChunkId); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1535:12: note: in expansion of macro 'OUTLONG' 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1535:12: note: in expansion of macro 'OUTLONG' 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1535:24: note: in expansion of macro 'OUTLONG' 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1535:24: note: in expansion of macro 'OUTLONG' 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1535:36: note: in expansion of macro 'OUTLONG' 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1535:36: note: in expansion of macro 'OUTLONG' 1535 | OUTLONG(0); OUTLONG(0); OUTLONG(0); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1552:16: note: in expansion of macro 'OUTLONG' 1552 | OUTLONG(s); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1552:16: note: in expansion of macro 'OUTLONG' 1552 | OUTLONG(s); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1553:16: note: in expansion of macro 'OUTLONG' 1553 | OUTLONG(r); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1553:16: note: in expansion of macro 'OUTLONG' 1553 | OUTLONG(r); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1554:16: note: in expansion of macro 'OUTLONG' 1554 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1554:16: note: in expansion of macro 'OUTLONG' 1554 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwSize); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1555:16: note: in expansion of macro 'OUTLONG' 1555 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1555:16: note: in expansion of macro 'OUTLONG' 1555 | OUTLONG(AVI->track[j].audio_superindex->aIndex[k].dwDuration); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1563:8: note: in expansion of macro 'OUT4CC' 1563 | OUT4CC("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1563:8: note: in expansion of macro 'OUT4CC' 1563 | OUT4CC("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1564:8: note: in expansion of macro 'OUTLONG' 1564 | OUTLONG(16); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1564:8: note: in expansion of macro 'OUTLONG' 1564 | OUTLONG(16); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1565:8: note: in expansion of macro 'OUT4CC' 1565 | OUT4CC("odml"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1565:8: note: in expansion of macro 'OUT4CC' 1565 | OUT4CC("odml"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1566:8: note: in expansion of macro 'OUT4CC' 1566 | OUT4CC("dmlh"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1566:8: note: in expansion of macro 'OUT4CC' 1566 | OUT4CC("dmlh"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1567:8: note: in expansion of macro 'OUTLONG' 1567 | OUTLONG(4); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1567:8: note: in expansion of macro 'OUTLONG' 1567 | OUTLONG(4); | ^~~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1568:8: note: in expansion of macro 'OUTLONG' 1568 | OUTLONG(AVI->total_frames); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1568:8: note: in expansion of macro 'OUTLONG' 1568 | OUTLONG(AVI->total_frames); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1579:4: note: in expansion of macro 'OUT4CC' 1579 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1579:4: note: in expansion of macro 'OUT4CC' 1579 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1583:4: note: in expansion of macro 'OUTLONG' 1583 | OUTLONG(info_len); // rewritten later | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1583:4: note: in expansion of macro 'OUTLONG' 1583 | OUTLONG(info_len); // rewritten later | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1584:4: note: in expansion of macro 'OUT4CC' 1584 | OUT4CC ("INFO"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1584:4: note: in expansion of macro 'OUT4CC' 1584 | OUT4CC ("INFO"); | ^~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1586:4: note: in expansion of macro 'OUT4CC' 1586 | OUT4CC ("ISFT"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1586:4: note: in expansion of macro 'OUT4CC' 1586 | OUT4CC ("ISFT"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1594:4: note: in expansion of macro 'OUTLONG' 1594 | OUTLONG(real_id_len); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1594:4: note: in expansion of macro 'OUTLONG' 1594 | OUTLONG(real_id_len); | ^~~~~~~ avilib.c:1600:62: warning: pointer targets in passing argument 2 of 'avi_parse_comments' differ in signedness [-Wpointer-sign] 1600 | info_len = avi_parse_comments (AVI->comment_fd, AVI_header+nhb, HEADERBYTES - nhb - 8 - 12); | ~~~~~~~~~~^~~~ | | | unsigned char * avilib.c:1011:46: note: expected 'char *' but argument is of type 'unsigned char *' 1011 | static int avi_parse_comments (int fd, char *buf, int space_left) | ~~~~~~^~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1634:4: note: in expansion of macro 'OUT4CC' 1634 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1634:4: note: in expansion of macro 'OUT4CC' 1634 | OUT4CC ("JUNK"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1635:4: note: in expansion of macro 'OUTLONG' 1635 | OUTLONG(njunk); | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1635:4: note: in expansion of macro 'OUTLONG' 1635 | OUTLONG(njunk); | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1642:4: note: in expansion of macro 'OUT4CC' 1642 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1642:4: note: in expansion of macro 'OUT4CC' 1642 | OUT4CC ("LIST"); | ^~~~~~ avilib.c:711:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~ avilib.c:1643:4: note: in expansion of macro 'OUTLONG' 1643 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:711:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 711 | if(nhb<=HEADERBYTES-4) long2str(AVI_header+nhb,n); nhb += 4 | ^~~ avilib.c:1643:4: note: in expansion of macro 'OUTLONG' 1643 | OUTLONG(movi_len); /* Length of list in bytes */ | ^~~~~~~ avilib.c:708:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~ avilib.c:1644:4: note: in expansion of macro 'OUT4CC' 1644 | OUT4CC ("movi"); | ^~~~~~ avilib.c:708:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if(nhb<=HEADERBYTES-4) memcpy(AVI_header+nhb,s,4); nhb += 4 | ^~~ avilib.c:1644:4: note: in expansion of macro 'OUT4CC' 1644 | OUT4CC ("movi"); | ^~~~~~ avilib.c:1669:22: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 1669 | long2str(f, len); | ^ | | | char * avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c:1675:22: warning: pointer targets in passing argument 1 of 'long2str' differ in signedness [-Wpointer-sign] 1675 | long2str(f, len); | ^ | | | char * avilib.c:115:37: note: expected 'unsigned char *' but argument is of type 'char *' 115 | static void long2str(unsigned char *dst, int32_t n) | ~~~~~~~~~~~~~~~^~~ avilib.c: In function 'avi_write_data': avilib.c:1733:50: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 1733 | n = avi_add_chunk(AVI,(unsigned char *)astr,data,length); | ^~~~ | | | char * avilib.c:181:73: note: expected 'unsigned char *' but argument is of type 'char *' 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c:1735:52: warning: pointer targets in passing argument 3 of 'avi_add_chunk' differ in signedness [-Wpointer-sign] 1735 | n = avi_add_chunk(AVI,(unsigned char *)"00db",data,length); | ^~~~ | | | char * avilib.c:181:73: note: expected 'unsigned char *' but argument is of type 'char *' 181 | static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int length) | ~~~~~~~~~~~~~~~^~~~ avilib.c: In function 'avi_parse_input_file': avilib.c:2359:41: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2359 | else if (strncasecmp (hdrl_data+i,"iavs",4) ==0 && ! auds_strh_seen) { | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/string.h:462: /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2367:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2367 | else if(strncasecmp(hdrl_data+i,"dmlh",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2444:36: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2444 | else if(strncasecmp(hdrl_data+i,"indx",4) == 0) { | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2451:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2451 | a = hdrl_data+i; | ^ avilib.c:2455:55: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2455 | AVI->video_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2456:64: warning: pointer targets in passing argument 1 of 'str2ushort' differ in signedness [-Wpointer-sign] 2456 | AVI->video_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * avilib.c:145:43: note: expected 'unsigned char *' but argument is of type 'char *' 145 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2459:62: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2459 | AVI->video_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2472:72: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2472 | AVI->video_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * avilib.c:134:43: note: expected 'unsigned char *' but argument is of type 'char *' 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2473:69: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2473 | AVI->video_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2474:73: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2474 | AVI->video_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2504:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 2504 | a = hdrl_data+i; | ^ avilib.c:2508:72: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2508 | AVI->track[AVI->aptr].audio_superindex->dwSize = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2509:81: warning: pointer targets in passing argument 1 of 'str2ushort' differ in signedness [-Wpointer-sign] 2509 | AVI->track[AVI->aptr].audio_superindex->wLongsPerEntry = str2ushort(a); a += 2; | ^ | | | char * avilib.c:145:43: note: expected 'unsigned char *' but argument is of type 'char *' 145 | static uint32_t str2ushort(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2512:79: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2512 | AVI->track[AVI->aptr].audio_superindex->nEntriesInUse = str2ulong(a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2526:89: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2526 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; | ^ | | | char * avilib.c:134:43: note: expected 'unsigned char *' but argument is of type 'char *' 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2527:86: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2527 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2528:90: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2528 | AVI->track[AVI->aptr].audio_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; | ^ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2552:37: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2552 | else if((strncasecmp(hdrl_data+i,"JUNK",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2553:37: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2553 | (strncasecmp(hdrl_data+i,"strn",4) == 0) || | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2554:37: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 2554 | (strncasecmp(hdrl_data+i,"vprp",4) == 0)){ | ~~~~~~~~~^~ | | | unsigned char * /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'unsigned char *' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:2724:35: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2724 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2728:33: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2728 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:134:43: note: expected 'unsigned char *' but argument is of type 'char *' 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2741:58: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2741 | AVI->video_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2742:53: warning: pointer targets in passing argument 1 of 'str2ulong_len' differ in signedness [-Wpointer-sign] 2742 | AVI->video_index[k].len = str2ulong_len(en); | ^~ | | | char * avilib.c:151:47: note: expected 'unsigned char *' but argument is of type 'char *' 151 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2743:53: warning: pointer targets in passing argument 1 of 'str2ulong_key' differ in signedness [-Wpointer-sign] 2743 | AVI->video_index[k].key = str2ulong_key(en); en += 4; | ^~ | | | char * avilib.c:158:47: note: expected 'unsigned char *' but argument is of type 'char *' 158 | static uint32_t str2ulong_key (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2803:38: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2803 | nrEntries = str2ulong(en + 12); | ~~~^~~~ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2808:36: warning: pointer targets in passing argument 1 of 'str2ullong' differ in signedness [-Wpointer-sign] 2808 | offset = str2ullong(en + 20); | ~~~^~~~ | | | char * avilib.c:134:43: note: expected 'unsigned char *' but argument is of type 'char *' 134 | static uint64_t str2ullong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2817:74: warning: pointer targets in passing argument 1 of 'str2ulong' differ in signedness [-Wpointer-sign] 2817 | AVI->track[audtr].audio_index[k].pos = offset + str2ulong(en); en += 4; | ^~ | | | char * avilib.c:141:42: note: expected 'unsigned char *' but argument is of type 'char *' 141 | static uint32_t str2ulong(unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c:2818:69: warning: pointer targets in passing argument 1 of 'str2ulong_len' differ in signedness [-Wpointer-sign] 2818 | AVI->track[audtr].audio_index[k].len = str2ulong_len(en); en += 4; | ^~ | | | char * avilib.c:151:47: note: expected 'unsigned char *' but argument is of type 'char *' 151 | static uint32_t str2ulong_len (unsigned char *str) | ~~~~~~~~~~~~~~~^~~ avilib.c: In function 'AVI_read_audio': avilib.c:3292:40: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 3292 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int int64_t {aka long int} | %ld avilib.c:3292:52: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t' {aka 'long int'} [-Wformat=] 3292 | fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); | ~~~^ ~~~ | | | | long long int int64_t {aka long int} | %ld avilib.c: In function 'AVI_read_wave_header': avilib.c:3527:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 3527 | if( strncasecmp(wave->riff.id , "RIFF",4) != 0 || | ~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:3528:31: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 3528 | strncasecmp(wave->riff.wave_id, "WAVE",4) != 0 || | ~~~~~~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c:3529:33: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] 3529 | strncasecmp(wave->format.id , "fmt ",4) != 0 ) | ~~~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} /usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ avilib.c: In function 'avi_parse_index_from_file': avilib.c:2112:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2112 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ avilib.c:2120:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2120 | fgets(data, 100, fd); | ^~~~~~~~~~~~~~~~~~~~ avilib.c: In function 'avi_add_odml_index_entry.constprop': avilib.c:405:29: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 3 [-Wformat-overflow=] 405 | sprintf(fcc, "ix%02d", AVI->aptr+1); | ^~~~ avilib.c:405:26: note: directive argument in the range [-2147483647, 2147483647] 405 | sprintf(fcc, "ix%02d", AVI->aptr+1); | ^~~~~~~~ In file included from /usr/include/stdio.h:906, from avilib.h:30: In function 'sprintf', inlined from 'avi_add_odml_index_entry.constprop' at avilib.c:405:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ avilib.c: In function 'AVI_write_frame': avilib.c:1718:28: warning: '%1d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ In function 'avi_write_data', inlined from 'AVI_write_frame' at avilib.c:1750:6: avilib.c:1718:26: note: directive argument in the range [-2147483647, 2147483647] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In function 'sprintf', inlined from 'avi_write_data' at avilib.c:1718:4, inlined from 'AVI_write_frame' at avilib.c:1750:6: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 15 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ avilib.c: In function 'AVI_write_audio': avilib.c:1718:28: warning: '%1d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ In function 'avi_write_data', inlined from 'AVI_write_audio' at avilib.c:1773:8: avilib.c:1718:26: note: directive argument in the range [-2147483647, 2147483647] 1718 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In function 'sprintf', inlined from 'avi_write_data' at avilib.c:1718:4, inlined from 'AVI_write_audio' at avilib.c:1773:8: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 15 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'avidump.c' || echo './'`avidump.c avidump.c: In function 'dump_vals': avidump.c:336:39: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 336 | printf("\t%-12s = 0x%016llx\n",names[i].name,val64); | ~~~~~~^ ~~~~~ | | | | | off_t {aka long int} | long long unsigned int | %016lx avidump.c: In function 'ProcessChunk': avidump.c:595:49: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] 595 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); | ^ avidump.c:595:49: note: add parentheses around the second 'sizeof' to silence this warning avidump.c:209:12: note: array 'names_strf_auds' declared here 209 | struct VAL names_strf_auds[] = { | ^~~~~~~~~~~~~~~ avidump.c:604:45: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] 604 | dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); | ^ avidump.c:604:45: note: add parentheses around the second 'sizeof' to silence this warning avidump.c:209:12: note: array 'names_strf_auds' declared here 209 | struct VAL names_strf_auds[] = { | ^~~~~~~~~~~~~~~ avidump.c:608:50: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] 608 | long chunks=*chunksize-sizeof(names_indx)/sizeof(char*); | ^ avidump.c:608:50: note: add parentheses around the second 'sizeof' to silence this warning avidump.c:237:12: note: array 'names_indx' declared here 237 | struct VAL names_indx[] = { | ^~~~~~~~~~ avidump.c:613:40: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] 613 | dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); | ^ avidump.c:613:40: note: add parentheses around the second 'sizeof' to silence this warning avidump.c:237:12: note: array 'names_indx' declared here 237 | struct VAL names_indx[] = { | ^~~~~~~~~~ avidump.c:623:41: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 623 | printf("\t\t [%6ld] 0x%016llx 0x%08lx %8d\n", u++, offset, size, | ~~~~~~^ ~~~~~~ | | | | long long unsigned int off_t {aka long int} | %016lx avidump.c:633:52: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] 633 | long chunks=*chunksize-sizeof(names_stdidx)/sizeof(char*); | ^ avidump.c:633:52: note: add parentheses around the second 'sizeof' to silence this warning avidump.c:248:12: note: array 'names_stdidx' declared here 248 | struct VAL names_stdidx[] = { | ^~~~~~~~~~~~ avidump.c:637:42: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] 637 | dump_vals(fd,sizeof(names_stdidx)/sizeof(char*),names_stdidx); | ^ avidump.c:637:42: note: add parentheses around the second 'sizeof' to silence this warning avidump.c:248:12: note: array 'names_stdidx' declared here 248 | struct VAL names_stdidx[] = { | ^~~~~~~~~~~~ avidump.c:474:11: warning: variable 'tt' set but not used [-Wunused-but-set-variable] 474 | off_t tt; | ^~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'avimisc.c' || echo './'`avimisc.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -funroll-loops -ffast-math -DLINUX -Wall -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'xio.c' || echo './'`xio.c rm -f libavi.a ar cru libavi.a avilib.o avidump.o avimisc.o xio.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libavi.a make[2]: Leaving directory '/build/ogmtools-1.5/avilib' make[2]: Entering directory '/build/ogmtools-1.5' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o ogmmerge.o `test -f 'ogmmerge.cpp' || echo './'`ogmmerge.cpp In file included from ogmmerge.cpp:29: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:30: r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 65 | char *nfourcc) throw (error_c); | ^~~~~ In file included from r_avi.h:31, from ogmmerge.cpp:31: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 70 | char* nav_seek) throw (error_c); | ^~~~~ In file included from r_wav.h:31, from ogmmerge.cpp:32: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 44 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_srt.h:27, from ogmmerge.cpp:33: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c); | ^~~~~ r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_mp3.h:31, from ogmmerge.cpp:34: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_ac3.h:26, from ogmmerge.cpp:35: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | char **ncomments) throw (error_c); | ^~~~~ In file included from ogmmerge.cpp:36: r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | char **ncomments) throw (error_c); | ^~~~~ ogmmerge.cpp:85:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | {{"---", TYPEUNKNOWN, ""}, | ^~~~~ ogmmerge.cpp:85:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | {{"---", TYPEUNKNOWN, ""}, | ^~~~~~~~~~~ ogmmerge.cpp:86:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | {"demultiplexers:", -1, ""}, | ^~~~~~~~~~~~~~~~~ ogmmerge.cpp:86:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 86 | {"demultiplexers:", -1, ""}, | ^~ ogmmerge.cpp:87:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, | ^~~~~ ogmmerge.cpp:87:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 87 | {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:88:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, | ^~~~~ ogmmerge.cpp:88:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 88 | {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:89:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, | ^~~~~ ogmmerge.cpp:89:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 89 | {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:90:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | {"srt", TYPEWAV, "SRT text subtitles"}, | ^~~~~ ogmmerge.cpp:90:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | {"srt", TYPEWAV, "SRT text subtitles"}, | ^~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:91:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, | ^~~~~ ogmmerge.cpp:91:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:95:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, | ^~~~~ ogmmerge.cpp:95:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 95 | {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, | ^~~~~ ogmmerge.cpp:96:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | {"ac3", TYPEAC3, "A/52 (aka AC3)"}, | ^~~~~~~~~~~~~~~~ ogmmerge.cpp:97:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | {"output modules:", -1, ""}, | ^~~~~~~~~~~~~~~~~ ogmmerge.cpp:97:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | {"output modules:", -1, ""}, | ^~ ogmmerge.cpp:98:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | {" ", -1, "Vorbis audio"}, | ^~~~~ ogmmerge.cpp:98:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 98 | {" ", -1, "Vorbis audio"}, | ^~~~~~~~~~~~~~ ogmmerge.cpp:99:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | {" ", -1, "Video (not MPEG1/2)"}, | ^~~~~ ogmmerge.cpp:99:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 99 | {" ", -1, "Video (not MPEG1/2)"}, | ^~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:100:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | {" ", -1, "uncompressed PCM audio"}, | ^~~~~ ogmmerge.cpp:100:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | {" ", -1, "uncompressed PCM audio"}, | ^~~~~~~~~~~~~~~~~~~~~~~~ ogmmerge.cpp:101:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | {" ", -1, "text subtitles"}, | ^~~~~ ogmmerge.cpp:101:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | {" ", -1, "text subtitles"}, | ^~~~~~~~~~~~~~~~ ogmmerge.cpp:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | {" ", -1, "MP3 audio"}, | ^~~~~ ogmmerge.cpp:105:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | {" ", -1, "MP3 audio"}, | ^~~~~~~~~~~ ogmmerge.cpp:106:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | {" ", -1, "AC3 audio"}, | ^~~~~ ogmmerge.cpp:106:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | {" ", -1, "AC3 audio"}, | ^~~~~~~~~~~ ogmmerge.cpp: In function 'int main(int, char**)': ogmmerge.cpp:973:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 973 | if ((result = write_ogg_page(mpage, "header ", file)) != 0) | ^~~~~~~~~ ogmmerge.cpp:1009:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1009 | if ((result = write_ogg_page(mpage, "comment ", file)) != 0) | ^~~~~~~~~~ ogmmerge.cpp:1071:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1071 | if ((result = write_ogg_page(mpage, "", winner)) != 0) | ^~ ogmmerge.cpp:930:13: warning: variable 'page' set but not used [-Wunused-but-set-variable] 930 | ogg_page *page; | ^~~~ ogmmerge.cpp:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 935 | nice(2); | ~~~~^~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_avi.o `test -f 'r_avi.cpp' || echo './'`r_avi.cpp In file included from r_avi.cpp:28: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from r_avi.h:31, from r_avi.cpp:29: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_avi.h:70:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 70 | char* nav_seek) throw (error_c); | ^~~~~ In file included from r_avi.cpp:31: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_avi.cpp:32: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_avi.cpp:33: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_avi.cpp:58:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | char* nav_seek) throw (error_c) { | ^~~~~ r_avi.cpp: In constructor 'avi_reader_c::avi_reader_c(char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*, char*)': r_avi.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | throw error_c("avi_reader: fname == NULL !?"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | throw error_c("avi_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | throw error_c("avi_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | throw error_c("avi_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp:77:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | throw error_c("avi_reader: Source is not a valid AVI file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_avi.cpp: In member function 'virtual int avi_reader_c::read()': r_avi.cpp:400:7: warning: 'nread' may be used uninitialized [-Wmaybe-uninitialized] 400 | if (nread > 0) { | ^~ r_avi.cpp:339:7: note: 'nread' was declared here 339 | int nread, key, last_frame; | ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_ogm.o `test -f 'r_ogm.cpp' || echo './'`r_ogm.cpp In file included from r_ogm.cpp:26: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from r_ogm.cpp:27: r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 65 | char *nfourcc) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:28: p_vorbis.h:40:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | throw (error_c); | ^~~~~ In file included from r_ogm.cpp:29: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:30: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:31: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:32: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ In file included from r_ogm.cpp:33: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_ogm.cpp:63:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 63 | char **ncomments, char *nfourcc) throw (error_c) { | ^~~~~ r_ogm.cpp: In constructor 'ogm_reader_c::ogm_reader_c(char*, unsigned char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*)': r_ogm.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | throw error_c("ogm_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | throw error_c("ogm_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | throw error_c("ogm_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp:74:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | throw error_c("ogm_reader: Source is not a valid OGG media file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ogm.cpp: In member function 'virtual void ogm_reader_c::process_page(ogg_page*)': r_ogm.cpp:651:22: warning: 'lenbytes' may be used uninitialized [-Wmaybe-uninitialized] 650 | ((textsubs_packetizer_c *)dmx->packetizer)-> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 651 | process(op.granulepos, op.granulepos + lenbytes, subs, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 652 | op.e_o_s); | ~~~~~~~~~ r_ogm.cpp:539:18: note: 'lenbytes' was declared here 539 | long lenbytes; | ^~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_ac3.o `test -f 'r_ac3.cpp' || echo './'`r_ac3.cpp In file included from r_ac3.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from r_ac3.h:26, from r_ac3.cpp:26: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_ac3.h:39:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | char **ncomments) throw (error_c); | ^~~~~ r_ac3.cpp:58:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 58 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_ac3.cpp: In constructor 'ac3_reader_c::ac3_reader_c(char*, audio_sync_t*, range_t*, char**)': r_ac3.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | throw error_c("ac3_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | throw error_c("ac3_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | throw error_c("ac3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:74:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | throw error_c("ac3_reader: Could not read 4096 bytes."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:76:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | throw error_c("ac3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_ac3.cpp:79:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | throw error_c("ac3_reader: No valid AC3 packet found in the first " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | "4096 bytes.\n"); | ~~~~~~~~~~~~~~~ r_ac3.cpp: In member function 'virtual void ac3_reader_c::display_progress()': r_ac3.cpp:143:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 144 | bytes_processed, size, | ~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} r_ac3.cpp:143:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 143 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 144 | bytes_processed, size, | ~~~~ | | | off_t {aka long int} g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_mp3.o `test -f 'r_mp3.cpp' || echo './'`r_mp3.cpp In file included from r_mp3.cpp:26: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from r_mp3.h:31, from r_mp3.cpp:27: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_mp3.h:43:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | char **ncomments) throw (error_c); | ^~~~~ r_mp3.cpp:63:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 63 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_mp3.cpp: In constructor 'mp3_reader_c::mp3_reader_c(char*, audio_sync_t*, range_t*, char**)': r_mp3.cpp:70:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | throw error_c("mp3_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:72:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | throw error_c("mp3_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:75:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | throw error_c("mp3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:80:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | throw error_c("mp3_reader: Could not read 4096 bytes."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:82:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | throw error_c("mp3_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_mp3.cpp:85:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 85 | throw error_c("mp3_reader: No valid MP3 packet found in the first " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | "4096 bytes.\n"); | ~~~~~~~~~~~~~~~ r_mp3.cpp: In member function 'virtual void mp3_reader_c::display_progress()': r_mp3.cpp:152:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 153 | bytes_processed, size, | ~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} r_mp3.cpp:152:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 152 | fprintf(stdout, "progress: %lld/%lld bytes (%d%%)\r", | ~~~^ | | | long long int | %ld 153 | bytes_processed, size, | ~~~~ | | | off_t {aka long int} g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_wav.o `test -f 'r_wav.cpp' || echo './'`r_wav.cpp In file included from r_wav.cpp:31: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from r_wav.h:31, from r_wav.cpp:32: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ r_wav.h:44:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 44 | char **ncomments) throw (error_c); | ^~~~~ r_wav.cpp:53:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 53 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_wav.cpp: In constructor 'wav_reader_c::wav_reader_c(char*, audio_sync_t*, range_t*, char**)': r_wav.cpp:59:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 59 | throw error_c("wav_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | throw error_c("wav_reader: Could not seek to end of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:64:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | throw error_c("wav_reader: Could not seek to beginning of file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:66:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | throw error_c("wav_reader: Source is not a valid WAVE file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_wav.cpp:68:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 68 | throw error_c("wav_reader: could not read WAVE header."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_microdvd.o `test -f 'r_microdvd.cpp' || echo './'`r_microdvd.cpp In file included from r_microdvd.cpp:27: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from r_microdvd.h:27, from r_microdvd.cpp:28: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c); | ^~~~~ r_microdvd.h:38:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | char **ncomments) throw (error_c); | ^~~~~ r_microdvd.cpp:59:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 59 | throw (error_c) { | ^~~~~ r_microdvd.cpp: In constructor 'microdvd_reader_c::microdvd_reader_c(char*, audio_sync_t*, range_t*, char**)': r_microdvd.cpp:61:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | throw error_c("microdvd_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_microdvd.cpp:63:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | throw error_c("microdvd_reader: Source is not a valid MicroDVD file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_srt.o `test -f 'r_srt.cpp' || echo './'`r_srt.cpp In file included from r_srt.cpp:27: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from r_srt.h:27, from r_srt.cpp:28: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c); | ^~~~~ r_srt.h:38:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | char **ncomments) throw (error_c); | ^~~~~ r_srt.cpp:65:63: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 65 | range_t *nrange, char **ncomments) throw (error_c) { | ^~~~~ r_srt.cpp: In constructor 'srt_reader_c::srt_reader_c(char*, audio_sync_t*, range_t*, char**)': r_srt.cpp:67:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 67 | throw error_c("srt_reader: Could not open source file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ r_srt.cpp:69:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | throw error_c("srt_reader: Source is not a valid SRT file."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o r_vobsub.o `test -f 'r_vobsub.cpp' || echo './'`r_vobsub.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_video.o `test -f 'p_video.cpp' || echo './'`p_video.cpp In file included from p_video.cpp:26: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from p_video.cpp:27: p_video.h:38:59: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ p_video.cpp:34:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | throw (error_c) : q_c() { | ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_index.o `test -f 'p_index.cpp' || echo './'`p_index.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_ac3.o `test -f 'p_ac3.cpp' || echo './'`p_ac3.cpp In file included from p_ac3.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from p_ac3.cpp:27: p_ac3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ p_ac3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c) : q_c() { | ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_mp3.o `test -f 'p_mp3.cpp' || echo './'`p_mp3.cpp In file included from p_mp3.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from p_mp3.cpp:27: p_mp3.h:43:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ p_mp3.cpp:33:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c) : q_c() { | ^~~~~ p_mp3.cpp: In member function 'virtual int mp3_packetizer_c::process(char*, int, int)': p_mp3.cpp:236:33: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 236 | "packet number %lld)\n", packetno - 2); | ~~~^ ~~~~~~~~~~~~ | | | | long long int u_int64_t {aka long unsigned int} | %ld g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_pcm.o `test -f 'p_pcm.cpp' || echo './'`p_pcm.cpp In file included from p_pcm.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from p_pcm.cpp:26: p_pcm.h:40:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | range_t *nrange, char **ncomments) throw (error_c); | ^~~~~ p_pcm.cpp:32:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 32 | char **ncomments) throw (error_c) : q_c() { | ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_vorbis.o `test -f 'p_vorbis.cpp' || echo './'`p_vorbis.cpp In file included from p_vorbis.cpp:27: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from p_vorbis.cpp:28: r_ogm.h:65:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 65 | char *nfourcc) throw (error_c); | ^~~~~ In file included from p_vorbis.cpp:29: p_vorbis.h:40:25: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 40 | throw (error_c); | ^~~~~ p_vorbis.cpp:33:60: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c) | ^~~~~ p_vorbis.cpp: In member function 'virtual int vorbis_packetizer_c::encode_silence(int)': p_vorbis.cpp:94:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | write(fd, log.header, log.header_len); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_vorbis.cpp:95:10: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | write(fd, log.body, log.body_len); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_vorbis.cpp:115:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | write(fd, log.header, log.header_len); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p_vorbis.cpp:116:16: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | write(fd, log.body, log.body_len); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_textsubs.o `test -f 'p_textsubs.cpp' || echo './'`p_textsubs.cpp In file included from p_textsubs.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ In file included from p_textsubs.cpp:27: p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c); | ^~~~~ p_textsubs.cpp:32:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 32 | throw (error_c) : q_c() { | ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o p_vobsub.o `test -f 'p_vobsub.cpp' || echo './'`p_vobsub.cpp In file included from p_vobsub.cpp:25: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'ac3_common.c' || echo './'`ac3_common.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'mp3_common.c' || echo './'`mp3_common.c mp3_common.c: In function 'find_mp3_header': mp3_common.c:42:32: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 42 | ((header & 0xffffff00) == FOURCC('I', 'D', '3', ' '))) | ^~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o subtitles.o `test -f 'subtitles.cpp' || echo './'`subtitles.cpp In file included from p_textsubs.h:21, from subtitles.h:23, from subtitles.cpp:22: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ p_textsubs.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | char **ncomments) throw (error_c); | ^~~~~ subtitles.cpp: In member function 'int subtitles_c::check()': subtitles.cpp:78:54: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" | ~~~~~^ | | | long long int | %02ld 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", 80 | current->end / (60 * 60 * 1000), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:78:61: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" | ~~~~~^ | | | long long int | %02ld ...... 81 | (current->end / (60 * 1000)) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:78:68: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" | ~~~~~^ | | | long long int | %02ld ...... 82 | (current->end / 1000) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:78:75: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 78 | "the next one starts. This end: %02lld:%02lld:%02lld,%03lld" | ~~~~~^ | | | long long int | %03ld ...... 83 | current->end % 1000, | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:79:37: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ | | | long long int | %02ld ...... 84 | current->next->start / (60 * 60 * 1000), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:79:44: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ | | | long long int | %02ld ...... 85 | (current->next->start / (60 * 1000)) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:79:51: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ | | | long long int | %02ld ...... 86 | (current->next->start / 1000) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:79:58: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 79 | " next start: %02lld:%02lld:%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ | | | long long int | %03ld ...... 87 | current->next->start % 1000, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:109:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ | | | long long int | %02ld 110 | "%02lld,%03lld (\"%s\"...)\n", 111 | current->start / (60 * 60 * 1000), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:109:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ | | | long long int | %02ld ...... 112 | (current->start / (60 * 1000)) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:109:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ | | | long long int | %02ld ...... 113 | (current->start / 1000) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:109:44: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ | | | long long int | %03ld ...... 114 | current->start % 1000, | ~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:109:62: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ | | | long long int | %02ld ...... 115 | current->end / (60 * 60 * 1000), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:109:69: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 109 | "%02lld:%02lld:%02lld,%03lld this end: %02lld:%02lld:" | ~~~~~^ | | | long long int | %02ld ...... 116 | (current->end / (60 * 1000)) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:110:23: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 110 | "%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ | | | long long int | %02ld ...... 117 | (current->end / 1000) % 60, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} subtitles.cpp:110:30: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 110 | "%02lld,%03lld (\"%s\"...)\n", | ~~~~~^ | | | long long int | %03ld ...... 118 | current->end % 1000, | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o queue.o `test -f 'queue.cpp' || echo './'`queue.cpp In file included from queue.cpp:22: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ queue.cpp:24:12: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 24 | q_c::q_c() throw (error_c) : generic_packetizer_c() { | ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'vorbis_header_utils.c' || echo './'`vorbis_header_utils.c g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o generic.o `test -f 'generic.cpp' || echo './'`generic.cpp generic.cpp: In function 'vorbis_comment* chapter_information_adjust(vorbis_comment*, double, double)': generic.cpp:231:58: warning: '%03d' directive writing between 3 and 4 bytes into a region of size between 0 and 5 [-Wformat-overflow=] 231 | sprintf(new_chapter, "CHAPTER%02d=%02d:%02d:%02d.%03d", chapter, | ^~~~ generic.cpp:231:30: note: directive argument in the range [-999, 999] 231 | sprintf(new_chapter, "CHAPTER%02d=%02d:%02d:%02d.%03d", chapter, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from ogmmerge.h:20, from generic.cpp:23: In function 'int sprintf(char*, const char*, ...)', inlined from 'vorbis_comment* chapter_information_adjust(vorbis_comment*, double, double)' at generic.cpp:231:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 23 and 37 bytes into a destination of size 24 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'common.c' || echo './'`common.c g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -Wl,-z,relro -o ogmmerge ogmmerge.o r_avi.o r_ogm.o r_ac3.o r_mp3.o r_wav.o r_microdvd.o r_srt.o r_vobsub.o p_video.o p_index.o p_ac3.o p_mp3.o p_pcm.o p_vorbis.o p_textsubs.o p_vobsub.o ac3_common.o mp3_common.o subtitles.o queue.o vorbis_header_utils.o generic.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -lvorbisenc -Lavilib -lavi gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'ogmdemux.c' || echo './'`ogmdemux.c ogmdemux.c: In function 'process_ogm': ogmdemux.c:355:42: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 355 | if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from ogmdemux.c:15: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ogmdemux.c:384:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 384 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, | ~^ | | | int | %ld 385 | strlen(basename) + 20); | ~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ogmdemux.c:413:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 413 | !strncmp(&pack.packet[1],"Direct Show Samples embedded in " | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ogmdemux.c:460:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 460 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, | ~^ | | | int | %ld 461 | strlen(basename) + 20); | ~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ogmdemux.c:502:29: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 502 | fprintf(stdout, "(%s) (a%d/%d) codec: %d (0x%04x) (%s), bits per " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 510 | get_uint64(&sth.samples_per_unit)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogmdemux.c:503:71: note: format string is defined here 503 | "sample: %d channels: %hd samples per second: %lld", | ~~~^ | | | long long int | %ld ogmdemux.c:526:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 526 | strncpy(stream->wh.riff.id, "RIFF", 4); | ~~~~~~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} In file included from /usr/include/features.h:489, from /usr/include/errno.h:25, from ogmdemux.c:11: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ogmdemux.c:527:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 527 | strncpy(stream->wh.riff.wave_id, "WAVE", 4); | ~~~~~~~~~~~~~~~^~~~~~~~ | | | uint8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ogmdemux.c:528:36: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 528 | strncpy(stream->wh.format.id, "fmt ", 4); | ~~~~~~~~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ogmdemux.c:542:34: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 542 | strncpy(stream->wh.data.id, "data", 4); | ~~~~~~~~~~~~~~~^~~ | | | uint8_t * {aka unsigned char *} /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ ogmdemux.c:547:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 547 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, | ~^ | | | int | %ld 548 | strlen(basename) + 30); | ~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ogmdemux.c:595:57: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 595 | fprintf(stderr, "(%s) Failed to allocate %d bytes.\n", __FILE__, | ~^ | | | int | %ld 596 | strlen(basename) + 10); | ~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} ogmdemux.c: In function 'main': ogmdemux.c:713:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 713 | xaudio = (char *)malloc(1); | ^ ogmdemux.c:714:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 714 | xvideo = (char *)malloc(1); | ^ ogmdemux.c:715:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 715 | xtext = (char *)malloc(1); | ^ ogmdemux.c:755:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 755 | l = strlen(xaudio); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ogmdemux.c:774:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 774 | l = strlen(xvideo); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ogmdemux.c:793:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 793 | l = strlen(xtext); | ^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ogmdemux.c: In function 'process_ogm': ogmdemux.c:566:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 566 | write(stream->fd, &stream->wh, sizeof(stream->wh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:688:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 688 | write(stream->fd, &stream->wh, sizeof(stream->wh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c: In function 'main': ogmdemux.c:711:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 711 | nice(2); | ^~~~~~~ ogmdemux.c: In function 'process_ogm': ogmdemux.c:526:11: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 526 | strncpy(stream->wh.riff.id, "RIFF", 4); | ^ ogmdemux.c:527:11: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 527 | strncpy(stream->wh.riff.wave_id, "WAVE", 4); | ^ ogmdemux.c:528:11: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 528 | strncpy(stream->wh.format.id, "fmt ", 4); | ^ ogmdemux.c:542:11: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 542 | strncpy(stream->wh.data.id, "data", 4); | ^ ogmdemux.c:566:15: warning: 'write' reading 44 bytes from a region of size 4 [-Wstringop-overread] 566 | write(stream->fd, &stream->wh, sizeof(stream->wh)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ogmdemux.c:23: avilib/avilib.h:406:11: note: source object 'id' of size 4 406 | uint8_t id[4]; /* RIFF */ | ^~ In file included from ogmdemux.c:18: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o ogmdemux ogmdemux.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm -Lavilib -lavi gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'ogminfo.c' || echo './'`ogminfo.c ogminfo.c: In function 'dump_streamheader': ogminfo.c:114:19: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 114 | fprintf(stdout, "(%s) (%c%d/serial %d) Full stream_header dump: {" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 122 | get_uint64(&sth->time_unit), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogminfo.c:116:27: note: format string is defined here 116 | "time_unit = %lld, samples_per_unit = %lld, default_len = %d, " | ~~~^ | | | long long int | %ld ogminfo.c:114:19: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 114 | fprintf(stdout, "(%s) (%c%d/serial %d) Full stream_header dump: {" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 123 | get_uint64(&sth->samples_per_unit), get_uint32(&sth->default_len), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogminfo.c:116:52: note: format string is defined here 116 | "time_unit = %lld, samples_per_unit = %lld, default_len = %d, " | ~~~^ | | | long long int | %ld ogminfo.c: In function 'handle_packet': ogminfo.c:173:40: warning: pointer targets in passing argument 2 of 'vorbis_unpack_comment' differ in signedness [-Wpointer-sign] 173 | if (vorbis_unpack_comment(&vc, pack->packet, pack->bytes) != 0) | ~~~~^~~~~~~~ | | | unsigned char * In file included from ogminfo.c:25: vorbis_header_utils.h:11:53: note: expected 'char *' but argument is of type 'unsigned char *' 11 | int vorbis_unpack_comment(vorbis_comment *vc, char *buf, int len); | ~~~~~~^~~ ogminfo.c:193:62: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 193 | fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ", | ~~~~~~^ | | | long long int | % 10ld 194 | __FILE__, stream->sno, pack->bytes, ogg_page_granulepos(page), | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogminfo.c:193:75: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 193 | fprintf(stdout, "(%s) a%d: % 7ld bytes granulepos: % 10lld pno: % 10lld ", | ~~~~~~^ | | | long long int | % 10ld 194 | __FILE__, stream->sno, pack->bytes, ogg_page_granulepos(page), 195 | pack->packetno); | ~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogminfo.c:223:65: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 223 | fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " | ~~~~~~^ | | | long long int | % 10ld 224 | "10lld ", __FILE__, stream->stype, stream->sno, n, 225 | ogg_page_granulepos(page), pack->packetno); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogminfo.c:223:23: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 223 | fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | "10lld ", __FILE__, stream->stype, stream->sno, n, 225 | ogg_page_granulepos(page), pack->packetno); | ~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogminfo.c:224:20: note: format string is defined here 223 | fprintf(stdout, "(%s) %c%d: % 7ld bytes granulepos: % 10lld pno: % " | ~~~ 224 | "10lld ", __FILE__, stream->stype, stream->sno, n, | ~~~~~^ | | | long long int ogminfo.c: In function 'process_ogm': ogminfo.c:287:49: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'long int' [-Wformat=] 287 | fprintf(stdout, "(%s) NEW PAGE pos: % 12lld, len: % 12ld, body_len: " | ~~~~~~^ | | | long long int | % 12ld 288 | "% 12ld\n", __FILE__, pagebytesread - pageseek, pageseek, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ogminfo.c:299:40: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 299 | if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from ogminfo.c:15: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ogminfo.c:325:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 325 | !strncmp(&pack.packet[1],"Direct Show Samples embedded in Ogg", | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ ogminfo.c:378:25: warning: format '%lld' expects argument of type 'long long int', but argument 11 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 378 | fprintf(stdout, "(%s) (a%d/serial %d) codec: %d (0x%04x) (%s) bits " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 387 | get_uint64(&sth.samples_per_unit), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogminfo.c:379:70: note: format string is defined here 379 | "per sample: %d channels: %d samples per second: %lld" | ~~~^ | | | long long int | %ld ogminfo.c:468:57: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long int' [-Wformat=] 468 | fprintf(stdout, "(%s) %c%d: NEW PAGE pos: % 12lld, len: % 12ld, " | ~~~~~~^ | | | long long int | % 12ld 469 | "body_len: % 12ld\n", 470 | __FILE__, stream->stype, stream->sno, pagebytesread - pageseek, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ogminfo.c:510:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 510 | fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " | ~~~^ | | | long long unsigned int | %lu ...... 513 | stream->serial, stream->size, | ~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogminfo.c:510:23: warning: format '%lld' expects argument of type 'long long int', but argument 10 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 510 | fprintf(stdout, "(%s) (%c%d/serial %d) stream size: %llu bytes (%.3f " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 516 | stream->num_packets, now); | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogminfo.c:511:58: note: format string is defined here 511 | "kbit/s, %.3f KB/s), number of packets: %lld, length in " | ~~~^ | | | long long int | %ld ogminfo.c: In function 'main': ogminfo.c:525:3: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 525 | nice(2); | ^~~~~~~ gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o ogminfo ogminfo.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o ogmsplit.o `test -f 'ogmsplit.cpp' || echo './'`ogmsplit.cpp In file included from ogmsplit.cpp:28: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ ogmsplit.cpp: In function 'void print_progress(ogg_int64_t, ogg_int64_t, char*)': ogmsplit.cpp:192:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 192 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ | | | long long int | %ld 193 | current, num, current * 100 / num); | ~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:192:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 192 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ | | | long long int | %ld 193 | current, num, current * 100 / num); | ~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:192:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 192 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ | | | long long int | %ld 193 | current, num, current * 100 / num); | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:195:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 195 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ | | | long long int | %ld 196 | current, num, current * 100 / num); | ~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:195:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 195 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ | | | long long int | %ld 196 | current, num, current * 100 / num); | ~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:195:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 195 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ | | | long long int | %ld 196 | current, num, current * 100 / num); | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp: In function 'void process_ogm(int)': ogmsplit.cpp:675:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 675 | print_progress(0, file_size, "bytes"); | ^~~~~~~ ogmsplit.cpp:677:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 677 | print_progress(0, vstream->num_frames, "frame"); | ^~~~~~~ ogmsplit.cpp:752:66: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 752 | fprintf(stdout, "(%s) Split point: %d, frameno: %lld, " | ~~~^ | | | long long int | %ld 753 | "bytes: %lld, start: %02d:%02d:%02d.%03d\n", __FILE__, 754 | num_splitpoints - 1, stream->granulepos, | ~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:753:34: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 753 | "bytes: %lld, start: %02d:%02d:%02d.%03d\n", __FILE__, | ~~~^ | | | long long int | %ld 754 | num_splitpoints - 1, stream->granulepos, 755 | bwritten + get_queued_bytes(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:792:69: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 792 | fprintf(stdout, "\n(%s) Closing file after writing %lld bytes " | ~~~^ | | | long long int | %ld ...... 795 | bwritten, bwritten_all, | ~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:793:28: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 793 | "(%lld bytes written in all files), %02d:%02d:%02d.%03d " | ~~~^ | | | long long int | %ld 794 | "in this file (%02d:%02d:%02d.%03d elapsed).\n", __FILE__, 795 | bwritten, bwritten_all, | ~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:847:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 847 | print_progress(stream->cur_frame, stream->num_frames, "frame"); | ^~~~~~~ ogmsplit.cpp:882:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 882 | print_progress(bread, file_size, "bytes"); | ^~~~~~~ ogmsplit.cpp:896:59: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 896 | fprintf(stdout, "(%s) Closing file after writing %lld bytes " | ~~~^ | | | long long int | %ld ...... 899 | bwritten, bwritten_all, | ~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:897:20: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 897 | "(%lld bytes written in all files), %02d:%02d:%02d.%03d " | ~~~^ | | | long long int | %ld 898 | "in this file (%02d:%02d:%02d.%03d elapsed).\n", __FILE__, 899 | bwritten, bwritten_all, | ~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmsplit.cpp:920:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 920 | print_progress(vstream->cur_frame, vstream->num_frames, "frame"); | ^~~~~~~ ogmsplit.cpp:924:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 924 | print_progress(file_size, file_size, "bytes"); | ^~~~~~~ ogmsplit.cpp: In function 'int main(int, char**)': ogmsplit.cpp:1141:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1141 | fout_ext = "ogm"; | ^~~~~ ogmsplit.cpp:1162:31: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 1162 | fprintf(stdout, "%lldbytes.\n", split_bytes); | ~~~^ ~~~~~~~~~~~ | | | | | ogg_int64_t {aka long int} | long long int | %ld ogmsplit.cpp:935:7: warning: ignoring return value of 'int nice(int)' declared with attribute 'warn_unused_result' [-Wunused-result] 935 | nice(2); | ~~~~^~~ In file included from /usr/include/fcntl.h:314, from ogmsplit.cpp:13: In function 'int open(const char*, int, ...)', inlined from 'int main(int, char**)' at ogmsplit.cpp:1183:16: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:53:27: warning: 'fin_name' may be used uninitialized [-Wmaybe-uninitialized] 53 | return __open_alias (__path, __oflag, __va_arg_pack ()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmsplit.cpp: In function 'int main(int, char**)': ogmsplit.cpp:932:16: note: 'fin_name' was declared here 932 | char *fin_name, *b, *fout_name = NULL; | ^~~~~~~~ g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -Wl,-z,relro -o ogmsplit ogmsplit.o queue.o generic.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -c -o ogmcat.o `test -f 'ogmcat.cpp' || echo './'`ogmcat.cpp In file included from ogmcat.cpp:27: queue.h:39:11: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | q_c() throw (error_c); | ^~~~~ ogmcat.cpp: In function 'void print_progress(ogg_int64_t, ogg_int64_t, char*)': ogmcat.cpp:162:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ | | | long long int | %ld 163 | current, num, current * 100 / num); | ~~~~~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:162:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ | | | long long int | %ld 163 | current, num, current * 100 / num); | ~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:162:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 162 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\n", s, | ~~~^ | | | long long int | %ld 163 | current, num, current * 100 / num); | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:165:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ | | | long long int | %ld 166 | current, num, current * 100 / num); | ~~~~~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:165:44: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ | | | long long int | %ld 166 | current, num, current * 100 / num); | ~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:165:50: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 165 | fprintf(stdout, "Processing %s %lld/%lld (%lld%%)\r", s, | ~~~^ | | | long long int | %ld 166 | current, num, current * 100 / num); | ~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp: In function 'void check_all_sources()': ogmcat.cpp:636:68: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 636 | " serial %d, type audio, samples per second %lld != " | ~~~^ | | | long long int | %ld 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, 638 | get_uint64(&str->sth.samples_per_unit), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogmcat.cpp:637:25: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 637 | "%lld\n", __FILE__, sources->name, src->name, str->serial, | ~~~^ | | | long long int | %ld 638 | get_uint64(&str->sth.samples_per_unit), 639 | get_uint64(&stream->sth.samples_per_unit)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogmcat.cpp:671:58: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 671 | " serial %d, type text, time unit %lld != %lld\n", | ~~~^ | | | long long int | %ld 672 | __FILE__, sources->name, src->name, str->serial, 673 | get_uint64(&str->sth.time_unit), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogmcat.cpp:671:66: warning: format '%lld' expects argument of type 'long long int', but argument 8 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 671 | " serial %d, type text, time unit %lld != %lld\n", | ~~~^ | | | long long int | %ld ...... 674 | get_uint64(&stream->sth.time_unit)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | u_int64_t {aka long unsigned int} ogmcat.cpp: In function 'void process_ogms()': ogmcat.cpp:815:52: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 815 | fprintf(stdout, "len: %d at pno %lld p0 %d\n", lenbytes, | ~~~^ | | | long long int | %ld 816 | stream->packetno, (int)pack.packet[0]); | ~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:865:70: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 865 | fprintf(stdout, "Stream %d, type %s, current granulepos %lld", | ~~~^ | | | long long int | %ld ...... 871 | stream->this_granulepos); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:873:53: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 873 | fprintf(stdout, ", granulepos offset %lld (including manual sync " | ~~~^ | | | long long int | %ld 874 | "%lld)", stream->granuleposadd, manual_sync_granule); | ~~~~~~~~~~~~~~~~~~~~~ | | | ogg_int64_t {aka long int} ogmcat.cpp:874:25: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'ogg_int64_t' {aka 'long int'} [-Wformat=] 874 | "%lld)", stream->granuleposadd, manual_sync_granule); | ~~~^ ~~~~~~~~~~~~~~~~~~~ | | | | long long int ogg_int64_t {aka long int} | %ld ogmcat.cpp:852:58: warning: 'vtime4' may be used uninitialized [-Wmaybe-uninitialized] 852 | stream->granuleposadd = (ogg_int64_t)(vtime4 * stream->sample_rate | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:700:37: note: 'vtime4' was declared here 700 | double vtime2, vtime3, vtime4; | ^~~~~~ ogmcat.cpp:849:58: warning: 'vtime3' may be used uninitialized [-Wmaybe-uninitialized] 849 | stream->granuleposadd = (ogg_int64_t)(vtime3 * stream->sample_rate | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:700:29: note: 'vtime3' was declared here 700 | double vtime2, vtime3, vtime4; | ^~~~~~ ogmcat.cpp:846:58: warning: 'vtime2' may be used uninitialized [-Wmaybe-uninitialized] 846 | stream->granuleposadd = (ogg_int64_t)(vtime2 * stream->sample_rate | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:700:21: note: 'vtime2' was declared here 700 | double vtime2, vtime3, vtime4; | ^~~~~~ g++ -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu++14 -Wl,-z,relro -o ogmcat ogmcat.o queue.o generic.o vorbis_header_utils.o common.o -L/usr/lib -logg -L/usr/lib -lvorbis -lm gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_LIBDVDREAD=1 -DHAVE_LIBDVDREAD_INC=1 -DHAVE_FSEEKO=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -I. -I. -I/usr/include -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -c `test -f 'dvdxchap.c' || echo './'`dvdxchap.c gcc -Wall -Wno-sign-compare -I/usr/include -I/usr/include -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/ogmtools-1.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o dvdxchap dvdxchap.o -L/usr/lib -ldvdread -lm make[2]: Leaving directory '/build/ogmtools-1.5' make[1]: Leaving directory '/build/ogmtools-1.5' touch debian/stamp-makefile-build CDBS WARNING: DEB_MAKE_CHECK_TARGET unset, not running checks fakeroot debian/rules binary test -x debian/rules dh_testroot dh_prep dh_installdirs -A dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) mkdir -p "." set -e; set -e; CDBS WARNING: DEB_MAKE_CHECK_TARGET unset, not running checks /usr/bin/make -C . install DESTDIR=/build/ogmtools-1.5/debian/ogmtools/ make[1]: Entering directory '/build/ogmtools-1.5' Making install in avilib make[2]: Entering directory '/build/ogmtools-1.5/avilib' make[3]: Entering directory '/build/ogmtools-1.5/avilib' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/ogmtools-1.5/avilib' make[2]: Leaving directory '/build/ogmtools-1.5/avilib' make[2]: Entering directory '/build/ogmtools-1.5' make[3]: Entering directory '/build/ogmtools-1.5' /bin/sh ./mkinstalldirs /build/ogmtools-1.5/debian/ogmtools//usr/bin /usr/bin/install -c ogmmerge /build/ogmtools-1.5/debian/ogmtools//usr/bin/ogmmerge /usr/bin/install -c ogmdemux /build/ogmtools-1.5/debian/ogmtools//usr/bin/ogmdemux /usr/bin/install -c ogminfo /build/ogmtools-1.5/debian/ogmtools//usr/bin/ogminfo /usr/bin/install -c ogmsplit /build/ogmtools-1.5/debian/ogmtools//usr/bin/ogmsplit /usr/bin/install -c ogmcat /build/ogmtools-1.5/debian/ogmtools//usr/bin/ogmcat /usr/bin/install -c dvdxchap /build/ogmtools-1.5/debian/ogmtools//usr/bin/dvdxchap /bin/sh ./mkinstalldirs /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1 mkdir -p -- /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1 /usr/bin/install -c -m 644 ./ogmsplit.1 /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1/ogmsplit.1 /usr/bin/install -c -m 644 ./ogminfo.1 /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1/ogminfo.1 /usr/bin/install -c -m 644 ./ogmmerge.1 /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1/ogmmerge.1 /usr/bin/install -c -m 644 ./ogmdemux.1 /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1/ogmdemux.1 /usr/bin/install -c -m 644 ./ogmcat.1 /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1/ogmcat.1 /usr/bin/install -c -m 644 ./dvdxchap.1 /build/ogmtools-1.5/debian/ogmtools//usr/share/man/man1/dvdxchap.1 make[3]: Leaving directory '/build/ogmtools-1.5' make[2]: Leaving directory '/build/ogmtools-1.5' make[1]: Leaving directory '/build/ogmtools-1.5' touch debian/stamp-makefile-install Adding cdbs dependencies to debian/ogmtools.substvars dh_installdirs -pogmtools \ dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs -pogmtools ./README ./TODO dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installexamples -pogmtools dh_installexamples: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman -pogmtools dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installinfo -pogmtools dh_installinfo: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installmenu -pogmtools dh_installcron -pogmtools dh_systemd_enable -pogmtools dh_systemd_enable: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installinit -pogmtools dh_installinit: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdebconf -pogmtools dh_installemacsen -pogmtools dh_installcatalogs -pogmtools dh_installpam -pogmtools dh_installpam: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installlogrotate -pogmtools dh_installlogcheck -pogmtools dh_installchangelogs -pogmtools ./ChangeLog dh_installudev -pogmtools dh_lintian -pogmtools dh_bugfiles -pogmtools dh_install -pogmtools dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_systemd_start -pogmtools dh_systemd_start: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_link -pogmtools dh_installmime -pogmtools dh_installgsettings -pogmtools dh_strip -pogmtools dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip_nondeterminism -pogmtools dh_compress -pogmtools dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms -pogmtools dh_makeshlibs -pogmtools dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdeb -pogmtools dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl -pogmtools dh_shlibdeps -pogmtools dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol -pogmtools # only call dh_scour for packages in main if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -pogmtools ; fi dh_md5sums -pogmtools dh_builddeb -pogmtools dpkg-deb: building package 'ogmtools' in '../ogmtools_1.5-4.1_amd64.deb'. dpkg-deb: building package 'ogmtools-dbgsym' in '../ogmtools-dbgsym_1.5-4.1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ogmtools_1.5-4.1_amd64.buildinfo dpkg-genchanges --build=binary -O../ogmtools_1.5-4.1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/3563433 and its subdirectories I: Current time: Tue May 9 19:28:58 -12 2023 I: pbuilder-time-stamp: 1683703738