Diff of the two buildlogs: -- --- b1/build.log 2023-05-17 03:20:12.685161301 +0000 +++ b2/build.log 2023-05-17 03:22:10.340010239 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 16 15:17:42 -12 2023 -I: pbuilder-time-stamp: 1684293462 +I: Current time: Wed May 17 17:20:21 +14 2023 +I: pbuilder-time-stamp: 1684293621 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./libmpeg3_1.8.dfsg.orig.tar.bz2] I: copying [./libmpeg3_1.8.dfsg-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Aug 24 21:42:17 2021 -12 +gpgv: Signature made Wed Aug 25 23:42:17 2021 +14 gpgv: using RSA key 7405E745574809734800156DB65019C47F7A36F8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libmpeg3_1.8.dfsg-3.dsc: no acceptable signature found @@ -37,135 +37,167 @@ dpkg-source: info: applying header-comment-fix.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29058/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21464/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 17 17:20 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/21464/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21464/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='86a479bab01640eca89f404a67d9031e' - 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='29058' - PS1='# ' - PS2='> ' + INVOCATION_ID=4003e46062864a849d83f5e078194d73 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=21464 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.1DWhCjAR/pbuilderrc_MkEb --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.1DWhCjAR/b1 --logfile b1/build.log libmpeg3_1.8.dfsg-3.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1DWhCjAR/pbuilderrc_zS6X --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1DWhCjAR/b2 --logfile b2/build.log --extrapackages usrmerge libmpeg3_1.8.dfsg-3.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32c 5.10.0-23-armmp-lpae #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 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 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 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 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21: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 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 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 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 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 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21: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/29058/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 17 17:20 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/21464/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -235,7 +267,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main armhf debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main armhf liba52-0.7.4 armhf 0.7.4-20 [28.5 kB] Get: 32 http://deb.debian.org/debian bookworm/main armhf liba52-0.7.4-dev armhf 0.7.4-20 [44.7 kB] -Fetched 18.1 MB in 1s (16.2 MB/s) +Fetched 18.1 MB in 0s (40.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19329 files and directories currently installed.) @@ -377,8 +409,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/libmpeg3-1.8.dfsg/ && 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 > ../libmpeg3_1.8.dfsg-3_source.changes +I: user script /srv/workspace/pbuilder/21464/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/21464/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/libmpeg3-1.8.dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libmpeg3_1.8.dfsg-3_source.changes dpkg-buildpackage: info: source package libmpeg3 dpkg-buildpackage: info: source version 1.8.dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -388,9 +431,9 @@ debian/rules clean dh clean -Smakefile dh_auto_clean -O-Smakefile - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/libmpeg3-1.8.dfsg' -rm -rf armv7l +rm -rf aarch64 make[1]: Leaving directory '/build/libmpeg3-1.8.dfsg' dh_clean -O-Smakefile debian/rules binary @@ -399,25 +442,13 @@ dh_autoreconf -O-Smakefile dh_auto_configure -O-Smakefile dh_auto_build -O-Smakefile - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/libmpeg3-1.8.dfsg' -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/ac3.c -o armv7l/audio/ac3.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/dct.c -o armv7l/audio/dct.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/huffman.c -o armv7l/audio/huffman.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer2.c -o armv7l/audio/layer2.o -audio/ac3.c: In function 'mpeg3audio_doac3': -audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] - 117 | frame, - | ^~~~~ - | | - | char * -In file included from audio/ac3.c:5: -/usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, - | ~~~~~~~~~~^~~ -audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] - 107 | int frame_size, - | ~~~~^~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/ac3.c -o aarch64/audio/ac3.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/dct.c -o aarch64/audio/dct.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/huffman.c -o aarch64/audio/huffman.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer2.c -o aarch64/audio/layer2.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer3.c -o aarch64/audio/layer3.o audio/layer2.c: In function 'step_two': audio/layer2.c:283:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 283 | if(ba = *bita++) @@ -444,7 +475,19 @@ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer3.c -o armv7l/audio/layer3.o +audio/ac3.c: In function 'mpeg3audio_doac3': +audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] + 117 | frame, + | ^~~~~ + | | + | char * +In file included from audio/ac3.c:5: +/usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, + | ~~~~~~~~~~^~~ +audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] + 107 | int frame_size, + | ~~~~^~~~~~~~~~ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:53:21: warning: unused parameter 'ch' [-Wunused-parameter] 53 | int ch, @@ -551,15 +594,7 @@ audio/layer3.c:1513:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1513 | if(layer_data->samplerate != 0 && | ^~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/mpeg3audio.c -o armv7l/audio/mpeg3audio.o -audio/layer3.c: In function 'dequantize_sample': -audio/layer3.c:679:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds] - 679 | while(xrpnt < &xr[SBLIMIT][0]) - | ^~~~~~~~~~~~~~~ -audio/layer3.c:235:23: note: at offset 2304 into object 'xr' of size [0, 2304] - 235 | float xr[SBLIMIT][SSLIMIT], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/pcm.c -o armv7l/audio/pcm.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/mpeg3audio.c -o aarch64/audio/mpeg3audio.o audio/mpeg3audio.c: In function 'read_frame': audio/mpeg3audio.c:362:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_doac3' differ in signedness [-Wpointer-sign] 362 | audio->packet_buffer, @@ -621,18 +656,26 @@ audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/pcm.c -o aarch64/audio/pcm.o +audio/layer3.c: In function 'dequantize_sample': +audio/layer3.c:679:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds] + 679 | while(xrpnt < &xr[SBLIMIT][0]) + | ^~~~~~~~~~~~~~~ +audio/layer3.c:235:23: note: at offset 2304 into object 'xr' of size [0, 2304] + 235 | float xr[SBLIMIT][SSLIMIT], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/synthesizers.c -o aarch64/audio/synthesizers.o audio/pcm.c: In function 'mpeg3audio_dopcm': audio/pcm.c:71:64: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 71 | unsigned char *input = frame + | ^~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/synthesizers.c -o armv7l/audio/synthesizers.o audio/synthesizers.c: In function 'mpeg3audio_synth_stereo': audio/synthesizers.c:36:9: warning: implicit declaration of function 'mpeg3audio_dct64'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] 36 | mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); | ^~~~~~~~~~~~~~~~ | mpeg3audio_dopcm -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/tables.c -o armv7l/audio/tables.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT libmpeg3.c -o armv7l/libmpeg3.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/tables.c -o aarch64/audio/tables.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT libmpeg3.c -o aarch64/libmpeg3.o audio/tables.c: In function 'init_layer2': audio/tables.c:138:39: warning: unused parameter 'audio' [-Wunused-parameter] 138 | static int init_layer2(mpeg3_layer_t *audio) @@ -705,8 +748,7 @@ libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3atrack.c -o armv7l/mpeg3atrack.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o armv7l/mpeg3bits.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3atrack.c -o aarch64/mpeg3atrack.o mpeg3atrack.c: In function 'mpeg3_new_atrack': mpeg3atrack.c:22:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] 22 | mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); @@ -716,11 +758,12 @@ mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) | ~~~~~~~~~^~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o aarch64/mpeg3bits.o mpeg3bits.c: In function 'mpeg3bits_read_buffer': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3css_fake.c -o armv7l/mpeg3css_fake.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3css_fake.c -o aarch64/mpeg3css_fake.o mpeg3css_fake.c: In function 'mpeg3_delete_css': mpeg3css_fake.c:11:35: warning: unused parameter 'css' [-Wunused-parameter] 11 | int mpeg3_delete_css(mpeg3_css_t *css) @@ -742,13 +785,8 @@ mpeg3css_fake.c:21:71: warning: unused parameter 'offset' [-Wunused-parameter] 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) | ~~~~^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o armv7l/mpeg3demux.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o armv7l/mpeg3ifo.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3io.c -o armv7l/mpeg3io.o -mpeg3io.c: In function 'mpeg3io_read_buffer': -mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] - 177 | int result; - | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o aarch64/mpeg3demux.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o aarch64/mpeg3ifo.o mpeg3demux.c: In function 'get_transport_pes_packet': mpeg3demux.c:302:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 302 | if((demuxer->custom_id == demuxer->astream && @@ -759,13 +797,6 @@ mpeg3demux.c:364:40: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 364 | if((demuxer->custom_id == demuxer->vstream && | ^~ -mpeg3io.c:167:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 167 | fread(fs->buffer, 1, remainder_start, fs->fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mpeg3io.c: In function 'mpeg3io_complete_path': -mpeg3io.c:211:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 211 | getcwd(current_dir, MPEG3_STRLEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'read_transport': mpeg3demux.c:633:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 633 | if(demuxer->adaptation_field_control & 0x1) @@ -802,7 +833,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ -mpeg3ifo.c: In function 'program_map': mpeg3demux.c:1379:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1379 | if(demuxer->custom_id == demuxer->astream && | ^~ @@ -811,12 +841,60 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ -mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 265 | *ptr = pgc; - | ^ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ +mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] + 1446 | mpeg3_t *file = demuxer->file; + | ^~~~ +mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] + 1445 | int count = 0; + | ^~~~~ +mpeg3demux.c: In function 'mpeg3_seek_phys': +mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] + 1679 | if(!demuxer->titles) return 1; + | ^ +In file included from libmpeg3.h:8, + from mpeg3demux.c:1: +mpeg3private.h:393:24: note: 'titles' declared here + 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; + | ^~~~~~ +mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] + 1719 | int got_it = 0; + | ^~~~~~ +mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] + 1718 | int64_t last_byte = demuxer->program_byte; + | ^~~~~~~~~ +mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] + 1716 | int last_cell = demuxer->title_cell; + | ^~~~~~~~~ +mpeg3demux.c: In function 'next_code': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3io.c -o aarch64/mpeg3io.o +mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] + 1753 | mpeg3_fs_t *fd = title->fs; + | ^~ +mpeg3demux.c: In function 'mpeg3_read_next_packet': +mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] + 1782 | int current_position; + | ^~~~~~~~~~~~~~~~ +mpeg3demux.c: In function 'prev_code': +mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] + 1922 | mpeg3_fs_t *fd = title->fs; + | ^~ +mpeg3demux.c: In function 'mpeg3demux_copy_titles': +mpeg3demux.c:2198:17: warning: implicit declaration of function 'mpeg3_copy_title'; did you mean 'mpeg3_new_title'? [-Wimplicit-function-declaration] + 2198 | mpeg3_copy_title(dst_title, src_title); + | ^~~~~~~~~~~~~~~~ + | mpeg3_new_title +mpeg3demux.c: In function 'mpeg3_new_demuxer': +mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] + 2213 | int i; + | ^ +mpeg3ifo.c: In function 'program_map': +mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 265 | *ptr = pgc; + | ^ mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; | ^ @@ -835,25 +913,24 @@ mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) | ^~~~~~~~~~~ +mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3ifo.c: In function 'celladdresses': -mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^~~~~~~~~~~~~~~ -mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] - 1446 | mpeg3_t *file = demuxer->file; - | ^~~~ +mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] + 2461 | int i, j; + | ^ mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ -mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] - 1445 | int count = 0; - | ^~~~~ +mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] + 2461 | int i, j; + | ^ mpeg3ifo.c: In function 'finaltable': mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3_seek_phys': mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~~~ @@ -863,14 +940,6 @@ mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] 629 | int output_cell = 0; | ^~~~~~~~~~~ -mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] - 1679 | if(!demuxer->titles) return 1; - | ^ -In file included from libmpeg3.h:8, - from mpeg3demux.c:1: -mpeg3private.h:393:24: note: 'titles' declared here - 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; - | ^~~~~~ mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~~~~~~ @@ -880,16 +949,10 @@ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] - 1719 | int got_it = 0; - | ^~~~~~ mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ -mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] - 1718 | int64_t last_byte = demuxer->program_byte; - | ^~~~~~~~~ mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~~ @@ -899,37 +962,6 @@ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ -mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] - 1716 | int last_cell = demuxer->title_cell; - | ^~~~~~~~~ -mpeg3demux.c: In function 'next_code': -mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] - 1753 | mpeg3_fs_t *fd = title->fs; - | ^~ -mpeg3demux.c: In function 'mpeg3_read_next_packet': -mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] - 1782 | int current_position; - | ^~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'prev_code': -mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] - 1922 | mpeg3_fs_t *fd = title->fs; - | ^~ -mpeg3demux.c: In function 'mpeg3demux_copy_titles': -mpeg3demux.c:2198:17: warning: implicit declaration of function 'mpeg3_copy_title'; did you mean 'mpeg3_new_title'? [-Wimplicit-function-declaration] - 2198 | mpeg3_copy_title(dst_title, src_title); - | ^~~~~~~~~~~~~~~~ - | mpeg3_new_title -mpeg3demux.c: In function 'mpeg3_new_demuxer': -mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] - 2213 | int i; - | ^ -mpeg3demux.c: In function 'mpeg3_absolute_to_program': -mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] - 2461 | int i, j; - | ^ -mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] - 2461 | int i, j; - | ^ mpeg3demux.c: In function 'mpeg3demux_scan_pts': mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] 2414 | } @@ -938,16 +970,27 @@ mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ +mpeg3io.c: In function 'mpeg3io_read_buffer': +mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] + 177 | int result; + | ^~~~~~ +mpeg3io.c:167:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 167 | fread(fs->buffer, 1, remainder_start, fs->fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3io.c: In function 'mpeg3io_complete_path': +mpeg3io.c:211:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 211 | getcwd(current_dir, MPEG3_STRLEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c: In function 'get_ifo_playlist.constprop': mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] 359 | strncpy(vob_prefix, filename, 6); | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o armv7l/mpeg3strack.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o aarch64/mpeg3strack.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o aarch64/mpeg3title.o mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o armv7l/mpeg3title.o mpeg3title.c: In function 'extend_cell_table': mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] 82 | int i; @@ -981,12 +1024,25 @@ mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] 185 | mpeg3_t *file = title->file; | ^~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3tocutil.c -o armv7l/mpeg3tocutil.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3vtrack.c -o armv7l/mpeg3vtrack.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3tocutil.c -o aarch64/mpeg3tocutil.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3vtrack.c -o aarch64/mpeg3vtrack.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o aarch64/video/getpicture.o mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:112:1: warning: no return statement in function returning non-void [-Wreturn-type] 112 | } | ^ +mpeg3vtrack.c: In function 'mpeg3_new_vtrack': +mpeg3vtrack.c:19:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] + 19 | mpeg3demux_copy_titles(new_vtrack->demuxer, demuxer); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3demux_open_title +mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] + 11 | int result = 0; + | ^~~~~~ +mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': +mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] + 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) + | ~~~~~~~~~^~~~ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:336:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 336 | int string_len = 0; @@ -998,6 +1054,10 @@ 140 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': +mpeg3vtrack.c: At top level: +mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] + 70 | static int last_keyframe = 0; + | ^~~~~~~~~~~~~ mpeg3tocutil.c:526:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 526 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ @@ -1050,22 +1110,6 @@ mpeg3tocutil.c:1193:33: warning: unused variable 'atrack' [-Wunused-variable] 1193 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ -mpeg3vtrack.c: In function 'mpeg3_new_vtrack': -mpeg3vtrack.c:19:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] - 19 | mpeg3demux_copy_titles(new_vtrack->demuxer, demuxer); - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3demux_open_title -mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] - 11 | int result = 0; - | ^~~~~~ -mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': -mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] - 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) - | ~~~~~~~~~^~~~ -mpeg3vtrack.c: At top level: -mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] - 70 | static int last_keyframe = 0; - | ^~~~~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:738:1: warning: control reaches end of non-void function [-Wreturn-type] 738 | } @@ -1074,11 +1118,6 @@ mpeg3tocutil.c:1159:1: warning: control reaches end of non-void function [-Wreturn-type] 1159 | } | ^ -mpeg3tocutil.c: At top level: -mpeg3tocutil.c:10:14: warning: 'test_file' defined but not used [-Wunused-variable] - 10 | static FILE *test_file = 0; - | ^~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o armv7l/video/getpicture.o video/getpicture.c: In function 'mpeg3video_get_macroblocks': video/getpicture.c:534:25: warning: implicit declaration of function 'mpeg3_new_slice_buffer'; did you mean 'mpeg3io_sync_buffer'? [-Wimplicit-function-declaration] 534 | mpeg3_new_slice_buffer(&(video->slice_buffers[video->slice_buffers_initialized++])); @@ -1087,6 +1126,10 @@ video/getpicture.c:546:33: warning: implicit declaration of function 'mpeg3_expand_slice_buffer' [-Wimplicit-function-declaration] 546 | mpeg3_expand_slice_buffer(slice_buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3tocutil.c: At top level: +mpeg3tocutil.c:10:14: warning: 'test_file' defined but not used [-Wunused-variable] + 10 | static FILE *test_file = 0; + | ^~~~~~~~~ video/getpicture.c:517:22: warning: unused variable 'code' [-Wunused-variable] 517 | unsigned int code; | ^~~~ @@ -1108,42 +1151,7 @@ video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] 721 | mpeg3video_display_second_field(video); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'handle_scrambling', - inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, - inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: -mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] - 777 | if(mpeg3_decrypt_packet(title->fs->css, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 778 | buffer_ptr, - | ~~~~~~~~~~~ - 779 | decryption_offset)) - | ~~~~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3demux_read_program': -mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here - 1091 | int decryption_offset; - | ^~~~~~~~~~~~~~~~~ -video/getpicture.c: In function 'mpeg3video_getinterblock': -video/getpicture.c:293:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 293 | if(j != 0) - | ^ -video/getpicture.c:219:21: note: 'j' was declared here - 219 | int val, i, j, sign; - | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': -video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 411 | if(j != 0) - | ^ -video/getpicture.c:308:21: note: 'j' was declared here - 308 | int val, i, j, sign, nc; - | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2interblock': -video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 506 | if(j != 0) - | ^ -video/getpicture.c:426:21: note: 'j' was declared here - 426 | int val, i, j, sign, nc; - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/headers.c -o armv7l/video/headers.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/headers.c -o aarch64/video/headers.o video/headers.c: In function 'mpeg3video_getseqhdr': video/headers.c:16:13: warning: variable 'constrained_parameters_flag' set but not used [-Wunused-but-set-variable] 16 | int constrained_parameters_flag; @@ -1264,9 +1272,45 @@ video/headers.c:521:48: warning: variable 'intra_slice' set but not used [-Wunused-but-set-variable] 521 | int slice_vertical_position_extension, intra_slice; | ^~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/idct.c -o armv7l/video/idct.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o armv7l/video/macroblocks.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o armv7l/video/mmxtest.o +In function 'handle_scrambling', + inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, + inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: +mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] + 777 | if(mpeg3_decrypt_packet(title->fs->css, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 778 | buffer_ptr, + | ~~~~~~~~~~~ + 779 | decryption_offset)) + | ~~~~~~~~~~~~~~~~~~ +mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here + 1091 | int decryption_offset; + | ^~~~~~~~~~~~~~~~~ +video/getpicture.c: In function 'mpeg3video_getinterblock': +video/getpicture.c:293:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 293 | if(j != 0) + | ^ +video/getpicture.c:219:21: note: 'j' was declared here + 219 | int val, i, j, sign; + | ^ +video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': +video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 411 | if(j != 0) + | ^ +video/getpicture.c:308:21: note: 'j' was declared here + 308 | int val, i, j, sign, nc; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/idct.c -o aarch64/video/idct.o +video/getpicture.c: In function 'mpeg3video_getmpg2interblock': +video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 506 | if(j != 0) + | ^ +video/getpicture.c:426:21: note: 'j' was declared here + 426 | int val, i, j, sign, nc; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o aarch64/video/macroblocks.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o aarch64/video/mmxtest.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/motion.c -o aarch64/video/motion.o video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; @@ -1277,7 +1321,7 @@ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/motion.c -o armv7l/video/motion.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3cache.c -o aarch64/video/mpeg3cache.o video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, @@ -1286,10 +1330,10 @@ video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3cache.c -o armv7l/video/mpeg3cache.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3video.c -o armv7l/video/mpeg3video.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o armv7l/video/output.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/reconstruct.c -o armv7l/video/reconstruct.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3video.c -o aarch64/video/mpeg3video.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o aarch64/video/output.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/reconstruct.c -o aarch64/video/reconstruct.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o aarch64/video/seek.o video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -1305,11 +1349,68 @@ video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ +video/output.c: In function 'mpeg3video_ditherframe': +video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] + 141 | int uv_subscript, step, w = -1; + | ^~~~ +video/output.c: In function 'mpeg3video_ditherframe444': +video/output.c:281:45: warning: unused parameter 'video' [-Wunused-parameter] + 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:281:67: warning: unused parameter 'src' [-Wunused-parameter] + 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'mpeg3video_dithertop444': +video/output.c:291:43: warning: unused parameter 'video' [-Wunused-parameter] + 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:291:65: warning: unused parameter 'src' [-Wunused-parameter] + 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'mpeg3video_ditherbot': +video/output.c:296:40: warning: unused parameter 'video' [-Wunused-parameter] + 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:296:62: warning: unused parameter 'src' [-Wunused-parameter] + 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ video/mpeg3video.c: In function 'mpeg3video_delete_struct': +video/output.c: In function 'mpeg3video_ditherbot444': video/mpeg3video.c:251:25: warning: implicit declaration of function 'mpeg3_delete_slice_decoder'; did you mean 'mpeg3_delete_demuxer'? [-Wimplicit-function-declaration] 251 | mpeg3_delete_slice_decoder(&(video->slice_decoders[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_delete_demuxer +video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] + 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~^~~~~ +video/output.c:301:65: warning: unused parameter 'src' [-Wunused-parameter] + 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) + | ~~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'memcpy_fast': +video/output.c:308:16: warning: unused variable 'len2' [-Wunused-variable] + 308 | int i, len2; + | ^~~~ +video/output.c:308:13: warning: unused variable 'i' [-Wunused-variable] + 308 | int i, len2; + | ^ +video/reconstruct.c: In function 'recon_comp': +video/reconstruct.c:417:31: warning: unused parameter 'video' [-Wunused-parameter] + 417 | void recon_comp(mpeg3video_t *video, + | ~~~~~~~~~~~~~~^~~~~ +video/output.c: In function 'mpeg3video_present_frame': +video/output.c:348:22: warning: unused variable 'l' [-Wunused-variable] + 348 | int i, j, k, l; + | ^ +video/output.c:348:19: warning: unused variable 'k' [-Wunused-variable] + 348 | int i, j, k, l; + | ^ +video/output.c:348:16: warning: unused variable 'j' [-Wunused-variable] + 348 | int i, j, k, l; + | ^ +video/output.c: In function 'mpeg3video_display_second_field': +video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] + 499 | int mpeg3video_display_second_field(mpeg3video_t *video) + | ~~~~~~~~~~~~~~^~~~~ video/mpeg3video.c:254:17: warning: implicit declaration of function 'mpeg3_delete_slice_buffer'; did you mean 'mpeg3_delete_demuxer'? [-Wimplicit-function-declaration] 254 | mpeg3_delete_slice_buffer(&(video->slice_buffers[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1328,11 +1429,19 @@ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ +video/reconstruct.c: In function 'mpeg3video_reconstruct': video/mpeg3video.c: In function 'mpeg3video_new': +video/reconstruct.c:583:25: warning: implicit declaration of function 'mpeg3video_calc_dmv'; did you mean 'mpeg3video_dump'? [-Wimplicit-function-declaration] + 583 | mpeg3video_calc_dmv(video, + | ^~~~~~~~~~~~~~~~~~~ + | mpeg3video_dump video/mpeg3video.c:424:62: warning: implicit declaration of function 'mpeg3video_getgophdr'; did you mean 'mpeg3video_getslicehdr'? [-Wimplicit-function-declaration] 424 | if(!result) result = mpeg3video_getgophdr(video); | ^~~~~~~~~~~~~~~~~~~~ | mpeg3video_getslicehdr +video/reconstruct.c:618:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 618 | ; + | ^ video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; | ^~~~~~~~~ @@ -1349,6 +1458,9 @@ 405 | int hour, minute, second, frame; | ^~~~ video/mpeg3video.c: In function 'mpeg3video_set_cpus': +video/reconstruct.c:690:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 690 | ; + | ^ video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ @@ -1359,6 +1471,9 @@ video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ +video/reconstruct.c:756:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 756 | ; + | ^ video/mpeg3video.c: In function 'mpeg3video_read_frame': video/mpeg3video.c:650:42: warning: implicit declaration of function 'mpeg3video_present_frame'; did you mean 'mpeg3video_read_frame'? [-Wimplicit-function-declaration] 650 | if(video->output_src[0]) mpeg3video_present_frame(video); @@ -1375,78 +1490,6 @@ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ -video/output.c: In function 'mpeg3video_ditherframe': -video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] - 141 | int uv_subscript, step, w = -1; - | ^~~~ -video/output.c: In function 'mpeg3video_ditherframe444': -video/output.c:281:45: warning: unused parameter 'video' [-Wunused-parameter] - 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:281:67: warning: unused parameter 'src' [-Wunused-parameter] - 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'mpeg3video_dithertop444': -video/output.c:291:43: warning: unused parameter 'video' [-Wunused-parameter] - 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:291:65: warning: unused parameter 'src' [-Wunused-parameter] - 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'mpeg3video_ditherbot': -video/output.c:296:40: warning: unused parameter 'video' [-Wunused-parameter] - 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:296:62: warning: unused parameter 'src' [-Wunused-parameter] - 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'mpeg3video_ditherbot444': -video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] - 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~^~~~~ -video/output.c:301:65: warning: unused parameter 'src' [-Wunused-parameter] - 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) - | ~~~~~~~~~~~~~~~^~~~~ -video/output.c: In function 'memcpy_fast': -video/output.c:308:16: warning: unused variable 'len2' [-Wunused-variable] - 308 | int i, len2; - | ^~~~ -video/output.c:308:13: warning: unused variable 'i' [-Wunused-variable] - 308 | int i, len2; - | ^ -video/output.c: In function 'mpeg3video_present_frame': -video/output.c:348:22: warning: unused variable 'l' [-Wunused-variable] - 348 | int i, j, k, l; - | ^ -video/output.c:348:19: warning: unused variable 'k' [-Wunused-variable] - 348 | int i, j, k, l; - | ^ -video/output.c:348:16: warning: unused variable 'j' [-Wunused-variable] - 348 | int i, j, k, l; - | ^ -video/output.c: In function 'mpeg3video_display_second_field': -video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] - 499 | int mpeg3video_display_second_field(mpeg3video_t *video) - | ~~~~~~~~~~~~~~^~~~~ -video/reconstruct.c: In function 'recon_comp': -video/reconstruct.c:417:31: warning: unused parameter 'video' [-Wunused-parameter] - 417 | void recon_comp(mpeg3video_t *video, - | ~~~~~~~~~~~~~~^~~~~ -video/reconstruct.c: In function 'mpeg3video_reconstruct': -video/reconstruct.c:583:25: warning: implicit declaration of function 'mpeg3video_calc_dmv'; did you mean 'mpeg3video_dump'? [-Wimplicit-function-declaration] - 583 | mpeg3video_calc_dmv(video, - | ^~~~~~~~~~~~~~~~~~~ - | mpeg3video_dump -video/reconstruct.c:618:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 618 | ; - | ^ -video/reconstruct.c:690:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 690 | ; - | ^ -video/reconstruct.c:756:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 756 | ; - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o armv7l/video/seek.o video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; @@ -1475,7 +1518,8 @@ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/slice.c -o armv7l/video/slice.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/slice.c -o aarch64/video/slice.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o aarch64/video/subtitle.o video/slice.c: In function 'mpeg3video_addblock': video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] 62 | int spar = slice->sparse[comp]; @@ -1513,8 +1557,6 @@ 453 | mpeg3video_reconstruct(video, | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3video_read_raw -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o armv7l/video/subtitle.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/vlc.c -o armv7l/video/vlc.o video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; @@ -1544,9 +1586,11 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o armv7l/workarounds.o -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/ac3.c -o armv7l/audio/ac3.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/dct.c -o armv7l/audio/dct.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/vlc.c -o aarch64/video/vlc.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o aarch64/workarounds.o +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/ac3.c -o aarch64/audio/ac3.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/dct.c -o aarch64/audio/dct.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/huffman.c -o aarch64/audio/huffman.lo audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, @@ -1560,8 +1604,8 @@ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/huffman.c -o armv7l/audio/huffman.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer2.c -o armv7l/audio/layer2.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer2.c -o aarch64/audio/layer2.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer3.c -o aarch64/audio/layer3.lo audio/layer2.c: In function 'step_two': audio/layer2.c:283:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 283 | if(ba = *bita++) @@ -1588,7 +1632,6 @@ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/layer3.c -o armv7l/audio/layer3.lo audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:53:21: warning: unused parameter 'ch' [-Wunused-parameter] 53 | int ch, @@ -1695,8 +1738,20 @@ audio/layer3.c:1513:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1513 | if(layer_data->samplerate != 0 && | ^~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/mpeg3audio.c -o armv7l/audio/mpeg3audio.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/pcm.c -o armv7l/audio/pcm.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/mpeg3audio.c -o aarch64/audio/mpeg3audio.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/pcm.c -o aarch64/audio/pcm.lo +audio/pcm.c: In function 'mpeg3audio_dopcm': +audio/pcm.c:71:64: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] + 71 | unsigned char *input = frame + + | ^~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/synthesizers.c -o aarch64/audio/synthesizers.lo +audio/layer3.c: In function 'dequantize_sample': +audio/layer3.c:679:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds] + 679 | while(xrpnt < &xr[SBLIMIT][0]) + | ^~~~~~~~~~~~~~~ +audio/layer3.c:235:23: note: at offset 2304 into object 'xr' of size [0, 2304] + 235 | float xr[SBLIMIT][SSLIMIT], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ audio/mpeg3audio.c: In function 'read_frame': audio/mpeg3audio.c:362:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_doac3' differ in signedness [-Wpointer-sign] 362 | audio->packet_buffer, @@ -1758,29 +1813,17 @@ audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ -audio/layer3.c: In function 'dequantize_sample': -audio/layer3.c:679:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds] - 679 | while(xrpnt < &xr[SBLIMIT][0]) - | ^~~~~~~~~~~~~~~ -audio/layer3.c:235:23: note: at offset 2304 into object 'xr' of size [0, 2304] - 235 | float xr[SBLIMIT][SSLIMIT], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -audio/pcm.c: In function 'mpeg3audio_dopcm': -audio/pcm.c:71:64: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] - 71 | unsigned char *input = frame + - | ^~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/synthesizers.c -o armv7l/audio/synthesizers.lo audio/synthesizers.c: In function 'mpeg3audio_synth_stereo': audio/synthesizers.c:36:9: warning: implicit declaration of function 'mpeg3audio_dct64'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] 36 | mpeg3audio_dct64(buf[1] + ((audio->bo + 1) & 0xf), buf[0] + audio->bo, bandPtr); | ^~~~~~~~~~~~~~~~ | mpeg3audio_dopcm -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/tables.c -o armv7l/audio/tables.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT audio/tables.c -o aarch64/audio/tables.lo audio/tables.c: In function 'init_layer2': audio/tables.c:138:39: warning: unused parameter 'audio' [-Wunused-parameter] 138 | static int init_layer2(mpeg3_layer_t *audio) | ~~~~~~~~~~~~~~~^~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT libmpeg3.c -o armv7l/libmpeg3.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT libmpeg3.c -o aarch64/libmpeg3.lo libmpeg3.c: In function 'mpeg3_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; @@ -1849,7 +1892,7 @@ libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3atrack.c -o armv7l/mpeg3atrack.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3atrack.c -o aarch64/mpeg3atrack.lo mpeg3atrack.c: In function 'mpeg3_new_atrack': mpeg3atrack.c:22:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] 22 | mpeg3demux_copy_titles(new_atrack->demuxer, demuxer); @@ -1859,13 +1902,12 @@ mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) | ~~~~~~~~~^~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o armv7l/mpeg3bits.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3bits.c -o aarch64/mpeg3bits.lo mpeg3bits.c: In function 'mpeg3bits_read_buffer': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3css_fake.c -o armv7l/mpeg3css_fake.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o armv7l/mpeg3demux.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3css_fake.c -o aarch64/mpeg3css_fake.lo mpeg3css_fake.c: In function 'mpeg3_delete_css': mpeg3css_fake.c:11:35: warning: unused parameter 'css' [-Wunused-parameter] 11 | int mpeg3_delete_css(mpeg3_css_t *css) @@ -1887,19 +1929,9 @@ mpeg3css_fake.c:21:71: warning: unused parameter 'offset' [-Wunused-parameter] 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) | ~~~~^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o armv7l/mpeg3ifo.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3io.c -o armv7l/mpeg3io.lo -mpeg3io.c: In function 'mpeg3io_read_buffer': -mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] - 177 | int result; - | ^~~~~~ -mpeg3io.c:167:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 167 | fread(fs->buffer, 1, remainder_start, fs->fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mpeg3io.c: In function 'mpeg3io_complete_path': -mpeg3io.c:211:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 211 | getcwd(current_dir, MPEG3_STRLEN); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3demux.c -o aarch64/mpeg3demux.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3ifo.c -o aarch64/mpeg3ifo.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3io.c -o aarch64/mpeg3io.lo mpeg3demux.c: In function 'get_transport_pes_packet': mpeg3demux.c:302:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 302 | if((demuxer->custom_id == demuxer->astream && @@ -1921,50 +1953,14 @@ mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] 791 | int i, j; | ^ -mpeg3ifo.c: In function 'program_map': -mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 265 | *ptr = pgc; - | ^ mpeg3demux.c: In function 'new_subtitle': mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] 825 | int i, j; | ^ -mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; - | ^ -mpeg3ifo.c: In function 'get_ifo_playlist': -mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 362 | while(new_filename = readdir(dirstream)) - | ^~~~~~~~~~~~ mpeg3demux.c: In function 'handle_pcm': mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] 1078 | } | ^ -mpeg3ifo.c: In function 'get_ifo_header': -mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] - 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); - | ^~~~~~~ -mpeg3ifo.c: In function 'cellplayinfo': -mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] - 538 | ; - | ^ -mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) - | ^~~~~~~~~~~ -mpeg3ifo.c: In function 'celladdresses': -mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) - | ^~~~~~~~~~~~~~~ -mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] - 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; - | ^~~~ -mpeg3ifo.c: In function 'finaltable': -mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~ -mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'get_program_pes_packet': mpeg3demux.c:1257:47: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1257 | if(demuxer->custom_id == demuxer->astream && @@ -1974,42 +1970,14 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1258 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ -mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] - 630 | int done; - | ^~~~ mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1300 | if(demuxer->custom_id == demuxer->vstream && | ^~ -mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] - 629 | int output_cell = 0; - | ^~~~~~~~~~~ -mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~~~~~~ mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if(demuxer->custom_id == demuxer->vstream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ -mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~ -mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] - 625 | mpeg3ifo_celltable_t *cells, - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -mpeg3ifo.c: In function 'mpeg3_read_ifo': -mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] - 716 | int result; - | ^~~~~~ -mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] - 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; - | ^~~~~~~~~~~~~~ -mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] - 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; - | ^~~~~~~~~~~~~ -mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] - 706 | int read_cells) - | ~~~~^~~~~~~~~~ mpeg3demux.c:1379:39: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1379 | if(demuxer->custom_id == demuxer->astream && | ^~ @@ -2082,17 +2050,87 @@ mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ +mpeg3io.c: In function 'mpeg3io_read_buffer': +mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] + 177 | int result; + | ^~~~~~ +mpeg3io.c:167:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 167 | fread(fs->buffer, 1, remainder_start, fs->fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3io.c: In function 'mpeg3io_complete_path': +mpeg3io.c:211:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 211 | getcwd(current_dir, MPEG3_STRLEN); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3ifo.c: In function 'program_map': +mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 265 | *ptr = pgc; + | ^ +mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; + | ^ +mpeg3ifo.c: In function 'get_ifo_playlist': +mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 362 | while(new_filename = readdir(dirstream)) + | ^~~~~~~~~~~~ +mpeg3ifo.c: In function 'get_ifo_header': +mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] + 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); + | ^~~~~~~ +mpeg3ifo.c: In function 'cellplayinfo': +mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] + 538 | ; + | ^ +mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) + | ^~~~~~~~~~~ +mpeg3ifo.c: In function 'celladdresses': +mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] + 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; + | ^~~~ +mpeg3ifo.c: In function 'finaltable': +mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~ +mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~~~ +mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] + 630 | int done; + | ^~~~ +mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] + 629 | int output_cell = 0; + | ^~~~~~~~~~~ +mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~ +mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] + 625 | mpeg3ifo_celltable_t *cells, + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +mpeg3ifo.c: In function 'mpeg3_read_ifo': +mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] + 716 | int result; + | ^~~~~~ +mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] + 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; + | ^~~~~~~~~~~~~~ +mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] + 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; + | ^~~~~~~~~~~~~ +mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] + 706 | int read_cells) + | ~~~~^~~~~~~~~~ mpeg3ifo.c: In function 'get_ifo_playlist.constprop': mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] 359 | strncpy(vob_prefix, filename, 6); | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o armv7l/mpeg3strack.lo -mpeg3strack.c: In function 'mpeg3_get_strack': -mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] - 70 | int i; - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o armv7l/mpeg3title.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3tocutil.c -o armv7l/mpeg3tocutil.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3strack.c -o aarch64/mpeg3strack.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o aarch64/mpeg3title.lo mpeg3title.c: In function 'extend_cell_table': mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] 82 | int i; @@ -2126,11 +2164,18 @@ mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] 185 | mpeg3_t *file = title->file; | ^~~~ +mpeg3strack.c: In function 'mpeg3_get_strack': +mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] + 70 | int i; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3tocutil.c -o aarch64/mpeg3tocutil.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3vtrack.c -o aarch64/mpeg3vtrack.lo mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:112:1: warning: no return statement in function returning non-void [-Wreturn-type] 112 | } | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o aarch64/video/getpicture.lo mpeg3tocutil.c:336:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 336 | int string_len = 0; | ^~~~~~~~~~ @@ -2170,10 +2215,22 @@ mpeg3tocutil.c:981:16: warning: unused variable 'j' [-Wunused-variable] 981 | int i, j; | ^ +mpeg3vtrack.c: In function 'mpeg3_new_vtrack': +mpeg3vtrack.c:19:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] + 19 | mpeg3demux_copy_titles(new_vtrack->demuxer, demuxer); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3demux_open_title +mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] + 11 | int result = 0; + | ^~~~~~ mpeg3tocutil.c: In function 'mpeg3_do_toc': +mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': mpeg3tocutil.c:1068:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1068 | if(custom_id == atrack->pid) | ^~ +mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] + 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) + | ~~~~~~~~~^~~~ mpeg3tocutil.c:1119:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1119 | if(vtrack->pid == custom_id) | ^~ @@ -2183,6 +2240,10 @@ mpeg3tocutil.c:1014:19: warning: unused variable 'k' [-Wunused-variable] 1014 | int i, j, k; | ^ +mpeg3vtrack.c: At top level: +mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] + 70 | static int last_keyframe = 0; + | ^~~~~~~~~~~~~ mpeg3tocutil.c:1014:16: warning: unused variable 'j' [-Wunused-variable] 1014 | int i, j, k; | ^ @@ -2205,38 +2266,6 @@ mpeg3tocutil.c:10:14: warning: 'test_file' defined but not used [-Wunused-variable] 10 | static FILE *test_file = 0; | ^~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3vtrack.c -o armv7l/mpeg3vtrack.lo -mpeg3vtrack.c: In function 'mpeg3_new_vtrack': -mpeg3vtrack.c:19:17: warning: implicit declaration of function 'mpeg3demux_copy_titles'; did you mean 'mpeg3demux_open_title'? [-Wimplicit-function-declaration] - 19 | mpeg3demux_copy_titles(new_vtrack->demuxer, demuxer); - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3demux_open_title -mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] - 11 | int result = 0; - | ^~~~~~ -mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': -mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] - 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) - | ~~~~~~~~~^~~~ -mpeg3vtrack.c: At top level: -mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] - 70 | static int last_keyframe = 0; - | ^~~~~~~~~~~~~ -In function 'handle_scrambling', - inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, - inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: -mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] - 777 | if(mpeg3_decrypt_packet(title->fs->css, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 778 | buffer_ptr, - | ~~~~~~~~~~~ - 779 | decryption_offset)) - | ~~~~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3demux_read_program': -mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here - 1091 | int decryption_offset; - | ^~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/getpicture.c -o armv7l/video/getpicture.lo video/getpicture.c: In function 'mpeg3video_get_macroblocks': video/getpicture.c:534:25: warning: implicit declaration of function 'mpeg3_new_slice_buffer'; did you mean 'mpeg3io_sync_buffer'? [-Wimplicit-function-declaration] 534 | mpeg3_new_slice_buffer(&(video->slice_buffers[video->slice_buffers_initialized++])); @@ -2251,6 +2280,7 @@ video/getpicture.c:515:57: warning: unused parameter 'framenum' [-Wunused-parameter] 515 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/headers.c -o aarch64/video/headers.lo video/getpicture.c: In function 'mpeg3video_allocate_decoders': video/getpicture.c:625:25: warning: implicit declaration of function 'mpeg3_delete_slice_decoder'; did you mean 'mpeg3_delete_demuxer'? [-Wimplicit-function-declaration] 625 | mpeg3_delete_slice_decoder(&(video->slice_decoders[i])); @@ -2266,28 +2296,6 @@ video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] 721 | mpeg3video_display_second_field(video); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -video/getpicture.c: In function 'mpeg3video_getinterblock': -video/getpicture.c:293:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 293 | if(j != 0) - | ^ -video/getpicture.c:219:21: note: 'j' was declared here - 219 | int val, i, j, sign; - | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': -video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 411 | if(j != 0) - | ^ -video/getpicture.c:308:21: note: 'j' was declared here - 308 | int val, i, j, sign, nc; - | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2interblock': -video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 506 | if(j != 0) - | ^ -video/getpicture.c:426:21: note: 'j' was declared here - 426 | int val, i, j, sign, nc; - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/headers.c -o armv7l/video/headers.lo video/headers.c: In function 'mpeg3video_getseqhdr': video/headers.c:16:13: warning: variable 'constrained_parameters_flag' set but not used [-Wunused-but-set-variable] 16 | int constrained_parameters_flag; @@ -2408,9 +2416,44 @@ video/headers.c:521:48: warning: variable 'intra_slice' set but not used [-Wunused-but-set-variable] 521 | int slice_vertical_position_extension, intra_slice; | ^~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/idct.c -o armv7l/video/idct.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o armv7l/video/macroblocks.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o armv7l/video/mmxtest.lo +In function 'handle_scrambling', + inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, + inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: +mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] + 777 | if(mpeg3_decrypt_packet(title->fs->css, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 778 | buffer_ptr, + | ~~~~~~~~~~~ + 779 | decryption_offset)) + | ~~~~~~~~~~~~~~~~~~ +mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here + 1091 | int decryption_offset; + | ^~~~~~~~~~~~~~~~~ +video/getpicture.c: In function 'mpeg3video_getinterblock': +video/getpicture.c:293:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 293 | if(j != 0) + | ^ +video/getpicture.c:219:21: note: 'j' was declared here + 219 | int val, i, j, sign; + | ^ +video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': +video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 411 | if(j != 0) + | ^ +video/getpicture.c:308:21: note: 'j' was declared here + 308 | int val, i, j, sign, nc; + | ^ +video/getpicture.c: In function 'mpeg3video_getmpg2interblock': +video/getpicture.c:506:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 506 | if(j != 0) + | ^ +video/getpicture.c:426:21: note: 'j' was declared here + 426 | int val, i, j, sign, nc; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/idct.c -o aarch64/video/idct.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/macroblocks.c -o aarch64/video/macroblocks.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mmxtest.c -o aarch64/video/mmxtest.lo video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; @@ -2421,7 +2464,7 @@ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/motion.c -o armv7l/video/motion.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/motion.c -o aarch64/video/motion.lo video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, @@ -2430,8 +2473,10 @@ video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3cache.c -o armv7l/video/mpeg3cache.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3video.c -o armv7l/video/mpeg3video.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3cache.c -o aarch64/video/mpeg3cache.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/mpeg3video.c -o aarch64/video/mpeg3video.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o aarch64/video/output.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/reconstruct.c -o aarch64/video/reconstruct.lo video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -2456,6 +2501,7 @@ 254 | mpeg3_delete_slice_buffer(&(video->slice_buffers[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_delete_demuxer +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o aarch64/video/seek.lo video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/mpeg3video.c:288:34: warning: implicit declaration of function 'mpeg3video_getpicture'; did you mean 'mpeg3video_getslicehdr'? [-Wimplicit-function-declaration] 288 | result = mpeg3video_getpicture(video, video->framenum); @@ -2517,8 +2563,10 @@ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/output.c -o armv7l/video/output.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/reconstruct.c -o armv7l/video/reconstruct.lo +video/reconstruct.c: In function 'recon_comp': +video/reconstruct.c:417:31: warning: unused parameter 'video' [-Wunused-parameter] + 417 | void recon_comp(mpeg3video_t *video, + | ~~~~~~~~~~~~~~^~~~~ video/output.c: In function 'mpeg3video_ditherframe': video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] 141 | int uv_subscript, step, w = -1; @@ -2572,10 +2620,6 @@ video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] 499 | int mpeg3video_display_second_field(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ -video/reconstruct.c: In function 'recon_comp': -video/reconstruct.c:417:31: warning: unused parameter 'video' [-Wunused-parameter] - 417 | void recon_comp(mpeg3video_t *video, - | ~~~~~~~~~~~~~~^~~~~ video/reconstruct.c: In function 'mpeg3video_reconstruct': video/reconstruct.c:583:25: warning: implicit declaration of function 'mpeg3video_calc_dmv'; did you mean 'mpeg3video_dump'? [-Wimplicit-function-declaration] 583 | mpeg3video_calc_dmv(video, @@ -2590,7 +2634,6 @@ video/reconstruct.c:756:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 756 | ; | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o armv7l/video/seek.lo video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; @@ -2619,7 +2662,7 @@ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/slice.c -o armv7l/video/slice.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/slice.c -o aarch64/video/slice.lo video/slice.c: In function 'mpeg3video_addblock': video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] 62 | int spar = slice->sparse[comp]; @@ -2641,7 +2684,6 @@ 362 | mpeg3video_getmpg2intrablock(slice, video, comp, dc_dct_pred); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3video_get_macroblocks -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o armv7l/video/subtitle.lo video/slice.c:364:57: warning: implicit declaration of function 'mpeg3video_getintrablock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] 364 | mpeg3video_getintrablock(slice, video, comp, dc_dct_pred); | ^~~~~~~~~~~~~~~~~~~~~~~~ @@ -2658,6 +2700,7 @@ 453 | mpeg3video_reconstruct(video, | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3video_read_raw +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/subtitle.c -o aarch64/video/subtitle.lo video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; @@ -2687,19 +2730,20 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/vlc.c -o armv7l/video/vlc.lo -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o armv7l/workarounds.lo -ar rcs armv7l/libmpeg3.a `cat armv7l/objs` -cc -shared -fPIC -Wl,-z,relro -Wl,-z,now -o armv7l/libmpeg3.so.2.1.8 \ - armv7l/audio/ac3.lo armv7l/audio/dct.lo armv7l/audio/huffman.lo armv7l/audio/layer2.lo armv7l/audio/layer3.lo armv7l/audio/mpeg3audio.lo armv7l/audio/pcm.lo armv7l/audio/synthesizers.lo armv7l/audio/tables.lo armv7l/libmpeg3.lo armv7l/mpeg3atrack.lo armv7l/mpeg3bits.lo armv7l/mpeg3css_fake.lo armv7l/mpeg3demux.lo armv7l/mpeg3ifo.lo armv7l/mpeg3io.lo armv7l/mpeg3strack.lo armv7l/mpeg3title.lo armv7l/mpeg3tocutil.lo armv7l/mpeg3vtrack.lo armv7l/video/getpicture.lo armv7l/video/headers.lo armv7l/video/idct.lo armv7l/video/macroblocks.lo armv7l/video/mmxtest.lo armv7l/video/motion.lo armv7l/video/mpeg3cache.lo armv7l/video/mpeg3video.lo armv7l/video/output.lo armv7l/video/reconstruct.lo armv7l/video/seek.lo armv7l/video/slice.lo armv7l/video/subtitle.lo armv7l/video/vlc.lo armv7l/workarounds.lo \ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/vlc.c -o aarch64/video/vlc.lo +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT workarounds.c -o aarch64/workarounds.lo +ar rcs aarch64/libmpeg3.a `cat aarch64/objs` +cc -shared -fPIC -Wl,-z,relro -Wl,-z,now -o aarch64/libmpeg3.so.2.1.8 \ + aarch64/audio/ac3.lo aarch64/audio/dct.lo aarch64/audio/huffman.lo aarch64/audio/layer2.lo aarch64/audio/layer3.lo aarch64/audio/mpeg3audio.lo aarch64/audio/pcm.lo aarch64/audio/synthesizers.lo aarch64/audio/tables.lo aarch64/libmpeg3.lo aarch64/mpeg3atrack.lo aarch64/mpeg3bits.lo aarch64/mpeg3css_fake.lo aarch64/mpeg3demux.lo aarch64/mpeg3ifo.lo aarch64/mpeg3io.lo aarch64/mpeg3strack.lo aarch64/mpeg3title.lo aarch64/mpeg3tocutil.lo aarch64/mpeg3vtrack.lo aarch64/video/getpicture.lo aarch64/video/headers.lo aarch64/video/idct.lo aarch64/video/macroblocks.lo aarch64/video/mmxtest.lo aarch64/video/motion.lo aarch64/video/mpeg3cache.lo aarch64/video/mpeg3video.lo aarch64/video/output.lo aarch64/video/reconstruct.lo aarch64/video/seek.lo aarch64/video/slice.lo aarch64/video/subtitle.lo aarch64/video/vlc.lo aarch64/workarounds.lo \ -Wl,-soname -Wl,libmpeg3.so.2 -lm -lpthread -la52 -( cd armv7l; \ +( cd aarch64; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so.2 \ ) -cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o armv7l/mpeg3dump mpeg3dump.c armv7l/libmpeg3.so.2.1.8 -lm -lpthread -la52 -cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o armv7l/mpeg3peek mpeg3peek.c armv7l/libmpeg3.so.2.1.8 -lm -lpthread -la52 -cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o armv7l/mpeg3toc mpeg3toc.c armv7l/libmpeg3.so.2.1.8 -lm -lpthread -la52 +cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o aarch64/mpeg3dump mpeg3dump.c aarch64/libmpeg3.so.2.1.8 -lm -lpthread -la52 +cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o aarch64/mpeg3peek mpeg3peek.c aarch64/libmpeg3.so.2.1.8 -lm -lpthread -la52 +cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o aarch64/mpeg3toc mpeg3toc.c aarch64/libmpeg3.so.2.1.8 -lm -lpthread -la52 +cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o aarch64/mpeg3cat mpeg3cat.c aarch64/libmpeg3.so.2.1.8 -lm -lpthread -la52 mpeg3toc.c: In function 'main': mpeg3toc.c:21:19: warning: unused variable 'l' [-Wunused-variable] 21 | int i, j, l; @@ -2707,6 +2751,16 @@ mpeg3toc.c:21:16: warning: unused variable 'j' [-Wunused-variable] 21 | int i, j, l; | ^ +mpeg3cat.c: In function 'main': +mpeg3cat.c:148:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 148 | if(out = fopen(outpath, "r")) + | ^~~ +mpeg3cat.c:237:33: warning: variable 'gop_frame' set but not used [-Wunused-but-set-variable] + 237 | int64_t gop_frame; + | ^~~~~~~~~ +mpeg3cat.c:104:22: warning: unused variable 'bits' [-Wunused-variable] + 104 | unsigned int bits; + | ^~~~ mpeg3dump.c: In function 'main': mpeg3dump.c:69:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 69 | if(out = fopen(outfile, "r")) @@ -2723,29 +2777,18 @@ mpeg3dump.c:23:24: warning: unused variable 'output' [-Wunused-variable] 23 | unsigned char *output, **output_rows; | ^~~~~~ -cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/libmpeg3-1.8.dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT -o armv7l/mpeg3cat mpeg3cat.c armv7l/libmpeg3.so.2.1.8 -lm -lpthread -la52 -mpeg3cat.c: In function 'main': -mpeg3cat.c:148:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 148 | if(out = fopen(outpath, "r")) - | ^~~ -mpeg3cat.c:237:33: warning: variable 'gop_frame' set but not used [-Wunused-but-set-variable] - 237 | int64_t gop_frame; - | ^~~~~~~~~ -mpeg3cat.c:104:22: warning: unused variable 'bits' [-Wunused-variable] - 104 | unsigned int bits; - | ^~~~ make[1]: Leaving directory '/build/libmpeg3-1.8.dfsg' dh_auto_test -O-Smakefile create-stamp debian/debhelper-build-stamp dh_prep -O-Smakefile dh_installdirs -O-Smakefile dh_auto_install -O-Smakefile - make -j3 install DESTDIR=/build/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j4 install DESTDIR=/build/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/libmpeg3-1.8.dfsg' install -d /build/libmpeg3-1.8.dfsg/debian/tmp/usr/bin -install -m 755 armv7l/mpeg3dump armv7l/mpeg3peek armv7l/mpeg3toc armv7l/mpeg3cat /build/libmpeg3-1.8.dfsg/debian/tmp/usr/bin +install -m 755 aarch64/mpeg3dump aarch64/mpeg3peek aarch64/mpeg3toc aarch64/mpeg3cat /build/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -d /build/libmpeg3-1.8.dfsg/debian/tmp/usr/lib -cp -dp armv7l/libmpeg3.a armv7l/libmpeg3.so.2.1.8 armv7l/libmpeg3.so.2 armv7l/libmpeg3.so /build/libmpeg3-1.8.dfsg/debian/tmp/usr/lib +cp -dp aarch64/libmpeg3.a aarch64/libmpeg3.so.2.1.8 aarch64/libmpeg3.so.2 aarch64/libmpeg3.so /build/libmpeg3-1.8.dfsg/debian/tmp/usr/lib install -d /build/libmpeg3-1.8.dfsg/debian/tmp/usr/include/audio install -d /build/libmpeg3-1.8.dfsg/debian/tmp/usr/include/video install -m 644 *.h /build/libmpeg3-1.8.dfsg/debian/tmp/usr/include @@ -2776,8 +2819,8 @@ dh_md5sums -O-Smakefile dh_builddeb -O-Smakefile dpkg-deb: building package 'mpeg3-utils' in '../mpeg3-utils_1.8.dfsg-3_armhf.deb'. -dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-3_armhf.deb'. dpkg-deb: building package 'libmpeg3-2' in '../libmpeg3-2_1.8.dfsg-3_armhf.deb'. +dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-3_armhf.deb'. dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-3_armhf.deb'. dpkg-deb: building package 'libmpeg3-2-dbgsym' in '../libmpeg3-2-dbgsym_1.8.dfsg-3_armhf.deb'. dpkg-genbuildinfo --build=binary -O../libmpeg3_1.8.dfsg-3_armhf.buildinfo @@ -2787,12 +2830,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/21464/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21464/tmp/hooks/B01_cleanup finished 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/29058 and its subdirectories -I: Current time: Tue May 16 15:20:08 -12 2023 -I: pbuilder-time-stamp: 1684293608 +I: removing directory /srv/workspace/pbuilder/21464 and its subdirectories +I: Current time: Wed May 17 17:22:06 +14 2023 +I: pbuilder-time-stamp: 1684293726