Diff of the two buildlogs: -- --- b1/build.log 2023-04-30 15:02:43.706237765 +0000 +++ b2/build.log 2023-04-30 15:04:03.390749756 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 30 03:01:41 -12 2023 -I: pbuilder-time-stamp: 1682866901 +I: Current time: Sun Jun 2 11:25:49 +14 2024 +I: pbuilder-time-stamp: 1717277149 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/1840748/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/624518/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Jun 2 11:26 /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/624518/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/624518/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='5fb951fe187d4fe19a570250976c4da6' - 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='1840748' - PS1='# ' - PS2='> ' + INVOCATION_ID=f6bcd1a466784e928c0ab9570f4000c1 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=624518 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.ylmOqYCy/pbuilderrc_bcwq --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.ylmOqYCy/b1 --logfile b1/build.log libmpeg3_1.8.dfsg-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + 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.ylmOqYCy/pbuilderrc_T5aN --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.ylmOqYCy/b2 --logfile b2/build.log --extrapackages usrmerge libmpeg3_1.8.dfsg-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1840748/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 2 11:26 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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/624518/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 amd64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main amd64 liba52-0.7.4 amd64 0.7.4-20 [31.4 kB] Get: 32 http://deb.debian.org/debian bookworm/main amd64 liba52-0.7.4-dev amd64 0.7.4-20 [49.2 kB] -Fetched 18.8 MB in 0s (61.7 MB/s) +Fetched 18.8 MB in 1s (28.5 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 ... 19596 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/624518/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/624518/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,7 +431,7 @@ debian/rules clean dh clean -Smakefile dh_auto_clean -O-Smakefile - make -j15 clean + make -j16 clean make[1]: Entering directory '/build/libmpeg3-1.8.dfsg' rm -rf x86_64 make[1]: Leaving directory '/build/libmpeg3-1.8.dfsg' @@ -399,7 +442,7 @@ dh_autoreconf -O-Smakefile dh_auto_configure -O-Smakefile dh_auto_build -O-Smakefile - make -j15 "INSTALL=install --strip-program=true" + make -j16 "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 x86_64/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 x86_64/audio/dct.o @@ -416,6 +459,12 @@ 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 x86_64/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 mpeg3demux.c -o x86_64/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 x86_64/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 x86_64/mpeg3io.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 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, @@ -426,41 +475,14 @@ /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, | ~~~~~~~~~~^~~ -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 x86_64/mpeg3io.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++) - | ^~ +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 x86_64/mpeg3strack.o audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ -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 -audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 369 | for(i = sblimit; i < SBLIMIT; i++) - | ^~~ -audio/layer2.c:373:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 373 | return result; - | ^~~~~~ -audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] - 276 | int d1, step, test; - | ^~~~ -audio/layer2.c: In function 'mpeg3audio_dolayer2': -audio/layer2.c:393:42: warning: pointer targets in passing argument 2 of 'mpeg3bits_use_ptr' differ in signedness [-Wpointer-sign] - 393 | mpeg3bits_use_ptr(audio->stream, frame); - | ^~~~~ - | | - | char * -In file included from audio/layer2.c:8: -./mpeg3protos.h:482:60: note: expected 'unsigned char *' but argument is of type 'char *' - 482 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); - | ~~~~~~~~~~~~~~~^~~~~~ -audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] - 378 | int frame_size, - | ~~~~^~~~~~~~~~ +mpeg3bits.c: In function 'mpeg3bits_read_buffer': +mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] + 28 | int result, i = 0; + | ^ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:53:21: warning: unused parameter 'ch' [-Wunused-parameter] 53 | int ch, @@ -487,6 +509,10 @@ audio/layer3.c:381:33: note: in expansion of macro 'REFRESH_MASK' 381 | REFRESH_MASK; | ^~~~~~~~~~~~ +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 + + | ^~~~~ audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ | ^ @@ -525,6 +551,27 @@ audio/layer3.c:839:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 839 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ +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) + | ~~~~~~~~~~~~~^~~ +mpeg3css_fake.c: In function 'mpeg3_get_keys': +mpeg3css_fake.c:16:33: warning: unused parameter 'css' [-Wunused-parameter] + 16 | int mpeg3_get_keys(mpeg3_css_t *css, char *path) + | ~~~~~~~~~~~~~^~~ +mpeg3css_fake.c:16:44: warning: unused parameter 'path' [-Wunused-parameter] + 16 | int mpeg3_get_keys(mpeg3_css_t *css, char *path) + | ~~~~~~^~~~ +mpeg3css_fake.c: In function 'mpeg3_decrypt_packet': +mpeg3css_fake.c:21:39: warning: unused parameter 'css' [-Wunused-parameter] + 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) + | ~~~~~~~~~~~~~^~~ +mpeg3css_fake.c:21:59: warning: unused parameter 'sector' [-Wunused-parameter] + 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) + | ~~~~~~~~~~~~~~~^~~~~~ +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) + | ~~~~^~~~~~ audio/layer3.c:841:17: warning: implicit declaration of function 'mpeg3audio_dct12'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] 841 | mpeg3audio_dct12(fsIn[sb] ,rawout1 ,rawout2 ,mpeg3_win[2] ,tspnt); | ^~~~~~~~~~~~~~~~ @@ -532,10 +579,10 @@ audio/layer3.c:847:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 847 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ -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 + - | ^~~~~ +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; + | ^~~~~~ audio/layer3.c: In function 'antialias': audio/layer3.c:866:37: warning: unused parameter 'audio' [-Wunused-parameter] 866 | static int antialias(mpeg3_layer_t *audio, @@ -544,34 +591,20 @@ audio/layer3.c:916:41: warning: unused parameter 'audio' [-Wunused-parameter] 916 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': audio/layer3.c:1237:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1237 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ -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) - | ~~~~~~~~~~~~~^~~ -mpeg3css_fake.c: In function 'mpeg3_get_keys': -mpeg3css_fake.c:16:33: warning: unused parameter 'css' [-Wunused-parameter] - 16 | int mpeg3_get_keys(mpeg3_css_t *css, char *path) - | ~~~~~~~~~~~~~^~~ -mpeg3css_fake.c:16:44: warning: unused parameter 'path' [-Wunused-parameter] - 16 | int mpeg3_get_keys(mpeg3_css_t *css, char *path) - | ~~~~~~^~~~ audio/layer3.c:1266:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1266 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ -mpeg3css_fake.c: In function 'mpeg3_decrypt_packet': -mpeg3css_fake.c:21:39: warning: unused parameter 'css' [-Wunused-parameter] - 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) - | ~~~~~~~~~~~~~^~~ -mpeg3css_fake.c:21:59: warning: unused parameter 'sector' [-Wunused-parameter] - 21 | int mpeg3_decrypt_packet(mpeg3_css_t *css, unsigned char *sector, int offset) - | ~~~~~~~~~~~~~~~^~~~~~ -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) - | ~~~~^~~~~~ audio/layer3.c:1274:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1274 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ @@ -581,52 +614,19 @@ audio/layer3.c:1082:13: warning: unused variable 'i' [-Wunused-variable] 1082 | int i; | ^ +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); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3demux_open_title audio/layer3.c: In function 'mpeg3_layer_reset': +mpeg3atrack.c: In function 'mpeg3_delete_atrack': +mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] + 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) + | ~~~~~~~~~^~~~ audio/layer3.c:1355:9: warning: implicit declaration of function 'mpeg3audio_reset_synths' [-Wimplicit-function-declaration] 1355 | mpeg3audio_reset_synths(audio); | ^~~~~~~~~~~~~~~~~~~~~~~ -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, - | ~~~~~^~~~~~~~~~~~~~~ - | | - | unsigned char * -In file included from audio/mpeg3audio.c:2: -./mpeg3protos.h:196:15: note: expected 'char *' but argument is of type 'unsigned char *' - 196 | char *frame, - | ~~~~~~^~~~~ -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) - | ~~~~~~~~~~~~~~~^~~~~ -audio/mpeg3audio.c:374:62: warning: pointer targets in passing argument 2 of 'mpeg3audio_dolayer2' differ in signedness [-Wpointer-sign] - 374 | audio->packet_buffer, - | ~~~~~^~~~~~~~~~~~~~~ - | | - | unsigned char * -./mpeg3protos.h:189:15: note: expected 'char *' but argument is of type 'unsigned char *' - 189 | char *frame, - | ~~~~~~^~~~~ -audio/mpeg3audio.c:383:62: warning: pointer targets in passing argument 2 of 'mpeg3audio_dolayer3' differ in signedness [-Wpointer-sign] - 383 | audio->packet_buffer, - | ~~~~~^~~~~~~~~~~~~~~ - | | - | unsigned char * -./mpeg3protos.h:182:15: note: expected 'char *' but argument is of type 'unsigned char *' - 182 | char *frame, - | ~~~~~~^~~~~ -audio/mpeg3audio.c:397:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_dopcm' differ in signedness [-Wpointer-sign] - 397 | audio->packet_buffer, - | ~~~~~^~~~~~~~~~~~~~~ - | | - | unsigned char * -./mpeg3protos.h:204:15: note: expected 'char *' but argument is of type 'unsigned char *' - 204 | char *frame, - | ~~~~~~^~~~~ -audio/mpeg3audio.c: In function 'get_length': -audio/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] - 446 | int try = 0; - | ^~~ audio/layer3.c: In function 'mpeg3_layer_header': audio/layer3.c:1509:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1509 | else @@ -634,38 +634,41 @@ 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 && | ^~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3demux_open_title -mpeg3atrack.c: In function 'mpeg3_delete_atrack': -mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] - 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) - | ~~~~~~~~~^~~~ -audio/mpeg3audio.c: In function 'calculate_format': -audio/mpeg3audio.c:500:31: warning: unused parameter 'file' [-Wunused-parameter] - 500 | int calculate_format(mpeg3_t *file, mpeg3_atrack_t *track) - | ~~~~~~~~~^~~~ -audio/mpeg3audio.c: In function 'seek': -audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] - 646 | int result = 0; - | ^~~~~~ -audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': +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++) + | ^~ +audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 369 | for(i = sblimit; i < SBLIMIT; i++) + | ^~~ +audio/layer2.c:373:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + 373 | return result; + | ^~~~~~ +audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] + 276 | int d1, step, test; + | ^~~~ +audio/layer2.c: In function 'mpeg3audio_dolayer2': +audio/layer2.c:393:42: warning: pointer targets in passing argument 2 of 'mpeg3bits_use_ptr' differ in signedness [-Wpointer-sign] + 393 | mpeg3bits_use_ptr(audio->stream, frame); + | ^~~~~ + | | + | char * +In file included from audio/layer2.c:8: +./mpeg3protos.h:482:60: note: expected 'unsigned char *' but argument is of type 'char *' + 482 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); + | ~~~~~~~~~~~~~~~^~~~~~ +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 mpeg3title.c -o x86_64/mpeg3title.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) + | ~~~~~~~~~~~~~~~^~~~~ libmpeg3.c: In function 'mpeg3_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; | ^ -audio/mpeg3audio.c:791:25: warning: unused variable 'track' [-Wunused-variable] - 791 | mpeg3_atrack_t *track = audio->track; - | ^~~~~ -audio/mpeg3audio.c: In function 'mpeg3audio_read_raw': -audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] - 806 | int i; - | ^ -audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] - 803 | long max_size) - | ~~~~~^~~~~~~~ libmpeg3.c: In function 'is_bd': libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | (!ext || ext && @@ -677,14 +680,7 @@ libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) | ~~~~~~~~~^~~~~ -mpeg3bits.c: In function 'mpeg3bits_read_buffer': -mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] - 28 | int result, i = 0; - | ^ -audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': -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 mpeg3tocutil.c -o x86_64/mpeg3tocutil.o libmpeg3.c: In function 'copy_subtitles': libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] 396 | int i, j; @@ -710,17 +706,19 @@ 618 | mpeg3audio_seek_sample(file->atrack[stream]->audio, sample); | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3_set_sample -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 x86_64/mpeg3strack.o libmpeg3.c: In function 'mpeg3_set_frame': libmpeg3.c:713:17: warning: implicit declaration of function 'mpeg3video_seek_frame'; did you mean 'mpeg3video_read_frame'? [-Wimplicit-function-declaration] 713 | mpeg3video_seek_frame(file->vtrack[stream]->video, frame); | ^~~~~~~~~~~~~~~~~~~~~ | mpeg3video_read_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 mpeg3vtrack.c -o x86_64/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 x86_64/video/getpicture.o libmpeg3.c: In function 'mpeg3_seek_byte': libmpeg3.c:727:17: warning: implicit declaration of function 'mpeg3video_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] 727 | mpeg3video_seek_byte(file->vtrack[i]->video, byte); | ^~~~~~~~~~~~~~~~~~~~ | mpeg3bits_seek_byte +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 x86_64/video/headers.o libmpeg3.c:733:17: warning: implicit declaration of function 'mpeg3audio_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] 733 | mpeg3audio_seek_byte(file->atrack[i]->audio, byte); | ^~~~~~~~~~~~~~~~~~~~ @@ -730,71 +728,76 @@ 757 | return mpeg3video_previous_frame(file->vtrack[stream]->video); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_previous_frame +mpeg3strack.c: In function 'mpeg3_get_strack': +mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] + 70 | int i; + | ^ libmpeg3.c: In function 'mpeg3_colormodel': libmpeg3.c:858:24: warning: implicit declaration of function 'mpeg3video_colormodel'; did you mean 'mpeg3_colormodel'? [-Wimplicit-function-declaration] 858 | return mpeg3video_colormodel(file->vtrack[stream]->video); | ^~~~~~~~~~~~~~~~~~~~~ | mpeg3_colormodel -libmpeg3.c: In function 'calculate_packet_size': -libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] - 275 | } - | ^ -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 mpeg3title.c -o x86_64/mpeg3title.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 x86_64/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 x86_64/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 x86_64/video/getpicture.o -mpeg3strack.c: In function 'mpeg3_get_strack': -mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] - 70 | int i; - | ^ -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 && - | ^~ -mpeg3demux.c:331:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 331 | if((demuxer->custom_id == demuxer->astream && - | ^~ -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 && - | ^~ -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) - | ^~ -mpeg3demux.c:636:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 636 | demuxer->program_byte = mpeg3io_tell(title->fs) + - | ^~~~~~~ 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; | ^ +audio/mpeg3audio.c: In function 'read_frame': 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; | ^ -mpeg3demux.c: In function 'remove_subtitle': +audio/mpeg3audio.c:362:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_doac3' differ in signedness [-Wpointer-sign] + 362 | audio->packet_buffer, + | ~~~~~^~~~~~~~~~~~~~~ + | | + | unsigned char * +In file included from audio/mpeg3audio.c:2: +./mpeg3protos.h:196:15: note: expected 'char *' but argument is of type 'unsigned char *' + 196 | char *frame, + | ~~~~~~^~~~~ mpeg3ifo.c: In function 'get_ifo_playlist': +audio/mpeg3audio.c:374:62: warning: pointer targets in passing argument 2 of 'mpeg3audio_dolayer2' differ in signedness [-Wpointer-sign] + 374 | audio->packet_buffer, + | ~~~~~^~~~~~~~~~~~~~~ + | | + | unsigned char * mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 362 | while(new_filename = readdir(dirstream)) | ^~~~~~~~~~~~ +./mpeg3protos.h:189:15: note: expected 'char *' but argument is of type 'unsigned char *' + 189 | char *frame, + | ~~~~~~^~~~~ +libmpeg3.c: In function 'calculate_packet_size': +libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] + 275 | } + | ^ +audio/mpeg3audio.c:383:62: warning: pointer targets in passing argument 2 of 'mpeg3audio_dolayer3' differ in signedness [-Wpointer-sign] + 383 | audio->packet_buffer, + | ~~~~~^~~~~~~~~~~~~~~ + | | + | unsigned char * +./mpeg3protos.h:182:15: note: expected 'char *' but argument is of type 'unsigned char *' + 182 | char *frame, + | ~~~~~~^~~~~ mpeg3ifo.c: In function 'get_ifo_header': +audio/mpeg3audio.c:397:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_dopcm' differ in signedness [-Wpointer-sign] + 397 | audio->packet_buffer, + | ~~~~~^~~~~~~~~~~~~~~ + | | + | unsigned char * +./mpeg3protos.h:204:15: note: expected 'char *' but argument is of type 'unsigned char *' + 204 | char *frame, + | ~~~~~~^~~~~ 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); | ^~~~~~~ +audio/mpeg3audio.c: In function 'get_length': mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; | ^ +audio/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] + 446 | int try = 0; + | ^~~ 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)) | ^~~~~~~~~~~ @@ -802,20 +805,13 @@ 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:791:13: warning: unused variable 'i' [-Wunused-variable] - 791 | int i, j; - | ^ -mpeg3demux.c: In function 'new_subtitle': -mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] - 825 | int i, j; - | ^ mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ -mpeg3demux.c: In function 'handle_pcm': -mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] - 1078 | } - | ^ +audio/mpeg3audio.c: In function 'calculate_format': +audio/mpeg3audio.c:500:31: warning: unused parameter 'file' [-Wunused-parameter] + 500 | int calculate_format(mpeg3_t *file, mpeg3_atrack_t *track) + | ~~~~~~~~~^~~~ 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]; @@ -835,26 +831,107 @@ mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~ -mpeg3demux.c: In function 'get_program_pes_packet': mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -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 && - | ^~ +audio/mpeg3audio.c: In function 'seek': mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ +audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] + 646 | int result = 0; + | ^~~~~~ 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; | ^~~~~~~~~~~~~ +audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ +audio/mpeg3audio.c:791:25: warning: unused variable 'track' [-Wunused-variable] + 791 | mpeg3_atrack_t *track = audio->track; + | ^~~~~ +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 && + | ^~ +audio/mpeg3audio.c: In function 'mpeg3audio_read_raw': +mpeg3demux.c:331:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 331 | if((demuxer->custom_id == demuxer->astream && + | ^~ +audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] + 806 | int i; + | ^ +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 && + | ^~ +audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] + 803 | long max_size) + | ~~~~~^~~~~~~~ +audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': +audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] + 915 | int i, j, k; + | ^ +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) + | ^~ +mpeg3demux.c:636:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 636 | demuxer->program_byte = mpeg3io_tell(title->fs) + + | ^~~~~~~ +mpeg3title.c: In function 'extend_cell_table': +mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] + 82 | int i; + | ^ +mpeg3title.c: In function 'mpeg3_create_title': +mpeg3title.c:132:19: warning: unused variable 'test_header' [-Wunused-variable] + 132 | u_int32_t test_header = 0; + | ^~~~~~~~~~~ +mpeg3title.c:130:14: warning: unused variable 'i' [-Wunused-variable] + 130 | long i; + | ^ +mpeg3title.c:129:38: warning: unused variable 'absolute_time' [-Wunused-variable] + 129 | double next_time, prev_time, absolute_time; + | ^~~~~~~~~~~~~ +mpeg3title.c:129:27: warning: unused variable 'prev_time' [-Wunused-variable] + 129 | double next_time, prev_time, absolute_time; + | ^~~~~~~~~ +mpeg3title.c:129:16: warning: unused variable 'next_time' [-Wunused-variable] + 129 | double next_time, prev_time, absolute_time; + | ^~~~~~~~~ +mpeg3title.c:128:28: warning: unused variable 'prev_byte' [-Wunused-variable] + 128 | int64_t next_byte, prev_byte; + | ^~~~~~~~~ +mpeg3title.c:126:50: warning: unused variable 'counter' [-Wunused-variable] + 126 | int result = 0, done = 0, counter_start, counter; + | ^~~~~~~ +mpeg3title.c:126:35: warning: unused variable 'counter_start' [-Wunused-variable] + 126 | int result = 0, done = 0, counter_start, counter; + | ^~~~~~~~~~~~~ +mpeg3title.c: In function 'mpeg3demux_print_cells': +mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] + 185 | mpeg3_t *file = title->file; + | ^~~~ +mpeg3demux.c: In function 'remove_subtitle': +mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] + 791 | int i, j; + | ^ +mpeg3demux.c: In function 'new_subtitle': +mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] + 825 | int i, j; + | ^ +mpeg3demux.c: In function 'handle_pcm': +mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] + 1078 | } + | ^ +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 && + | ^~ mpeg3demux.c:1257:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1257 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ @@ -871,15 +948,32 @@ 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 && | ^~ +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) + | ~~~~~~~~~^~~~ mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ +mpeg3vtrack.c: At top level: +mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] + 70 | static int last_keyframe = 0; + | ^~~~~~~~~~~~~ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ mpeg3demux.c: In function 'mpeg3demux_read_program': +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 x86_64/video/idct.o mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ @@ -909,7 +1003,6 @@ 1753 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3demux.c: In function 'mpeg3_read_next_packet': -mpeg3title.c: In function 'extend_cell_table': mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] 1782 | int current_position; | ^~~~~~~~~~~~~~~~ @@ -917,38 +1010,6 @@ mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] 1922 | mpeg3_fs_t *fd = title->fs; | ^~ -mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] - 82 | int i; - | ^ -mpeg3title.c: In function 'mpeg3_create_title': -mpeg3title.c:132:19: warning: unused variable 'test_header' [-Wunused-variable] - 132 | u_int32_t test_header = 0; - | ^~~~~~~~~~~ -mpeg3title.c:130:14: warning: unused variable 'i' [-Wunused-variable] - 130 | long i; - | ^ -mpeg3title.c:129:38: warning: unused variable 'absolute_time' [-Wunused-variable] - 129 | double next_time, prev_time, absolute_time; - | ^~~~~~~~~~~~~ -mpeg3title.c:129:27: warning: unused variable 'prev_time' [-Wunused-variable] - 129 | double next_time, prev_time, absolute_time; - | ^~~~~~~~~ -mpeg3title.c:129:16: warning: unused variable 'next_time' [-Wunused-variable] - 129 | double next_time, prev_time, absolute_time; - | ^~~~~~~~~ -mpeg3title.c:128:28: warning: unused variable 'prev_byte' [-Wunused-variable] - 128 | int64_t next_byte, prev_byte; - | ^~~~~~~~~ -mpeg3title.c:126:50: warning: unused variable 'counter' [-Wunused-variable] - 126 | int result = 0, done = 0, counter_start, counter; - | ^~~~~~~ -mpeg3title.c:126:35: warning: unused variable 'counter_start' [-Wunused-variable] - 126 | int result = 0, done = 0, counter_start, counter; - | ^~~~~~~~~~~~~ -mpeg3title.c: In function 'mpeg3demux_print_cells': -mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] - 185 | mpeg3_t *file = title->file; - | ^~~~ 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); @@ -958,27 +1019,12 @@ mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] 2213 | int i; | ^ -mpeg3demux.c: In function 'mpeg3_absolute_to_program': +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 x86_64/video/macroblocks.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) - | ~~~~~~~~~^~~~ -mpeg3vtrack.c: At top level: -mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] - 70 | static int last_keyframe = 0; - | ^~~~~~~~~~~~~ +mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; | ^ @@ -1036,16 +1082,20 @@ mpeg3tocutil.c:1119:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1119 | if(vtrack->pid == custom_id) | ^~ -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 x86_64/video/headers.o mpeg3tocutil.c:1024:13: warning: unused variable 'result' [-Wunused-variable] 1024 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ mpeg3tocutil.c:1014:19: warning: unused variable 'k' [-Wunused-variable] 1014 | int i, j, k; | ^ +video/getpicture.c: In function 'mpeg3video_get_macroblocks': mpeg3tocutil.c:1014:16: warning: unused variable 'j' [-Wunused-variable] 1014 | int i, j, k; | ^ +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++])); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3io_sync_buffer mpeg3tocutil.c: In function 'mpeg3_stop_toc': mpeg3tocutil.c:1185:33: warning: unused variable 'atrack' [-Wunused-variable] 1185 | mpeg3_atrack_t *atrack = file->atrack[i]; @@ -1053,22 +1103,12 @@ mpeg3tocutil.c:1193:33: warning: unused variable 'atrack' [-Wunused-variable] 1193 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ -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++])); - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3io_sync_buffer video/getpicture.c:546:33: warning: implicit declaration of function 'mpeg3_expand_slice_buffer' [-Wimplicit-function-declaration] 546 | mpeg3_expand_slice_buffer(slice_buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/getpicture.c:517:22: warning: unused variable 'code' [-Wunused-variable] 517 | unsigned int code; | ^~~~ -mpeg3demux.c: In function 'mpeg3demux_scan_pts': -mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] - 2414 | } - | ^ -mpeg3demux.c: In function 'mpeg3demux_goto_pts': video/getpicture.c:515:57: warning: unused parameter 'framenum' [-Wunused-parameter] 515 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ @@ -1077,16 +1117,21 @@ 625 | mpeg3_delete_slice_decoder(&(video->slice_decoders[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_delete_demuxer -mpeg3tocutil.c: In function 'mpeg3_update_index': -mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] - 2442 | } - | ^ +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); + | ^ video/getpicture.c:630:25: warning: implicit declaration of function 'mpeg3_new_slice_decoder' [-Wimplicit-function-declaration] 630 | mpeg3_new_slice_decoder(video, &(video->slice_decoders[i])); | ^~~~~~~~~~~~~~~~~~~~~~~ video/getpicture.c:616:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] 616 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) | ~~~~^~~~~~~~~~~~~ +video/getpicture.c: In function 'mpeg3video_getpicture': +video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] + 721 | mpeg3video_display_second_field(video); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:738:1: warning: control reaches end of non-void function [-Wreturn-type] 738 | } | ^ @@ -1094,21 +1139,12 @@ mpeg3tocutil.c:1159:1: warning: control reaches end of non-void function [-Wreturn-type] 1159 | } | ^ -video/getpicture.c: In function 'mpeg3video_getpicture': -video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] - 721 | mpeg3video_display_second_field(video); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/idct.c -o x86_64/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 x86_64/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 x86_64/video/mmxtest.o -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); - | ^ +mpeg3demux.c: In function 'mpeg3demux_scan_pts': +mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] + 2414 | } + | ^ +mpeg3demux.c: In function 'mpeg3demux_goto_pts': 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; @@ -1181,6 +1217,9 @@ video/headers.c:195:15: warning: variable 'frame_centre_horizontal_offset' set but not used [-Wunused-but-set-variable] 195 | short frame_centre_horizontal_offset[3]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] + 2442 | } + | ^ video/headers.c: In function 'mpeg3video_picture_coding_extension': video/headers.c:224:63: warning: variable 'sub_carrier_phase' set but not used [-Wunused-but-set-variable] 224 | int v_axis = 0, sub_carrier = 0, burst_amplitude = 0, sub_carrier_phase = 0; @@ -1229,6 +1268,10 @@ 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; | ^~~~~~~~~~~ +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/motion.c -o x86_64/video/motion.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] @@ -1247,6 +1290,8 @@ 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/mpeg3cache.c -o x86_64/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 x86_64/video/mpeg3video.o video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, @@ -1255,10 +1300,41 @@ 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 x86_64/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 x86_64/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 x86_64/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 x86_64/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 x86_64/video/seek.o +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/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -1266,6 +1342,34 @@ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ +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/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/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:228:9: warning: implicit declaration of function 'mpeg3video_init_output'; did you mean 'mpeg3video_initdecoder'? [-Wimplicit-function-declaration] 228 | mpeg3video_init_output(); @@ -1274,6 +1378,25 @@ video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | 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 video/slice.c -o x86_64/video/slice.o +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 | ; + | ^ video/mpeg3video.c: In function 'mpeg3video_delete_struct': 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])); @@ -1338,94 +1461,6 @@ | ^~~~~~~~~~~~~~~ | mpeg3io_seek video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': -video/output.c: In function 'mpeg3video_ditherframe': -video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] - 716 | int size0, size1; - | ^~~~~ -video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] - 141 | int uv_subscript, step, w = -1; - | ^~~~ -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_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) - | ~~~~~~~~~~~~~~^~~~~ -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 x86_64/video/seek.o -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/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/slice.c -o x86_64/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 x86_64/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 x86_64/video/vlc.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; @@ -1434,9 +1469,15 @@ video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ +video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] + 716 | int size0, size1; + | ^~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ +video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] + 716 | int size0, size1; + | ^~~~~ video/seek.c: In function 'mpeg3video_seek': video/seek.c:356:57: warning: implicit declaration of function 'mpeg3video_get_firstframe'; did you mean 'mpeg3video_seek_frame'? [-Wimplicit-function-declaration] 356 | mpeg3video_get_firstframe(video); @@ -1454,7 +1495,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 workarounds.c -o x86_64/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 video/subtitle.c -o x86_64/video/subtitle.o video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': video/getpicture.c:411:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 411 | if(j != 0) @@ -1491,6 +1532,7 @@ 369 | mpeg3video_getmpg2interblock(slice, video, comp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 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/vlc.c -o x86_64/video/vlc.o video/slice.c:371:57: warning: implicit declaration of function 'mpeg3video_getinterblock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] 371 | mpeg3video_getinterblock(slice, video, comp); | ^~~~~~~~~~~~~~~~~~~~~~~~ @@ -1499,7 +1541,14 @@ 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 audio/ac3.c -o x86_64/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 workarounds.c -o x86_64/workarounds.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; + | ^ video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; @@ -1529,14 +1578,11 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ -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 audio/ac3.c -o x86_64/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 x86_64/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 x86_64/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 x86_64/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 x86_64/audio/layer3.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, @@ -1550,12 +1596,13 @@ 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 x86_64/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 x86_64/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 x86_64/audio/layer3.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 x86_64/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 x86_64/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/synthesizers.c -o x86_64/audio/synthesizers.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++) + | ^~ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:53:21: warning: unused parameter 'ch' [-Wunused-parameter] 53 | int ch, @@ -1563,10 +1610,6 @@ audio/layer3.c:54:21: warning: unused parameter 'gr' [-Wunused-parameter] 54 | int gr) | ~~~~^~ -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++) - | ^~ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ @@ -1580,40 +1623,19 @@ audio/layer3.c:353:33: note: in expansion of macro 'REFRESH_MASK' 353 | REFRESH_MASK; | ^~~~~~~~~~~~ -audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 369 | for(i = sblimit; i < SBLIMIT; i++) - | ^~~ -audio/layer2.c:373:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' - 373 | return result; - | ^~~~~~ -audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] - 276 | int d1, step, test; - | ^~~~ audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ | ^ audio/layer3.c:381:33: note: in expansion of macro 'REFRESH_MASK' 381 | REFRESH_MASK; | ^~~~~~~~~~~~ -audio/layer2.c: In function 'mpeg3audio_dolayer2': -audio/layer2.c:393:42: warning: pointer targets in passing argument 2 of 'mpeg3bits_use_ptr' differ in signedness [-Wpointer-sign] - 393 | mpeg3bits_use_ptr(audio->stream, frame); - | ^~~~~ - | | - | char * -In file included from audio/layer2.c:8: -./mpeg3protos.h:482:60: note: expected 'unsigned char *' but argument is of type 'char *' - 482 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); - | ~~~~~~~~~~~~~~~^~~~~~ audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ | ^ audio/layer3.c:413:17: note: in expansion of macro 'REFRESH_MASK' 413 | REFRESH_MASK; | ^~~~~~~~~~~~ -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/tables.c -o x86_64/audio/tables.lo audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ | ^ @@ -1626,18 +1648,80 @@ audio/layer3.c:557:41: note: in expansion of macro 'REFRESH_MASK' 557 | REFRESH_MASK; | ^~~~~~~~~~~~ +audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] + 369 | for(i = sblimit; i < SBLIMIT; i++) + | ^~~ +audio/layer2.c:373:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' + 373 | return result; + | ^~~~~~ +audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] + 276 | int d1, step, test; + | ^~~~ audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ | ^ audio/layer3.c:584:41: note: in expansion of macro 'REFRESH_MASK' 584 | REFRESH_MASK; | ^~~~~~~~~~~~ +audio/layer2.c: In function 'mpeg3audio_dolayer2': +audio/layer2.c:393:42: warning: pointer targets in passing argument 2 of 'mpeg3bits_use_ptr' differ in signedness [-Wpointer-sign] + 393 | mpeg3bits_use_ptr(audio->stream, frame); + | ^~~~~ + | | + | char * +In file included from audio/layer2.c:8: +./mpeg3protos.h:482:60: note: expected 'unsigned char *' but argument is of type 'char *' + 482 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); + | ~~~~~~~~~~~~~~~^~~~~~ +audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] + 378 | int frame_size, + | ~~~~^~~~~~~~~~ audio/layer3.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 226 | while(num < BITSHIFT) \ | ^ audio/layer3.c:618:17: note: in expansion of macro 'REFRESH_MASK' 618 | REFRESH_MASK; | ^~~~~~~~~~~~ +audio/layer3.c: In function 'hybrid': +audio/layer3.c:829:9: warning: implicit declaration of function 'mpeg3audio_dct36'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] + 829 | mpeg3audio_dct36(fsIn[0], rawout1, rawout2, mpeg3_win[0], tspnt); + | ^~~~~~~~~~~~~~~~ + | mpeg3audio_dopcm +audio/layer3.c:839:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 839 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) + | ^ +audio/layer3.c:841:17: warning: implicit declaration of function 'mpeg3audio_dct12'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] + 841 | mpeg3audio_dct12(fsIn[sb] ,rawout1 ,rawout2 ,mpeg3_win[2] ,tspnt); + | ^~~~~~~~~~~~~~~~ + | mpeg3audio_dopcm +audio/layer3.c:847:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 847 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) + | ^ +audio/layer3.c: In function 'antialias': +audio/layer3.c:866:37: warning: unused parameter 'audio' [-Wunused-parameter] + 866 | static int antialias(mpeg3_layer_t *audio, + | ~~~~~~~~~~~~~~~^~~~~ +audio/layer3.c: In function 'calc_i_stereo': +audio/layer3.c:916:41: warning: unused parameter 'audio' [-Wunused-parameter] + 916 | static int calc_i_stereo(mpeg3_layer_t *audio, + | ~~~~~~~~~~~~~~~^~~~~ +audio/layer3.c: In function 'mpeg3audio_dolayer3': +audio/layer3.c:1237:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1237 | if(sideinfo.ch[1].gr[gr].maxb > maxb) + | ^ +audio/layer3.c:1266:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1266 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) + | ^ +audio/layer3.c:1274:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1274 | for(i = 0; i < SSLIMIT * gr_info->maxb; 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 libmpeg3.c -o x86_64/libmpeg3.lo +audio/layer3.c:1300:49: warning: implicit declaration of function 'mpeg3audio_synth_stereo' [-Wimplicit-function-declaration] + 1300 | mpeg3audio_synth_stereo(audio, + | ^~~~~~~~~~~~~~~~~~~~~~~ +audio/layer3.c:1082:13: warning: unused variable 'i' [-Wunused-variable] + 1082 | int i; + | ^ 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, @@ -1648,7 +1732,6 @@ ./mpeg3protos.h:196:15: note: expected 'char *' but argument is of type 'unsigned char *' 196 | char *frame, | ~~~~~~^~~~~ -audio/layer3.c: In function 'hybrid': audio/mpeg3audio.c:374:62: warning: pointer targets in passing argument 2 of 'mpeg3audio_dolayer2' differ in signedness [-Wpointer-sign] 374 | audio->packet_buffer, | ~~~~~^~~~~~~~~~~~~~~ @@ -1665,10 +1748,6 @@ ./mpeg3protos.h:182:15: note: expected 'char *' but argument is of type 'unsigned char *' 182 | char *frame, | ~~~~~~^~~~~ -audio/layer3.c:829:9: warning: implicit declaration of function 'mpeg3audio_dct36'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] - 829 | mpeg3audio_dct36(fsIn[0], rawout1, rawout2, mpeg3_win[0], tspnt); - | ^~~~~~~~~~~~~~~~ - | mpeg3audio_dopcm audio/mpeg3audio.c:397:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_dopcm' differ in signedness [-Wpointer-sign] 397 | audio->packet_buffer, | ~~~~~^~~~~~~~~~~~~~~ @@ -1677,25 +1756,19 @@ ./mpeg3protos.h:204:15: note: expected 'char *' but argument is of type 'unsigned char *' 204 | char *frame, | ~~~~~~^~~~~ -audio/layer3.c:839:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 839 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) - | ^ audio/mpeg3audio.c: In function 'get_length': audio/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] 446 | int try = 0; | ^~~ +audio/layer3.c: In function 'mpeg3_layer_reset': audio/mpeg3audio.c: In function 'calculate_format': audio/mpeg3audio.c:500:31: warning: unused parameter 'file' [-Wunused-parameter] 500 | int calculate_format(mpeg3_t *file, mpeg3_atrack_t *track) | ~~~~~~~~~^~~~ -audio/layer3.c:841:17: warning: implicit declaration of function 'mpeg3audio_dct12'; did you mean 'mpeg3audio_dopcm'? [-Wimplicit-function-declaration] - 841 | mpeg3audio_dct12(fsIn[sb] ,rawout1 ,rawout2 ,mpeg3_win[2] ,tspnt); - | ^~~~~~~~~~~~~~~~ - | mpeg3audio_dopcm +audio/layer3.c:1355:9: warning: implicit declaration of function 'mpeg3audio_reset_synths' [-Wimplicit-function-declaration] + 1355 | mpeg3audio_reset_synths(audio); + | ^~~~~~~~~~~~~~~~~~~~~~~ audio/mpeg3audio.c: In function 'seek': -audio/layer3.c:847:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 847 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) - | ^ audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] 646 | int result = 0; | ^~~~~~ @@ -1703,77 +1776,40 @@ audio/mpeg3audio.c:791:25: warning: unused variable 'track' [-Wunused-variable] 791 | mpeg3_atrack_t *track = audio->track; | ^~~~~ -audio/layer3.c: In function 'antialias': -audio/layer3.c:866:37: warning: unused parameter 'audio' [-Wunused-parameter] - 866 | static int antialias(mpeg3_layer_t *audio, - | ~~~~~~~~~~~~~~~^~~~~ audio/mpeg3audio.c: In function 'mpeg3audio_read_raw': +audio/layer3.c: In function 'mpeg3_layer_header': audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] 806 | int i; | ^ audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] 803 | long max_size) | ~~~~~^~~~~~~~ -audio/layer3.c: In function 'calc_i_stereo': -audio/layer3.c:916:41: warning: unused parameter 'audio' [-Wunused-parameter] - 916 | static int calc_i_stereo(mpeg3_layer_t *audio, - | ~~~~~~~~~~~~~~~^~~~~ -audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': -audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] - 915 | int i, j, k; - | ^ -audio/layer3.c: In function 'mpeg3audio_dolayer3': -audio/layer3.c:1237:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1237 | if(sideinfo.ch[1].gr[gr].maxb > maxb) - | ^ -audio/layer3.c:1266:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1266 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) - | ^ -audio/layer3.c:1274:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1274 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) - | ^ -audio/layer3.c:1300:49: warning: implicit declaration of function 'mpeg3audio_synth_stereo' [-Wimplicit-function-declaration] - 1300 | mpeg3audio_synth_stereo(audio, - | ^~~~~~~~~~~~~~~~~~~~~~~ -audio/layer3.c:1082:13: warning: unused variable 'i' [-Wunused-variable] - 1082 | int i; - | ^ -audio/layer3.c: In function 'mpeg3_layer_reset': -audio/layer3.c:1355:9: warning: implicit declaration of function 'mpeg3audio_reset_synths' [-Wimplicit-function-declaration] - 1355 | mpeg3audio_reset_synths(audio); - | ^~~~~~~~~~~~~~~~~~~~~~~ -audio/layer3.c: In function 'mpeg3_layer_header': audio/layer3.c:1509:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1509 | else | ^~~~ 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 && | ^~ -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/tables.c -o x86_64/audio/tables.lo +audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': +audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] + 915 | int i, j, k; + | ^ 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 libmpeg3.c -o x86_64/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 mpeg3atrack.c -o x86_64/mpeg3atrack.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 + + | ^~~~~ 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) | ~~~~~~~~~~~~~~~^~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3demux_open_title -mpeg3atrack.c: In function 'mpeg3_delete_atrack': -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 mpeg3atrack.c -o x86_64/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 mpeg3bits.c -o x86_64/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 mpeg3css_fake.c -o x86_64/mpeg3css_fake.lo libmpeg3.c: In function 'mpeg3_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; @@ -1804,19 +1840,27 @@ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ -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 x86_64/mpeg3bits.lo libmpeg3.c: In function 'mpeg3_set_cpus': libmpeg3.c:572:17: warning: implicit declaration of function 'mpeg3video_set_cpus'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] 572 | mpeg3video_set_cpus(file->vtrack[i]->video, cpus); | ^~~~~~~~~~~~~~~~~~~ | mpeg3video_next_code +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); + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3demux_open_title +mpeg3atrack.c: In function 'mpeg3_delete_atrack': +mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] + 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) + | ~~~~~~~~~^~~~ libmpeg3.c: In function 'mpeg3_set_sample': libmpeg3.c:618:17: warning: implicit declaration of function 'mpeg3audio_seek_sample'; did you mean 'mpeg3_set_sample'? [-Wimplicit-function-declaration] 618 | mpeg3audio_seek_sample(file->atrack[stream]->audio, sample); | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3_set_sample +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 x86_64/mpeg3demux.lo libmpeg3.c: In function 'mpeg3_set_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 mpeg3css_fake.c -o x86_64/mpeg3css_fake.lo libmpeg3.c:713:17: warning: implicit declaration of function 'mpeg3video_seek_frame'; did you mean 'mpeg3video_read_frame'? [-Wimplicit-function-declaration] 713 | mpeg3video_seek_frame(file->vtrack[stream]->video, frame); | ^~~~~~~~~~~~~~~~~~~~~ @@ -1826,31 +1870,6 @@ 727 | mpeg3video_seek_byte(file->vtrack[i]->video, byte); | ^~~~~~~~~~~~~~~~~~~~ | mpeg3bits_seek_byte -libmpeg3.c:733:17: warning: implicit declaration of function 'mpeg3audio_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] - 733 | mpeg3audio_seek_byte(file->atrack[i]->audio, byte); - | ^~~~~~~~~~~~~~~~~~~~ - | mpeg3bits_seek_byte -libmpeg3.c: In function 'mpeg3_previous_frame': -libmpeg3.c:757:24: warning: implicit declaration of function 'mpeg3video_previous_frame'; did you mean 'mpeg3_previous_frame'? [-Wimplicit-function-declaration] - 757 | return mpeg3video_previous_frame(file->vtrack[stream]->video); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3_previous_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 mpeg3demux.c -o x86_64/mpeg3demux.lo -libmpeg3.c: In function 'mpeg3_colormodel': -libmpeg3.c:858:24: warning: implicit declaration of function 'mpeg3video_colormodel'; did you mean 'mpeg3_colormodel'? [-Wimplicit-function-declaration] - 858 | return mpeg3video_colormodel(file->vtrack[stream]->video); - | ^~~~~~~~~~~~~~~~~~~~~ - | mpeg3_colormodel -libmpeg3.c: In function 'calculate_packet_size': -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 mpeg3ifo.c -o x86_64/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 x86_64/mpeg3io.lo -mpeg3bits.c: In function 'mpeg3bits_read_buffer': -mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] - 28 | int result, i = 0; - | ^ 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) @@ -1872,6 +1891,30 @@ 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) | ~~~~^~~~~~ +libmpeg3.c:733:17: warning: implicit declaration of function 'mpeg3audio_seek_byte'; did you mean 'mpeg3bits_seek_byte'? [-Wimplicit-function-declaration] + 733 | mpeg3audio_seek_byte(file->atrack[i]->audio, byte); + | ^~~~~~~~~~~~~~~~~~~~ + | mpeg3bits_seek_byte +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 x86_64/mpeg3ifo.lo +libmpeg3.c: In function 'mpeg3_previous_frame': +libmpeg3.c:757:24: warning: implicit declaration of function 'mpeg3video_previous_frame'; did you mean 'mpeg3_previous_frame'? [-Wimplicit-function-declaration] + 757 | return mpeg3video_previous_frame(file->vtrack[stream]->video); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3_previous_frame +mpeg3bits.c: In function 'mpeg3bits_read_buffer': +mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] + 28 | int result, i = 0; + | ^ +libmpeg3.c: In function 'mpeg3_colormodel': +libmpeg3.c:858:24: warning: implicit declaration of function 'mpeg3video_colormodel'; did you mean 'mpeg3_colormodel'? [-Wimplicit-function-declaration] + 858 | return mpeg3video_colormodel(file->vtrack[stream]->video); + | ^~~~~~~~~~~~~~~~~~~~~ + | mpeg3_colormodel +libmpeg3.c: In function 'calculate_packet_size': +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 mpeg3io.c -o x86_64/mpeg3io.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 x86_64/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 x86_64/mpeg3title.lo mpeg3demux.c: In function 'get_transport_pes_packet': @@ -1884,6 +1927,7 @@ 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 && | ^~ +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 x86_64/mpeg3tocutil.lo 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) @@ -1895,11 +1939,7 @@ mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] 791 | int i, j; | ^ -mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3demux.c: In function 'new_subtitle': -mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] - 177 | int result; - | ^~~~~~ mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] 825 | int i, j; | ^ @@ -1907,15 +1947,7 @@ mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] 1078 | } | ^ -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 'get_program_pes_packet': -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 x86_64/mpeg3tocutil.lo 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 && | ^~ @@ -1935,32 +1967,32 @@ 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 && | ^~ +audio/layer3.c: In function 'dequantize_sample': mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ +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], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ +mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] + 177 | int result; + | ^~~~~~ mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] 1445 | int count = 0; | ^~~~~ -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)) - | ^~~~~~~~~~~~ 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; @@ -1970,9 +2002,55 @@ mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ +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': mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] 1719 | int got_it = 0; | ^~~~~~ +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: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': +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; + | ^~ +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 'mpeg3demux_copy_titles': +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; + | ^ +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 +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 x86_64/mpeg3vtrack.lo +mpeg3ifo.c: In function 'get_ifo_playlist': +mpeg3demux.c: In function 'mpeg3_new_demuxer': +mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 362 | while(new_filename = readdir(dirstream)) + | ^~~~~~~~~~~~ +mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] + 2213 | int i; + | ^ 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); @@ -1984,21 +2062,17 @@ 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:2461:16: warning: unused variable 'j' [-Wunused-variable] + 2461 | int i, j; + | ^ 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: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': -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:2461:13: warning: unused variable 'i' [-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]; | ^~~~ @@ -2024,13 +2098,7 @@ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -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; - | ^~ +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 x86_64/video/getpicture.lo mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; @@ -2044,20 +2112,6 @@ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3demux_copy_titles': -mpeg3strack.c: In function 'mpeg3_get_strack': -mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] - 70 | int i; - | ^ -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': mpeg3title.c: In function 'extend_cell_table': mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] 82 | int i; @@ -2088,180 +2142,36 @@ 126 | int result = 0, done = 0, counter_start, counter; | ^~~~~~~~~~~~~ mpeg3title.c: In function 'mpeg3demux_print_cells': -mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] - 2461 | int i, j; - | ^ mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] 185 | mpeg3_t *file = title->file; | ^~~~ -mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] - 2461 | int i, j; - | ^ -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], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3demux_scan_pts': mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] 2414 | } | ^ mpeg3demux.c: In function 'mpeg3demux_goto_pts': -mpeg3tocutil.c: In function 'read_data': -mpeg3tocutil.c:112:1: warning: no return statement in function returning non-void [-Wreturn-type] - 112 | } - | ^ mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ -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; - | ^~~~~~~~~~ -mpeg3tocutil.c:142:13: warning: unused variable 'stream_type' [-Wunused-variable] - 142 | int stream_type; - | ^~~~~~~~~~~ -mpeg3tocutil.c:140:13: warning: unused variable 'file_type' [-Wunused-variable] - 140 | int file_type; - | ^~~~~~~~~ -mpeg3tocutil.c: In function 'mpeg3_start_toc': -mpeg3tocutil.c:526:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] - 526 | int toc_atracks = 0, toc_vtracks = 0; - | ^~~~~~~~~~~ -mpeg3tocutil.c:526:13: warning: unused variable 'toc_atracks' [-Wunused-variable] - 526 | int toc_atracks = 0, toc_vtracks = 0; - | ^~~~~~~~~~~ -mpeg3tocutil.c: In function 'divide_index': -mpeg3tocutil.c:577:25: warning: unused variable 'atrack' [-Wunused-variable] - 577 | mpeg3_atrack_t *atrack = file->atrack[track_number]; - | ^~~~~~ -mpeg3tocutil.c: In function 'mpeg3_update_index': -mpeg3tocutil.c:732:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] - 732 | if(index->index_size * atrack->channels * sizeof(float) * 2 > - | ^ -mpeg3tocutil.c: In function 'handle_audio': -mpeg3tocutil.c:745:19: warning: unused variable 'k' [-Wunused-variable] - 745 | int i, j, k; - | ^ -mpeg3tocutil.c:745:16: warning: unused variable 'j' [-Wunused-variable] - 745 | int i, j, k; - | ^ -mpeg3tocutil.c:745:13: warning: unused variable 'i' [-Wunused-variable] - 745 | int i, j, k; +mpeg3strack.c: In function 'mpeg3_get_strack': +mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] + 70 | int i; | ^ -mpeg3tocutil.c: In function 'handle_video': -mpeg3tocutil.c:860:29: warning: implicit declaration of function 'mpeg3video_get_header'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] - 860 | if(!mpeg3video_get_header(video, 0)) - | ^~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_next_code -mpeg3tocutil.c: In function 'handle_subtitle': -mpeg3tocutil.c:981:16: warning: unused variable 'j' [-Wunused-variable] - 981 | int i, j; - | ^ -mpeg3tocutil.c: In function 'mpeg3_do_toc': -mpeg3tocutil.c:1068:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1068 | if(custom_id == atrack->pid) - | ^~ -mpeg3tocutil.c:1119:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1119 | if(vtrack->pid == custom_id) - | ^~ -mpeg3tocutil.c:1024:13: warning: unused variable 'result' [-Wunused-variable] - 1024 | int result = mpeg3_read_next_packet(file->demuxer); - | ^~~~~~ -mpeg3tocutil.c:1014:19: warning: unused variable 'k' [-Wunused-variable] - 1014 | int i, j, k; - | ^ -mpeg3tocutil.c:1014:16: warning: unused variable 'j' [-Wunused-variable] - 1014 | int i, j, k; - | ^ -mpeg3tocutil.c: In function 'mpeg3_stop_toc': -mpeg3tocutil.c:1185:33: warning: unused variable 'atrack' [-Wunused-variable] - 1185 | mpeg3_atrack_t *atrack = file->atrack[i]; - | ^~~~~~ -mpeg3tocutil.c:1193:33: warning: unused variable 'atrack' [-Wunused-variable] - 1193 | mpeg3_atrack_t *atrack = file->atrack[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 mpeg3vtrack.c -o x86_64/mpeg3vtrack.lo -mpeg3tocutil.c: In function 'mpeg3_update_index': -mpeg3tocutil.c:738:1: warning: control reaches end of non-void function [-Wreturn-type] - 738 | } - | ^ -mpeg3tocutil.c: In function 'mpeg3_do_toc': -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/headers.c -o x86_64/video/headers.lo 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 video/getpicture.c -o x86_64/video/getpicture.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/headers.c -o x86_64/video/headers.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; - | ^~~~~~~~~~~~~ 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 x86_64/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 x86_64/video/macroblocks.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; - | ^~~~~~~~~~~~~~~~~ -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 x86_64/video/mmxtest.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 x86_64/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/mpeg3cache.c -o x86_64/video/mpeg3cache.lo +mpeg3tocutil.c: In function 'read_data': +mpeg3tocutil.c:112:1: warning: no return statement in function returning non-void [-Wreturn-type] + 112 | } + | ^ 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++])); | ^~~~~~~~~~~~~~~~~~~~~~ | mpeg3io_sync_buffer -video/getpicture.c:546:33: warning: implicit declaration of function 'mpeg3_expand_slice_buffer' [-Wimplicit-function-declaration] - 546 | mpeg3_expand_slice_buffer(slice_buffer); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -video/getpicture.c:517:22: warning: unused variable 'code' [-Wunused-variable] - 517 | unsigned int code; - | ^~~~ -video/getpicture.c:515:57: warning: unused parameter 'framenum' [-Wunused-parameter] - 515 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) - | ~~~~^~~~~~~~ -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])); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3_delete_demuxer -video/getpicture.c:630:25: warning: implicit declaration of function 'mpeg3_new_slice_decoder' [-Wimplicit-function-declaration] - 630 | mpeg3_new_slice_decoder(video, &(video->slice_decoders[i])); - | ^~~~~~~~~~~~~~~~~~~~~~~ -video/getpicture.c:616:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] - 616 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) - | ~~~~^~~~~~~~~~~~~ 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; @@ -2304,7 +2214,6 @@ video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ -video/getpicture.c: In function 'mpeg3video_getpicture': video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ @@ -2320,17 +2229,27 @@ video/headers.c:99:13: warning: variable 'colour_primaries' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~ -video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] - 721 | mpeg3video_display_second_field(video); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_quant_matrix_extension': +mpeg3tocutil.c: In function 'mpeg3_read_toc': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ +mpeg3tocutil.c:336:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] + 336 | int string_len = 0; + | ^~~~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': +video/getpicture.c:546:33: warning: implicit declaration of function 'mpeg3_expand_slice_buffer' [-Wimplicit-function-declaration] + 546 | mpeg3_expand_slice_buffer(slice_buffer); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ +mpeg3tocutil.c:142:13: warning: unused variable 'stream_type' [-Wunused-variable] + 142 | int stream_type; + | ^~~~~~~~~~~ +mpeg3tocutil.c:140:13: warning: unused variable 'file_type' [-Wunused-variable] + 140 | int file_type; + | ^~~~~~~~~ video/headers.c: In function 'mpeg3video_picture_display_extension': video/headers.c:196:15: warning: variable 'frame_centre_vertical_offset' set but not used [-Wunused-but-set-variable] 196 | short frame_centre_vertical_offset[3]; @@ -2338,16 +2257,29 @@ video/headers.c:195:15: warning: variable 'frame_centre_horizontal_offset' set but not used [-Wunused-but-set-variable] 195 | short frame_centre_horizontal_offset[3]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3tocutil.c: In function 'mpeg3_start_toc': video/headers.c: In function 'mpeg3video_picture_coding_extension': +video/getpicture.c:517:22: warning: unused variable 'code' [-Wunused-variable] + 517 | unsigned int code; + | ^~~~ video/headers.c:224:63: warning: variable 'sub_carrier_phase' set but not used [-Wunused-but-set-variable] 224 | int v_axis = 0, sub_carrier = 0, burst_amplitude = 0, sub_carrier_phase = 0; | ^~~~~~~~~~~~~~~~~ +mpeg3tocutil.c:526:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] + 526 | int toc_atracks = 0, toc_vtracks = 0; + | ^~~~~~~~~~~ video/headers.c:224:42: warning: variable 'burst_amplitude' set but not used [-Wunused-but-set-variable] 224 | int v_axis = 0, sub_carrier = 0, burst_amplitude = 0, sub_carrier_phase = 0; | ^~~~~~~~~~~~~~~ +video/getpicture.c:515:57: warning: unused parameter 'framenum' [-Wunused-parameter] + 515 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) + | ~~~~^~~~~~~~ video/headers.c:224:25: warning: variable 'sub_carrier' set but not used [-Wunused-but-set-variable] 224 | int v_axis = 0, sub_carrier = 0, burst_amplitude = 0, sub_carrier_phase = 0; | ^~~~~~~~~~~ +mpeg3tocutil.c:526:13: warning: unused variable 'toc_atracks' [-Wunused-variable] + 526 | int toc_atracks = 0, toc_vtracks = 0; + | ^~~~~~~~~~~ video/headers.c:224:13: warning: variable 'v_axis' set but not used [-Wunused-but-set-variable] 224 | int v_axis = 0, sub_carrier = 0, burst_amplitude = 0, sub_carrier_phase = 0; | ^~~~~~ @@ -2355,9 +2287,13 @@ 223 | int chroma_420_type, composite_display_flag; | ^~~~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': +mpeg3tocutil.c: In function 'divide_index': video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ +mpeg3tocutil.c:577:25: warning: unused variable 'atrack' [-Wunused-variable] + 577 | mpeg3_atrack_t *atrack = file->atrack[track_number]; + | ^~~~~~ video/headers.c: In function 'mpeg3video_getgophdr': video/headers.c:387:36: warning: variable 'broken_link' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; @@ -2372,20 +2308,129 @@ video/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ +mpeg3tocutil.c: In function 'mpeg3_update_index': video/headers.c:412:13: warning: variable 'temp_ref' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~ +mpeg3tocutil.c:732:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] + 732 | if(index->index_size * atrack->channels * sizeof(float) * 2 > + | ^ video/headers.c: In function 'mpeg3video_get_header': +mpeg3tocutil.c: In function 'handle_audio': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; | ^~~~~~~ +mpeg3tocutil.c:745:19: warning: unused variable 'k' [-Wunused-variable] + 745 | int i, j, k; + | ^ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ +mpeg3tocutil.c:745:16: warning: unused variable 'j' [-Wunused-variable] + 745 | int i, j, k; + | ^ +mpeg3tocutil.c:745:13: warning: unused variable 'i' [-Wunused-variable] + 745 | int i, j, k; + | ^ video/headers.c: In function 'mpeg3video_getslicehdr': 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; | ^~~~~~~~~~~ +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) + | ~~~~~~~~~^~~~ +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])); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3_delete_demuxer +mpeg3vtrack.c: At top level: +mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] + 70 | static int last_keyframe = 0; + | ^~~~~~~~~~~~~ +video/getpicture.c:630:25: warning: implicit declaration of function 'mpeg3_new_slice_decoder' [-Wimplicit-function-declaration] + 630 | mpeg3_new_slice_decoder(video, &(video->slice_decoders[i])); + | ^~~~~~~~~~~~~~~~~~~~~~~ +video/getpicture.c:616:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] + 616 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) + | ~~~~^~~~~~~~~~~~~ +mpeg3tocutil.c: In function 'handle_video': +mpeg3tocutil.c:860:29: warning: implicit declaration of function 'mpeg3video_get_header'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] + 860 | if(!mpeg3video_get_header(video, 0)) + | ^~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_next_code +mpeg3tocutil.c: In function 'handle_subtitle': +mpeg3tocutil.c:981:16: warning: unused variable 'j' [-Wunused-variable] + 981 | int i, j; + | ^ +mpeg3tocutil.c: In function 'mpeg3_do_toc': +mpeg3tocutil.c:1068:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1068 | if(custom_id == atrack->pid) + | ^~ +mpeg3tocutil.c:1119:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1119 | if(vtrack->pid == custom_id) + | ^~ +mpeg3tocutil.c:1024:13: warning: unused variable 'result' [-Wunused-variable] + 1024 | int result = mpeg3_read_next_packet(file->demuxer); + | ^~~~~~ +mpeg3tocutil.c:1014:19: warning: unused variable 'k' [-Wunused-variable] + 1014 | int i, j, k; + | ^ +mpeg3tocutil.c:1014:16: warning: unused variable 'j' [-Wunused-variable] + 1014 | int i, j, k; + | ^ +mpeg3tocutil.c: In function 'mpeg3_stop_toc': +mpeg3tocutil.c:1185:33: warning: unused variable 'atrack' [-Wunused-variable] + 1185 | mpeg3_atrack_t *atrack = file->atrack[i]; + | ^~~~~~ +video/getpicture.c: In function 'mpeg3video_getpicture': +mpeg3tocutil.c:1193:33: warning: unused variable 'atrack' [-Wunused-variable] + 1193 | mpeg3_atrack_t *atrack = file->atrack[i]; + | ^~~~~~ +video/getpicture.c:721:25: warning: implicit declaration of function 'mpeg3video_display_second_field' [-Wimplicit-function-declaration] + 721 | mpeg3video_display_second_field(video); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mpeg3tocutil.c: In function 'mpeg3_update_index': +mpeg3tocutil.c:738:1: warning: control reaches end of non-void function [-Wreturn-type] + 738 | } + | ^ +mpeg3tocutil.c: In function 'mpeg3_do_toc': +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/macroblocks.c -o x86_64/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 x86_64/video/mmxtest.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 x86_64/video/motion.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; + | ^~~~~~~~~~~~~~~~~ +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 x86_64/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 x86_64/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 x86_64/video/output.lo video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, @@ -2394,7 +2439,7 @@ 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/mpeg3video.c -o x86_64/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/reconstruct.c -o x86_64/video/reconstruct.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]; @@ -2405,6 +2450,60 @@ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ +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) + | ~~~~~~~~~~~~~~^~~~~ +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 x86_64/video/seek.lo video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -2412,6 +2511,7 @@ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ +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 x86_64/video/slice.lo video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:228:9: warning: implicit declaration of function 'mpeg3video_init_output'; did you mean 'mpeg3video_initdecoder'? [-Wimplicit-function-declaration] 228 | mpeg3video_init_output(); @@ -2420,16 +2520,33 @@ video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ +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/mpeg3video.c: In function 'mpeg3video_delete_struct': 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 -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 x86_64/video/output.lo 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])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | mpeg3_delete_demuxer +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 | ; + | ^ 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); @@ -2491,82 +2608,43 @@ 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/reconstruct.c -o x86_64/video/reconstruct.lo -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, - | ~~~~~~~~~~~~~~^~~~~ -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 x86_64/video/seek.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 x86_64/video/slice.lo -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/subtitle.c -o x86_64/video/subtitle.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 x86_64/video/vlc.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]; + | ^~~~ +video/slice.c: In function 'mpeg3_decode_slice': +video/slice.c:239:25: warning: implicit declaration of function 'mpeg3video_macroblock_modes'; did you mean 'mpeg3video_get_macroblock_address'? [-Wimplicit-function-declaration] + 239 | mpeg3video_macroblock_modes(slice, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_get_macroblock_address +video/slice.c:336:31: warning: implicit declaration of function 'mpeg3video_get_cbp'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] + 336 | cbp = mpeg3video_get_cbp(slice); + | ^~~~~~~~~~~~~~~~~~ + | mpeg3video_next_code +video/slice.c:354:17: warning: implicit declaration of function 'mpeg3video_clearblock'; did you mean 'mpeg3video_addblock'? [-Wimplicit-function-declaration] + 354 | mpeg3video_clearblock(slice, 0, video->blk_cnt); + | ^~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_addblock +video/slice.c:362:57: warning: implicit declaration of function 'mpeg3video_getmpg2intrablock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] + 362 | mpeg3video_getmpg2intrablock(slice, video, comp, dc_dct_pred); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_get_macroblocks +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_get_macroblocks +video/slice.c:369:57: warning: implicit declaration of function 'mpeg3video_getmpg2interblock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] + 369 | mpeg3video_getmpg2interblock(slice, video, comp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_get_macroblocks +video/slice.c:371:57: warning: implicit declaration of function 'mpeg3video_getinterblock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] + 371 | mpeg3video_getinterblock(slice, video, comp); + | ^~~~~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_get_macroblocks +video/slice.c:453:17: warning: implicit declaration of function 'mpeg3video_reconstruct'; did you mean 'mpeg3video_read_raw'? [-Wimplicit-function-declaration] + 453 | mpeg3video_reconstruct(video, + | ^~~~~~~~~~~~~~~~~~~~~~ + | mpeg3video_read_raw video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; @@ -2595,28 +2673,27 @@ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ +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; + | ^ +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 x86_64/video/subtitle.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 x86_64/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 x86_64/workarounds.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]; - | ^~~~ -video/slice.c: In function 'mpeg3_decode_slice': -video/slice.c:239:25: warning: implicit declaration of function 'mpeg3video_macroblock_modes'; did you mean 'mpeg3video_get_macroblock_address'? [-Wimplicit-function-declaration] - 239 | mpeg3video_macroblock_modes(slice, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_get_macroblock_address -video/slice.c:336:31: warning: implicit declaration of function 'mpeg3video_get_cbp'; did you mean 'mpeg3video_next_code'? [-Wimplicit-function-declaration] - 336 | cbp = mpeg3video_get_cbp(slice); - | ^~~~~~~~~~~~~~~~~~ - | mpeg3video_next_code +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/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; | ^ -video/slice.c:354:17: warning: implicit declaration of function 'mpeg3video_clearblock'; did you mean 'mpeg3video_addblock'? [-Wimplicit-function-declaration] - 354 | mpeg3video_clearblock(slice, 0, video->blk_cnt); - | ^~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_addblock video/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] 371 | float f, p, q, t; | ^ @@ -2642,40 +2719,6 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ -video/slice.c:362:57: warning: implicit declaration of function 'mpeg3video_getmpg2intrablock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] - 362 | mpeg3video_getmpg2intrablock(slice, video, comp, dc_dct_pred); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_get_macroblocks -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_get_macroblocks -video/slice.c:369:57: warning: implicit declaration of function 'mpeg3video_getmpg2interblock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] - 369 | mpeg3video_getmpg2interblock(slice, video, comp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_get_macroblocks -video/slice.c:371:57: warning: implicit declaration of function 'mpeg3video_getinterblock'; did you mean 'mpeg3video_get_macroblocks'? [-Wimplicit-function-declaration] - 371 | mpeg3video_getinterblock(slice, video, comp); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_get_macroblocks -video/slice.c:453:17: warning: implicit declaration of function 'mpeg3video_reconstruct'; did you mean 'mpeg3video_read_raw'? [-Wimplicit-function-declaration] - 453 | mpeg3video_reconstruct(video, - | ^~~~~~~~~~~~~~~~~~~~~~ - | mpeg3video_read_raw -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) @@ -2683,6 +2726,7 @@ video/getpicture.c:426:21: note: 'j' was declared here 426 | int val, i, j, sign, nc; | ^ +ar rcs x86_64/libmpeg3.a `cat x86_64/objs` 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: @@ -2697,7 +2741,6 @@ mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here 1091 | int decryption_offset; | ^~~~~~~~~~~~~~~~~ -ar rcs x86_64/libmpeg3.a `cat x86_64/objs` cc -shared -fPIC -Wl,-z,relro -Wl,-z,now -o x86_64/libmpeg3.so.2.1.8 \ x86_64/audio/ac3.lo x86_64/audio/dct.lo x86_64/audio/huffman.lo x86_64/audio/layer2.lo x86_64/audio/layer3.lo x86_64/audio/mpeg3audio.lo x86_64/audio/pcm.lo x86_64/audio/synthesizers.lo x86_64/audio/tables.lo x86_64/libmpeg3.lo x86_64/mpeg3atrack.lo x86_64/mpeg3bits.lo x86_64/mpeg3css_fake.lo x86_64/mpeg3demux.lo x86_64/mpeg3ifo.lo x86_64/mpeg3io.lo x86_64/mpeg3strack.lo x86_64/mpeg3title.lo x86_64/mpeg3tocutil.lo x86_64/mpeg3vtrack.lo x86_64/video/getpicture.lo x86_64/video/headers.lo x86_64/video/idct.lo x86_64/video/macroblocks.lo x86_64/video/mmxtest.lo x86_64/video/motion.lo x86_64/video/mpeg3cache.lo x86_64/video/mpeg3video.lo x86_64/video/output.lo x86_64/video/reconstruct.lo x86_64/video/seek.lo x86_64/video/slice.lo x86_64/video/subtitle.lo x86_64/video/vlc.lo x86_64/workarounds.lo \ -Wl,-soname -Wl,libmpeg3.so.2 -lm -lpthread -la52 @@ -2709,22 +2752,6 @@ 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 x86_64/mpeg3peek mpeg3peek.c x86_64/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 x86_64/mpeg3toc mpeg3toc.c x86_64/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 x86_64/mpeg3cat mpeg3cat.c x86_64/libmpeg3.so.2.1.8 -lm -lpthread -la52 -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")) - | ^~~ -mpeg3dump.c:30:35: warning: unused variable 'decompress_video' [-Wunused-variable] - 30 | int decompress_audio = 0, decompress_video = 0; - | ^~~~~~~~~~~~~~~~ -mpeg3dump.c:27:14: warning: unused variable 'total_samples' [-Wunused-variable] - 27 | long total_samples = 0; - | ^~~~~~~~~~~~~ -mpeg3dump.c:23:34: warning: unused variable 'output_rows' [-Wunused-variable] - 23 | unsigned char *output, **output_rows; - | ^~~~~~~~~~~ -mpeg3dump.c:23:24: warning: unused variable 'output' [-Wunused-variable] - 23 | unsigned char *output, **output_rows; - | ^~~~~~ mpeg3toc.c: In function 'main': mpeg3toc.c:21:19: warning: unused variable 'l' [-Wunused-variable] 21 | int i, j, l; @@ -2742,13 +2769,29 @@ 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")) + | ^~~ +mpeg3dump.c:30:35: warning: unused variable 'decompress_video' [-Wunused-variable] + 30 | int decompress_audio = 0, decompress_video = 0; + | ^~~~~~~~~~~~~~~~ +mpeg3dump.c:27:14: warning: unused variable 'total_samples' [-Wunused-variable] + 27 | long total_samples = 0; + | ^~~~~~~~~~~~~ +mpeg3dump.c:23:34: warning: unused variable 'output_rows' [-Wunused-variable] + 23 | unsigned char *output, **output_rows; + | ^~~~~~~~~~~ +mpeg3dump.c:23:24: warning: unused variable 'output' [-Wunused-variable] + 23 | unsigned char *output, **output_rows; + | ^~~~~~ 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 -j15 install DESTDIR=/build/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j16 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 x86_64/mpeg3dump x86_64/mpeg3peek x86_64/mpeg3toc x86_64/mpeg3cat /build/libmpeg3-1.8.dfsg/debian/tmp/usr/bin @@ -2783,11 +2826,11 @@ dh_gencontrol -O-Smakefile dh_md5sums -O-Smakefile dh_builddeb -O-Smakefile +dpkg-deb: building package 'mpeg3-utils' in '../mpeg3-utils_1.8.dfsg-3_amd64.deb'. +dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-3_amd64.deb'. dpkg-deb: building package 'libmpeg3-2' in '../libmpeg3-2_1.8.dfsg-3_amd64.deb'. -dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-3_amd64.deb'. dpkg-deb: building package 'libmpeg3-2-dbgsym' in '../libmpeg3-2-dbgsym_1.8.dfsg-3_amd64.deb'. -dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-3_amd64.deb'. -dpkg-deb: building package 'mpeg3-utils' in '../mpeg3-utils_1.8.dfsg-3_amd64.deb'. +dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libmpeg3_1.8.dfsg-3_amd64.buildinfo dpkg-genchanges --build=binary -O../libmpeg3_1.8.dfsg-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2795,12 +2838,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/624518/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/624518/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/1840748 and its subdirectories -I: Current time: Sun Apr 30 03:02:43 -12 2023 -I: pbuilder-time-stamp: 1682866963 +I: removing directory /srv/workspace/pbuilder/624518 and its subdirectories +I: Current time: Sun Jun 2 11:27:03 +14 2024 +I: pbuilder-time-stamp: 1717277223