Running as unit: rb-build-amd64_6-22835.service ==================================================================================== Tue Oct 1 10:50:30 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job reproducible_builder_amd64_6) on jenkins, called using "ionos5-amd64 ionos11-amd64" as arguments. Tue Oct 1 10:50:30 UTC 2024 - actually running "reproducible_build.sh" (md5sum 79f74068471242981be9b3b00196cbfb) as "/tmp/jenkins-script-Aqx8SVGM" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Tue Oct 1 10:50:30 UTC 2024 - checking /var/lib/jenkins/offline_nodes if ionos5-amd64.debian.net is marked as down. Tue Oct 1 10:50:30 UTC 2024 - checking via ssh if ionos5-amd64.debian.net is up. removed '/tmp/read-only-fs-test-1mIJLK' Tue Oct 1 10:50:31 UTC 2024 - checking /var/lib/jenkins/offline_nodes if ionos11-amd64.debian.net is marked as down. Tue Oct 1 10:50:31 UTC 2024 - checking via ssh if ionos11-amd64.debian.net is up. removed '/tmp/read-only-fs-test-3rIhrP' ok, let's check if libmpeg3 is building anywhere yet… ok, libmpeg3 is not building anywhere… UPDATE 1 ============================================================================= Initialising reproducibly build of libmpeg3 in unstable on amd64 on jenkins now. 1st build will be done on ionos5-amd64.debian.net. 2nd build will be done on ionos11-amd64.debian.net. ============================================================================= Tue Oct 1 10:50:42 UTC 2024 I: starting to build libmpeg3/unstable/amd64 on jenkins on '2024-10-01 10:50' Tue Oct 1 10:50:42 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_6/22835/console.log 1727779842 amd64 unstable libmpeg3 Tue Oct 1 10:50:42 UTC 2024 I: Downloading source for unstable/libmpeg3=1.8.dfsg-6 --2024-10-01 10:50:42-- http://deb.debian.org/debian/pool/main/libm/libmpeg3/libmpeg3_1.8.dfsg-6.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2319 (2.3K) [text/prs.lines.tag] Saving to: ‘libmpeg3_1.8.dfsg-6.dsc’ 0K .. 100% 273M=0s 2024-10-01 10:50:42 (273 MB/s) - ‘libmpeg3_1.8.dfsg-6.dsc’ saved [2319/2319] --2024-10-01 10:50:42-- http://deb.debian.org/debian/pool/main/libm/libmpeg3/libmpeg3_1.8.dfsg-6.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2319 (2.3K) [text/prs.lines.tag] Saving to: ‘libmpeg3_1.8.dfsg-6.dsc’ 0K .. 100% 273M=0s 2024-10-01 10:50:42 (273 MB/s) - ‘libmpeg3_1.8.dfsg-6.dsc’ saved [2319/2319] Tue Oct 1 10:50:42 UTC 2024 I: libmpeg3_1.8.dfsg-6.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: libmpeg3 Binary: mpeg3-utils, libmpeg3-2t64, libmpeg3-dev Architecture: any Version: 1.8.dfsg-6 Maintainer: Debian Multimedia Maintainers Uploaders: Petter Reinholdtsen , IOhannes m zmölnig (Debian/GNU) , Homepage: http://heroinewarrior.com/libmpeg3.php Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/multimedia-team/libmpeg3 Vcs-Git: https://salsa.debian.org/multimedia-team/libmpeg3.git Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.22.5), liba52-dev Package-List: libmpeg3-2t64 deb libs optional arch=any libmpeg3-dev deb libdevel optional arch=any mpeg3-utils deb utils optional arch=any Checksums-Sha1: 5a092b52ccf27094fc097434859820bfb49e7cef 2271709 libmpeg3_1.8.dfsg.orig.tar.bz2 09b0b6319787f0c60666e2926652c2af998a51ce 18096 libmpeg3_1.8.dfsg-6.debian.tar.xz Checksums-Sha256: e90e7de1dbc783c62c37c7096b91ed8bf175497d9a6b0b7bc42ae17f17616820 2271709 libmpeg3_1.8.dfsg.orig.tar.bz2 42b846b27fe97ba7b1ea84754d097da5526b8ff4705c7c87984e5d33f8642703 18096 libmpeg3_1.8.dfsg-6.debian.tar.xz Files: a217d58a359d3850cff18737f848ccdc 2271709 libmpeg3_1.8.dfsg.orig.tar.bz2 286efb8ef00919c17eaaa3804304caee 18096 libmpeg3_1.8.dfsg-6.debian.tar.xz Dgit: 60189f2fa00ac17a552928f2d9f5d386a39ec3d9 debian archive/debian/1.8.dfsg-6 https://git.dgit.debian.org/libmpeg3 -----BEGIN PGP SIGNATURE----- iQJKBAEBCAA0FiEEdAXnRVdICXNIABVttlAZxH96NvgFAmX+BOwWHGZvcnVtQHVt bGFldXRlLm11ci5hdAAKCRC2UBnEf3o2+MUtD/wIIvUPOieJ53d3wTPdq6LdtCBz zV8bAzBULMhvDQeIhvqVYN3aMxwyJzkcCpwvaS5uKJSqSqDYCrE6A2eCFrvfOb/7 s89N+tpgOCT4Ne2U6S+sid6zsmuMVVbwVMKRy430q0Qqfid/PUHeER/ikHKZ2/p2 lVRGM8aW7Rmrrw0Bh7bMbawhdIP0wOCsul2m5KQQUkiUp1tbIWYUoA83MJv7GSYd vGmSKnGq1WRCJcSpUaMO/dkcUSWqDa4rKdg9xbT3YYANUckM82k5oYftI6c7tzLq 909jgB3rDLcRJrQJpTzKYkdKHKCSmOc7vrF8XVZHOJLY8uIYtoQY4eSprOffISbi IyBBVU0C3PmAN3ITccY1BZ1VlMS0VVbOnkrIO5azsVhtTa9UKxnHBRxQbQdG/Jb3 F30pqe6wel+oP7k4z6vXiXXQlai/zFzchPqhw1BeOV6rPH17UVqsv9uVEWVVFdLw QmNNcK9t0hCG4eGsX73d+UM3v3G8Xfa2c2zVjICFmEprVz6WBLAslWkQtB/WeIpR UvH8DalKMJyVMW1ztD3CtR2etfutiq2kdkOl8qusccrfKRVb664GxpoSK+laGkn+ UpGIWtqhqFvtY1lLBCfLB+rAIYu5qiVozftAKXGiM52EvxrZOI9UJpX3xBd/3i7L OHKYOMZTQ4UMDhGCAA== =lU4C -----END PGP SIGNATURE----- Tue Oct 1 10:50:42 UTC 2024 I: Checking whether the package is not for us Tue Oct 1 10:50:42 UTC 2024 I: Starting 1st build on remote node ionos5-amd64.debian.net. Tue Oct 1 10:50:42 UTC 2024 I: Preparing to do remote build '1' on ionos5-amd64.debian.net. Tue Oct 1 10:50:42 UTC 2024 - checking /var/lib/jenkins/offline_nodes if ionos5-amd64.debian.net is marked as down. Tue Oct 1 10:50:42 UTC 2024 - checking via ssh if ionos5-amd64.debian.net is up. removed '/tmp/read-only-fs-test-b1Kk8O' ==================================================================================== Mon Nov 3 17:13:42 UTC 2025 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos5-amd64, called using "1 libmpeg3 unstable /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO 1.8.dfsg-6" as arguments. Mon Nov 3 17:13:42 UTC 2025 - actually running "reproducible_build.sh" (md5sum 79f74068471242981be9b3b00196cbfb) as "/tmp/jenkins-script-2cStHaTb" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Mon Nov 3 17:13:42 UTC 2025 I: Downloading source for unstable/libmpeg3=1.8.dfsg-6 Reading package lists... NOTICE: 'libmpeg3' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/multimedia-team/libmpeg3.git Please use: git clone https://salsa.debian.org/multimedia-team/libmpeg3.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2292 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (dsc) [2319 B] Get:2 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (tar) [2272 kB] Get:3 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (diff) [18.1 kB] Fetched 2292 kB in 0s (26.4 MB/s) Download complete and in download only mode Reading package lists... NOTICE: 'libmpeg3' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/multimedia-team/libmpeg3.git Please use: git clone https://salsa.debian.org/multimedia-team/libmpeg3.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2292 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (dsc) [2319 B] Get:2 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (tar) [2272 kB] Get:3 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (diff) [18.1 kB] Fetched 2292 kB in 0s (26.4 MB/s) Download complete and in download only mode ============================================================================= Building libmpeg3 in unstable on amd64 on ionos5-amd64 now. Date: Mon Nov 3 17:13:42 UTC 2025 Date UTC: Mon Nov 3 17:13:42 UTC 2025 ============================================================================= W: /root/.pbuilderrc does not exist I: Logging to b1/build.log I: pbuilder: network access will be disabled during build I: Current time: Mon Nov 3 05:13:42 -12 2025 I: pbuilder-time-stamp: 1762190022 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [libmpeg3_1.8.dfsg-6.dsc] I: copying [./libmpeg3_1.8.dfsg.orig.tar.bz2] I: copying [./libmpeg3_1.8.dfsg-6.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Mar 22 22:23:40 2024 gpgv: using RSA key 7405E745574809734800156DB65019C47F7A36F8 gpgv: issuer "forum@umlaeute.mur.at" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libmpeg3_1.8.dfsg-6.dsc: no acceptable signature found dpkg-source: info: extracting libmpeg3 in libmpeg3-1.8.dfsg dpkg-source: info: unpacking libmpeg3_1.8.dfsg.orig.tar.bz2 dpkg-source: info: unpacking libmpeg3_1.8.dfsg-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 1000-debian-build-rules.patch dpkg-source: info: applying 1010-alpha-largefile.patch dpkg-source: info: applying 1020-prototype-free.patch dpkg-source: info: applying 1030-fix-format-security-error.patch dpkg-source: info: applying 1040-fix-video-alpha.patch dpkg-source: info: applying 1050-fix-fake-css.patch dpkg-source: info: applying 1060-handle-hdv-m2t.patch dpkg-source: info: applying 1070-fix-format-strings.patch dpkg-source: info: applying 1080-missing-include.patch dpkg-source: info: applying 1090-missing-prototypes.patch dpkg-source: info: applying 1100-header-comment-fix.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2656771/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' 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=42 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='1b95d91a4b474bc4ba53036642aaf81b' 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='2656771' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/pbuilderrc_sOOp --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b1 --logfile b1/build.log libmpeg3_1.8.dfsg-6.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://213.165.73.152:3128' I: uname -a Linux ionos5-amd64 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2656771/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dpkg-dev (>= 1.22.5), liba52-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19785 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on liba52-dev; however: Package liba52-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} liba52-0.7.4{a} liba52-0.7.4-dev{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After unpacking 75.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-8 [97.3 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.191-2 [188 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5 [9396 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.1 [699 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4 amd64 0.7.4-20+b1 [33.8 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4-dev amd64 0.7.4-20+b1 [52.9 kB] Fetched 19.9 MB in 0s (124 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 ... 19785 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-8_amd64.deb ... Unpacking bsdextrautils (2.40.2-8) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.191-2_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../23-libicu72_72.1-5_amd64.deb ... Unpacking libicu72:amd64 (72.1-5) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package liba52-0.7.4:amd64. Preparing to unpack .../29-liba52-0.7.4_0.7.4-20+b1_amd64.deb ... Unpacking liba52-0.7.4:amd64 (0.7.4-20+b1) ... Selecting previously unselected package liba52-0.7.4-dev. Preparing to unpack .../30-liba52-0.7.4-dev_0.7.4-20+b1_amd64.deb ... Unpacking liba52-0.7.4-dev (0.7.4-20+b1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-5) ... Setting up bsdextrautils (2.40.2-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-2) ... Setting up liba52-0.7.4:amd64 (0.7.4-20+b1) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up liba52-0.7.4-dev (0.7.4-20+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/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-6_source.changes dpkg-buildpackage: info: source package libmpeg3 dpkg-buildpackage: info: source version 1.8.dfsg-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by IOhannes m zmölnig (Debian/GNU) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean -Smakefile dh_auto_clean -O-Smakefile make -j42 clean make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' rm -rf x86_64 make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_clean -O-Smakefile debian/rules binary dh binary -Smakefile dh_update_autotools_config -O-Smakefile dh_autoreconf -O-Smakefile dh_auto_configure -O-Smakefile dh_auto_build -O-Smakefile make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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/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:489:60: note: expected 'unsigned char *' but argument is of type 'char *' 489 | 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': mpeg3atrack.c: In function 'mpeg3_delete_atrack': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) | ~~~~~~~~~^~~~ audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, | ^~~~~ | | | char * In file included from audio/ac3.c:5: /usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, | ~~~~~~~~~~^~~ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/motion.c: In function 'mpeg3video_motion_vectors': video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; | ^~~~~~ video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] 10 | FILE *proc; | ^~~~ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:15:41: warning: variable 'vbv_buffer_size' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~~~~ video/headers.c:15:27: warning: unused variable 'picture_rate' [-Wunused-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:15:13: warning: variable 'aspect_ratio' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:13:18: warning: unused variable 'file' [-Wunused-variable] 13 | mpeg3_t *file = video->file; | ^~~~ video/headers.c: In function 'mpeg3video_sequence_extension': video/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; | ^~~ video/headers.c:73:37: warning: variable 'frame_rate_extension_d' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:73:13: warning: variable 'frame_rate_extension_n' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:60: warning: variable 'low_delay' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~ video/headers.c:72:33: warning: variable 'vbv_buffer_size_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:13: warning: variable 'bit_rate_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~ libmpeg3.c: In function 'mpeg3_new': video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; | ^ video/headers.c: In function 'mpeg3video_sequence_display_extension': mpeg3title.c: In function 'extend_cell_table': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] 82 | int i; | ^ video/headers.c:100:38: warning: variable 'display_vertical_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~ video/headers.c:100:13: warning: variable 'display_horizontal_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:99:35: warning: variable 'transfer_characteristics' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/headers.c: In function 'mpeg3video_quant_matrix_extension': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ 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; | ^~~~~~~ libmpeg3.c: In function 'is_bd': mpeg3title.c:126:35: warning: unused variable 'counter_start' [-Wunused-variable] 126 | int result = 0, done = 0, counter_start, counter; | ^~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | (!ext || ext && | ~~~~^~ 152 | (!strncasecmp(ext, ".m2ts", 5) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | !strncasecmp(ext, ".mts", 4))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) | ~~~~~~~~~^~~~~ audio/pcm.c: In function 'mpeg3audio_dopcm': mpeg3title.c: In function 'mpeg3demux_print_cells': 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 + | ^~~~~ mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] 185 | mpeg3_t *file = title->file; | ^~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/output.c: In function 'mpeg3video_ditherframe': 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] 141 | int uv_subscript, step, w = -1; | ^~~~ 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; | ^~~~~~~~~~~~~~~~~ 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/reconstruct.c: In function 'recon_comp': video/output.c:281:67: warning: unused parameter 'src' [-Wunused-parameter] 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~~^~~~~ video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] 418 | void recon_comp(mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ 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; | ^~~~~~~~~~~~~~~ mpeg3strack.c: In function 'mpeg3_new_strack': mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); | ^~~~~~~~~~~~~~ video/output.c: In function 'mpeg3video_dithertop444': mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element 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; | ^~~~~~~~~~~ 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/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; | ^~~~~~ mpeg3vtrack.c: In function 'mpeg3_new_vtrack': 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': mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] 11 | int result = 0; | ^~~~~~ video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~^~~~~ video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] 223 | int chroma_420_type, composite_display_flag; | ^~~~~~~~~~~~~~~ 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; | ^ 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) | ~~~~~~~~~^~~~ 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++) | ^~ libmpeg3.c: In function 'copy_subtitles': video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] 396 | int i, j; | ^ video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ 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) | ~~~~~~~~~~~~~~~^~~~~ video/reconstruct.c: In function 'mpeg3video_reconstruct': video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 619 | ; | ^ video/headers.c: In function 'mpeg3video_getgophdr': audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 369 | for(i = sblimit; i < SBLIMIT; i++) | ^~~ libmpeg3.c: In function 'mpeg3_open_copy': 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; | ^~~~~~ 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; | ^~~~~~~~~~~ audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] 276 | int d1, step, test; | ^~~~ libmpeg3.c:413:13: warning: unused variable 'result' [-Wunused-variable] 413 | int result = 0; | ^~~~~~ video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~~ video/output.c: In function 'mpeg3video_present_frame': audio/layer2.c: In function 'mpeg3audio_dolayer2': 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; | ^ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ 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 * video/output.c:348:16: warning: unused variable 'j' [-Wunused-variable] 348 | int i, j, k, l; | ^ In file included from audio/layer2.c:8: ./mpeg3protos.h:489:60: note: expected 'unsigned char *' but argument is of type 'char *' 489 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); | ~~~~~~~~~~~~~~~^~~~~~ video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~ video/output.c: In function 'mpeg3video_display_second_field': video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 691 | ; | ^ video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] 499 | int mpeg3video_display_second_field(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ video/headers.c: In function 'mpeg3video_getpicturehdr': audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ 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/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ video/headers.c:412:13: warning: variable 'temp_ref' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~ video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 757 | ; | ^ video/headers.c: In function 'mpeg3video_get_header': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; | ^~~~~~~ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ 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; | ^~~~~~~~~~~ video/slice.c: In function 'mpeg3video_addblock': video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] 62 | int spar = slice->sparse[comp]; | ^~~~ 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; | ^~~~~~ video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; | ^~~~~~~ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; | ^~~~~~~~~ video/mpeg3video.c:405:51: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~ video/getpicture.c: In function 'mpeg3video_get_macroblocks': video/mpeg3video.c:405:43: warning: variable 'second' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] 518 | unsigned int code; | ^~~~ video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ libmpeg3.c: In function 'calculate_packet_size': video/mpeg3video.c: In function 'mpeg3video_set_cpus': libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ video/getpicture.c: In function 'mpeg3video_allocate_decoders': video/mpeg3video.c:539:50: warning: unused parameter 'cpus' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~^~~~ video/mpeg3video.c: In function 'mpeg3video_set_mmx': video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) | ~~~~^~~~~~~~~~~~~ video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ 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 && | ^~ video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; | ^ 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 && | ^~ video/seek.c: In function 'mpeg3video_seek_byte': video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ 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 && | ^~ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ mpeg3ifo.c: In function 'ifo_open': mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); | ^~~~~ mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element video/seek.c: In function 'mpeg3video_seek': video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] 218 | int match_refframes = 1; | ^~~~~~~~~~~~~~~ video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] 211 | int attempts; | ^~~~~~~~ video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] 210 | int back_step; | ^~~~~~~~~ mpeg3ifo.c: In function 'program_map': video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ 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; | ^ mpeg3demux.c: In function 'read_transport': 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: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 'get_ifo_header': mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); | ^~~~~~~ mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; | ^ mpeg3demux.c: In function 'remove_subtitle': 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:791:13: warning: unused variable 'i' [-Wunused-variable] 791 | int i, j; | ^ mpeg3ifo.c: In function 'celladdresses': mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^~~~~~~~~~~~~~~ mpeg3demux.c: In function 'new_subtitle': mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 851 | calloc(sizeof(mpeg3_subtitle_t), 1); | ^~~~~~~~~~~~~~~~ mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] 825 | int i, j; | ^ mpeg3ifo.c: In function 'finaltable': mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~~~ mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] 630 | int done; | ^~~~ mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] 629 | int output_cell = 0; | ^~~~~~~~~~~ mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~~~~~~ mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ mpeg3demux.c: In function 'handle_pcm': mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] 1078 | } | ^ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~~ mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ mpeg3demux.c: In function 'get_program_pes_packet': audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' 339 | REFRESH_MASK; | ^~~~~~~~~~~~ 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/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' 354 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' 382 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3demux.c:1257:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1257 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1258 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' 414 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1300 | if(demuxer->custom_id == demuxer->vstream && | ^~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' 543 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if(demuxer->custom_id == demuxer->vstream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' 558 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' 585 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' 619 | REFRESH_MASK; | ^~~~~~~~~~~~ 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 && | ^~ mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ audio/layer3.c: In function 'hybrid': video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; | ^ audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ video/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] 371 | float f, p, q, t; | ^ audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] 78 | int got_alpha = 0; | ^~~~~~~~~ video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] 29 | int even_offset = 0; | ^~~~~~~~~~~ audio/layer3.c: In function 'antialias': audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ video/subtitle.c: In function 'mpeg3_decode_subtitle': video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ mpeg3tocutil.c: In function 'read_data': audio/layer3.c: In function 'calc_i_stereo': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ mpeg3demux.c: In function 'mpeg3demux_read_program': audio/layer3.c:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] 1445 | int count = 0; | ^~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': audio/layer3.c:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ mpeg3demux.c: In function 'mpeg3_seek_phys': audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] 1679 | if(!demuxer->titles) return 1; | ^ In file included from libmpeg3.h:8, from mpeg3demux.c:1: mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] 1083 | int i; | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); | ^~~~~~~~~~~~~ mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 271 | index->index_data = calloc(sizeof(float*), channels); | ^~~~~ mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 274 | index->index_data[j] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] 1719 | int got_it = 0; | ^~~~~~ mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element audio/layer3.c: In function 'mpeg3_layer_header': mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] 1718 | int64_t last_byte = demuxer->program_byte; | ^~~~~~~~~ audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1510 | else | ^~~~ audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1514 | if(layer_data->samplerate != 0 && | ^~ 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; | ^~ audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, | ^~~~~ | | | char * In file included from audio/ac3.c:5: /usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, | ~~~~~~~~~~^~~ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ 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': mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] 1922 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] 143 | int stream_type; | ^~~~~~~~~~~ mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] 141 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c: In function 'divide_index': mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; | ^~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c: In function 'mpeg3_new_demuxer': mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 645 | new_index_data[i] = calloc(sizeof(float), | ^~~~~ mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] 2213 | int i; | ^ mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 660 | index->index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > | ^ mpeg3tocutil.c: In function 'handle_audio': mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ audio/mpeg3audio.c: In function 'read_frame': mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 329 | float **new_output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element 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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' 203 | char *frame, | ~~~~~~^~~~~ 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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' 196 | 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:189:15: note: expected 'char *' but argument is of type 'unsigned char *' 189 | char *frame, | ~~~~~~^~~~~ mpeg3tocutil.c: In function 'handle_subtitle': 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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' 211 | char *frame, | ~~~~~~^~~~~ 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 + | ^~~~~ mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] 982 | int i, j; | ^ audio/mpeg3audio.c: In function 'get_length': mpeg3tocutil.c: In function 'mpeg3_do_toc': audio/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] 446 | int try = 0; | ^~~ mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1069 | if(custom_id == atrack->pid) | ^~ 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) | ~~~~~~~~~^~~~ mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if(vtrack->pid == custom_id) | ^~ audio/mpeg3audio.c: In function 'mpeg3audio_new': audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 605 | audio->output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] 1015 | int i, j, k; | ^ mpeg3tocutil.c:1015:16: warning: unused variable 'j' [-Wunused-variable] 1015 | int i, j, k; | ^ audio/mpeg3audio.c: In function 'seek': mpeg3tocutil.c: In function 'mpeg3_stop_toc': audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] 646 | int result = 0; | ^~~~~~ audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] 1186 | mpeg3_atrack_t *atrack = file->atrack[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': mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ audio/mpeg3audio.c: In function 'read_frame': audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] 806 | int i; | ^ audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 329 | float **new_output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] 803 | long max_size) | ~~~~~^~~~~~~~ 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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' 203 | char *frame, | ~~~~~~^~~~~ 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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' 196 | 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:189:15: note: expected 'char *' but argument is of type 'unsigned char *' 189 | char *frame, | ~~~~~~^~~~~ audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': 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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' 211 | 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/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 'mpeg3audio_new': audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 605 | audio->output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c: In function 'mpeg3demux_scan_pts': audio/mpeg3audio.c: In function 'seek': mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] 2414 | } | ^ mpeg3demux.c: In function 'mpeg3demux_goto_pts': audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] 646 | int result = 0; | ^~~~~~ audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 957 | new_output = calloc(sizeof(float), new_size); | ^~~~~ audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': audio/mpeg3audio.c:791:25: warning: unused variable 'track' [-Wunused-variable] 791 | mpeg3_atrack_t *track = audio->track; | ^~~~~ mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ 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) | ~~~~~^~~~~~~~ audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 957 | new_output = calloc(sizeof(float), new_size); | ^~~~~ audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' 339 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' 354 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' 382 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' 414 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' 543 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' 558 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' 585 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' 619 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': audio/layer3.c: In function 'hybrid': mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c: In function 'antialias': mpeg3tocutil.c: In function 'mpeg3_do_toc': audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ audio/layer3.c: In function 'calc_i_stereo': audio/layer3.c:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': audio/layer3.c:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] 1083 | int i; | ^ audio/layer3.c: In function 'mpeg3_layer_header': audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1510 | else | ^~~~ audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1514 | if(layer_data->samplerate != 0 && | ^~ mpeg3tocutil.c: At top level: mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] 11 | static FILE *test_file = 0; | ^~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 video/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) | ^ video/getpicture.c:220:21: note: 'j' was declared here 220 | int val, i, j, sign; | ^ 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) | ~~~~^~~~~~ mpeg3bits.c: In function 'mpeg3bits_read_buffer': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ 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_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; | ^ libmpeg3.c: In function 'is_bd': libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | (!ext || ext && | ~~~~^~ 152 | (!strncasecmp(ext, ".m2ts", 5) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | !strncasecmp(ext, ".mts", 4))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) | ~~~~~~~~~^~~~~ mpeg3strack.c: In function 'mpeg3_new_strack': mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); | ^~~~~~~~~~~~~~ mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ libmpeg3.c: In function 'copy_subtitles': libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] 396 | int i, j; | ^ mpeg3vtrack.c: In function 'mpeg3_new_vtrack': 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) | ~~~~~~~~~^~~~ libmpeg3.c: In function 'mpeg3_open_copy': 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:413:13: warning: unused variable 'result' [-Wunused-variable] 413 | int result = 0; | ^~~~~~ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ 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; | ^~~~~~~~~~~~~ mpeg3vtrack.c: At top level: mpeg3title.c:129:27: warning: unused variable 'prev_time' [-Wunused-variable] 129 | double next_time, prev_time, absolute_time; | ^~~~~~~~~ mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] 70 | static int last_keyframe = 0; | ^~~~~~~~~~~~~ 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; | ^~~~ mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ libmpeg3.c: In function 'calculate_packet_size': libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); | ^~~~~~~~~~~~~ mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element 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 && | ^~ mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 271 | index->index_data = calloc(sizeof(float*), channels); | ^~~~~ 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 && | ^~ mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 274 | index->index_data[j] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element 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 && | ^~ mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element 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) + | ^~~~~~~ mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] 143 | int stream_type; | ^~~~~~~~~~~ mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] 141 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': mpeg3demux.c: In function 'remove_subtitle': mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] 791 | int i, j; | ^ mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3demux.c: In function 'new_subtitle': mpeg3tocutil.c: In function 'divide_index': mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 851 | calloc(sizeof(mpeg3_subtitle_t), 1); | ^~~~~~~~~~~~~~~~ mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; | ^~~~~~ mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] 825 | int i, j; | ^ mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 645 | new_index_data[i] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 660 | index->index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element video/getpicture.c: In function 'mpeg3video_get_macroblocks': mpeg3demux.c: In function 'handle_pcm': video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] 518 | unsigned int code; | ^~~~ mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > | ^ mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] 1078 | } | ^ video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ video/getpicture.c: In function 'mpeg3video_allocate_decoders': mpeg3tocutil.c: In function 'handle_audio': video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) | ~~~~^~~~~~~~~~~~~ mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3demux.c: In function 'get_program_pes_packet': mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ 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 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1258 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:15:41: warning: variable 'vbv_buffer_size' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~~~~ video/headers.c:15:27: warning: unused variable 'picture_rate' [-Wunused-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:15:13: warning: variable 'aspect_ratio' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:13:18: warning: unused variable 'file' [-Wunused-variable] 13 | mpeg3_t *file = video->file; | ^~~~ video/headers.c: In function 'mpeg3video_sequence_extension': video/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; | ^~~ video/headers.c:73:37: warning: variable 'frame_rate_extension_d' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:73:13: warning: variable 'frame_rate_extension_n' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:60: warning: variable 'low_delay' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~ video/headers.c:72:33: warning: variable 'vbv_buffer_size_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:13: warning: variable 'bit_rate_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~ video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_display_extension': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ video/headers.c:100:38: warning: variable 'display_vertical_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~ video/headers.c:100:13: warning: variable 'display_horizontal_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:99:35: warning: variable 'transfer_characteristics' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ mpeg3tocutil.c: In function 'handle_subtitle': 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/headers.c: In function 'mpeg3video_quant_matrix_extension': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1300 | if(demuxer->custom_id == demuxer->vstream && | ^~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] 982 | int i, j; | ^ video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_do_toc': 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:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if(demuxer->custom_id == demuxer->vstream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~ mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1069 | if(custom_id == atrack->pid) | ^~ 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; | ^~~~~~~~~~~ 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; | ^~~~~~ video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] 223 | int chroma_420_type, composite_display_flag; | ^~~~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if(vtrack->pid == custom_id) | ^~ 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; | ^~~~~~~~~~~ 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 && | ^~ video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~~ video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~ mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ video/headers.c: In function 'mpeg3video_getpicturehdr': mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ video/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] 177 | int result; | ^~~~~~ mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] 1015 | int i, j, k; | ^ 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:1015:16: warning: unused variable 'j' [-Wunused-variable] 1015 | int i, j, k; | ^ video/headers.c: In function 'mpeg3video_get_header': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; | ^~~~~~~ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ mpeg3tocutil.c: In function 'mpeg3_stop_toc': mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ video/headers.c: In function 'mpeg3video_getslicehdr': mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] 1186 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ 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:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3io.c: In function 'mpeg3io_complete_path': mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ 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:1445:13: warning: unused variable 'count' [-Wunused-variable] 1445 | int count = 0; | ^~~~~ mpeg3ifo.c: In function 'ifo_open': mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); | ^~~~~ mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element 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; | ^ mpeg3ifo.c: In function 'program_map': In file included from libmpeg3.h:8, from mpeg3demux.c:1: mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ mpeg3ifo.c: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)) | ^~~~~~~~~~~~ video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] 1719 | int got_it = 0; | ^~~~~~ video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 412 | if(j != 0) | ^ video/getpicture.c:309:21: note: 'j' was declared here 309 | int val, i, j, sign, nc; | ^ 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); | ^~~~~~~ audio/layer3.c: In function 'dequantize_sample': mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] 1718 | int64_t last_byte = demuxer->program_byte; | ^~~~~~~~~ audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] 680 | while(xrpnt < &xr[SBLIMIT][0]) | ^~~~~~~~~~~~~~~ audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] 236 | float xr[SBLIMIT][SSLIMIT], | ~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c: In function 'cellplayinfo': mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] 1716 | int last_cell = demuxer->title_cell; | ^~~~~~~~~ mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; | ^ mpeg3demux.c: In function 'next_code': mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) | ^~~~~~~~~~~ mpeg3ifo.c: In function 'celladdresses': mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] 1753 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^~~~~~~~~~~~~~~ mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ mpeg3demux.c: In function 'mpeg3_read_next_packet': mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] 1782 | int current_position; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c: In function 'finaltable': mpeg3demux.c: In function 'prev_code': mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~~~ mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] 630 | int done; | ^~~~ mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] 1922 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] 629 | int output_cell = 0; | ^~~~~~~~~~~ mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~~~~~~ mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] 680 | while(xrpnt < &xr[SBLIMIT][0]) | ^~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3_new_demuxer': mpeg3ifo.c: In function 'mpeg3_read_ifo': audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] 236 | float xr[SBLIMIT][SSLIMIT], | ~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~~ mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] 2213 | int i; | ^ mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ mpeg3tocutil.c: In function 'mpeg3_do_toc': mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3tocutil.c: At top level: mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] 11 | static FILE *test_file = 0; | ^~~~~~~~~ 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': mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 507 | if(j != 0) | ^ video/getpicture.c:427:21: note: 'j' was declared here 427 | int val, i, j, sign, nc; | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reconstruct.c: In function 'recon_comp': video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] 418 | void recon_comp(mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/reconstruct.c: In function 'mpeg3video_reconstruct': video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 619 | ; | ^ video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 691 | ; | ^ video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 757 | ; | ^ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/motion.c: In function 'mpeg3video_motion_vectors': video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; | ^ video/seek.c: In function 'mpeg3video_seek_byte': video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; | ^~~~~~~ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ video/seek.c: In function 'mpeg3video_seek': video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] 218 | int match_refframes = 1; | ^~~~~~~~~~~~~~~ video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] 211 | int attempts; | ^~~~~~~~ video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] 210 | int back_step; | ^~~~~~~~~ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; | ^~~~~~ video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] 10 | FILE *proc; | ^~~~ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; | ^~~~~~~~~ video/mpeg3video.c:405:51: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~ video/mpeg3video.c:405:43: warning: variable 'second' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ video/mpeg3video.c: In function 'mpeg3video_set_cpus': video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ video/mpeg3video.c:539:50: warning: unused parameter 'cpus' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~^~~~ video/mpeg3video.c: In function 'mpeg3video_set_mmx': video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ 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/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] 78 | int got_alpha = 0; | ^~~~~~~~~ video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] 29 | int even_offset = 0; | ^~~~~~~~~~~ video/subtitle.c: In function 'mpeg3_decode_subtitle': video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ In function 'handle_scrambling', inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] 777 | if(mpeg3_decrypt_packet(title->fs->css, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | buffer_ptr, | ~~~~~~~~~~~ 779 | decryption_offset)) | ~~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here 1091 | int decryption_offset; | ^~~~~~~~~~~~~~~~~ video/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) | ^ video/getpicture.c:220:21: note: 'j' was declared here 220 | int val, i, j, sign; | ^ video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 412 | if(j != 0) | ^ video/getpicture.c:309:21: note: 'j' was declared here 309 | int val, i, j, sign, nc; | ^ video/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 507 | if(j != 0) | ^ video/getpicture.c:427:21: note: 'j' was declared here 427 | int val, i, j, sign, nc; | ^ 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; | ^~~~~~~~~~~~~~~~~ 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 ( cd x86_64; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so.2 \ ) cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/mpeg3dump mpeg3dump.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3toc.c: In function 'main': mpeg3toc.c:21:19: warning: unused variable 'l' [-Wunused-variable] 21 | int i, j, l; | ^ mpeg3toc.c:21:16: warning: unused variable 'j' [-Wunused-variable] 21 | int i, j, l; | ^ 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; | ^~~~~~ mpeg3cat.c: In function 'main': mpeg3cat.c:148:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 148 | if(out = fopen(outpath, "r")) | ^~~ mpeg3cat.c:237:33: warning: variable 'gop_frame' set but not used [-Wunused-but-set-variable] 237 | int64_t gop_frame; | ^~~~~~~~~ mpeg3cat.c:104:22: warning: unused variable 'bits' [-Wunused-variable] 104 | unsigned int bits; | ^~~~ make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_auto_test -O-Smakefile create-stamp debian/debhelper-build-stamp dh_prep -O-Smakefile dh_auto_install -O-Smakefile make -j42 install DESTDIR=/build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -m 755 x86_64/mpeg3dump x86_64/mpeg3peek x86_64/mpeg3toc x86_64/mpeg3cat /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib cp -dp x86_64/libmpeg3.a x86_64/libmpeg3.so.2.1.8 x86_64/libmpeg3.so.2 x86_64/libmpeg3.so /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/audio install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/video install -m 644 *.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include install -m 644 audio/*.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/audio install -m 644 video/*.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/video make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' debian/rules override_dh_install make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' mkdir -p /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib/pkgconfig sed "s/@VERSION@/1.8/" < debian/pkgconfig.in > /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib/pkgconfig/libmpeg3.pc dh_install make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_installdocs -O-Smakefile dh_installchangelogs -O-Smakefile dh_installinit -O-Smakefile dh_lintian -O-Smakefile dh_perl -O-Smakefile dh_link -O-Smakefile dh_strip_nondeterminism -O-Smakefile dh_compress -O-Smakefile dh_fixperms -O-Smakefile dh_missing -O-Smakefile dh_dwz -a -O-Smakefile dh_strip -a -O-Smakefile dh_makeshlibs -a -O-Smakefile dh_shlibdeps -a -O-Smakefile dh_installdeb -O-Smakefile dh_gencontrol -O-Smakefile dh_md5sums -O-Smakefile dh_builddeb -O-Smakefile dpkg-deb: building package 'mpeg3-utils' in '../mpeg3-utils_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-2t64' in '../libmpeg3-2t64_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-2t64-dbgsym' in '../libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libmpeg3_1.8.dfsg-6_amd64.buildinfo dpkg-genchanges --build=binary -O../libmpeg3_1.8.dfsg-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2656771 and its subdirectories I: Current time: Mon Nov 3 05:14:19 -12 2025 I: pbuilder-time-stamp: 1762190059 Mon Nov 3 17:14:19 UTC 2025 I: Signing ./b1/libmpeg3_1.8.dfsg-6_amd64.buildinfo as libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc Mon Nov 3 17:14:19 UTC 2025 I: Signed ./b1/libmpeg3_1.8.dfsg-6_amd64.buildinfo as ./b1/libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc Mon Nov 3 17:14:19 UTC 2025 - build #1 for libmpeg3/unstable/amd64 on ionos5-amd64 done. Starting cleanup. All cleanup done. Mon Nov 3 17:14:19 UTC 2025 - reproducible_build.sh stopped running as /tmp/jenkins-script-2cStHaTb, removing. /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO: total 16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 10:51 b1 drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 10:50 b2 -rw-r--r-- 1 jenkins jenkins 2319 Mar 22 2024 libmpeg3_1.8.dfsg-6.dsc -rw------- 1 jenkins jenkins 3443 Oct 1 10:50 rbuildlog.QBiuon6 /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b1: total 736 -rw-r--r-- 1 jenkins jenkins 190692 Oct 1 10:51 build.log -rw-r--r-- 1 jenkins jenkins 232308 Oct 1 10:51 libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 93216 Oct 1 10:51 libmpeg3-2t64_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 117928 Oct 1 10:51 libmpeg3-dev_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 18096 Oct 1 10:51 libmpeg3_1.8.dfsg-6.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2319 Oct 1 10:51 libmpeg3_1.8.dfsg-6.dsc -rw-r--r-- 1 jenkins jenkins 5876 Oct 1 10:51 libmpeg3_1.8.dfsg-6_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 6758 Oct 1 10:51 libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 2469 Oct 1 10:51 libmpeg3_1.8.dfsg-6_amd64.changes -rw-r--r-- 1 jenkins jenkins 1292 Oct 1 10:51 libmpeg3_1.8.dfsg-6_source.changes -rw-r--r-- 1 jenkins jenkins 46316 Oct 1 10:51 mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 13592 Oct 1 10:51 mpeg3-utils_1.8.dfsg-6_amd64.deb /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b2: total 0 Tue Oct 1 10:51:21 UTC 2024 I: Deleting $TMPDIR on ionos5-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Mon Nov 3 05:13:42 -12 2025 I: pbuilder-time-stamp: 1762190022 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [libmpeg3_1.8.dfsg-6.dsc] I: copying [./libmpeg3_1.8.dfsg.orig.tar.bz2] I: copying [./libmpeg3_1.8.dfsg-6.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Mar 22 22:23:40 2024 gpgv: using RSA key 7405E745574809734800156DB65019C47F7A36F8 gpgv: issuer "forum@umlaeute.mur.at" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libmpeg3_1.8.dfsg-6.dsc: no acceptable signature found dpkg-source: info: extracting libmpeg3 in libmpeg3-1.8.dfsg dpkg-source: info: unpacking libmpeg3_1.8.dfsg.orig.tar.bz2 dpkg-source: info: unpacking libmpeg3_1.8.dfsg-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 1000-debian-build-rules.patch dpkg-source: info: applying 1010-alpha-largefile.patch dpkg-source: info: applying 1020-prototype-free.patch dpkg-source: info: applying 1030-fix-format-security-error.patch dpkg-source: info: applying 1040-fix-video-alpha.patch dpkg-source: info: applying 1050-fix-fake-css.patch dpkg-source: info: applying 1060-handle-hdv-m2t.patch dpkg-source: info: applying 1070-fix-format-strings.patch dpkg-source: info: applying 1080-missing-include.patch dpkg-source: info: applying 1090-missing-prototypes.patch dpkg-source: info: applying 1100-header-comment-fix.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2656771/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' 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=42 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='1b95d91a4b474bc4ba53036642aaf81b' 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='2656771' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/pbuilderrc_sOOp --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b1 --logfile b1/build.log libmpeg3_1.8.dfsg-6.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://213.165.73.152:3128' I: uname -a Linux ionos5-amd64 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2656771/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dpkg-dev (>= 1.22.5), liba52-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19785 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on liba52-dev; however: Package liba52-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} liba52-0.7.4{a} liba52-0.7.4-dev{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After unpacking 75.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-8 [97.3 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.191-2 [188 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5 [9396 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.1 [699 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4 amd64 0.7.4-20+b1 [33.8 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4-dev amd64 0.7.4-20+b1 [52.9 kB] Fetched 19.9 MB in 0s (124 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 ... 19785 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-8_amd64.deb ... Unpacking bsdextrautils (2.40.2-8) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.191-2_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../23-libicu72_72.1-5_amd64.deb ... Unpacking libicu72:amd64 (72.1-5) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package liba52-0.7.4:amd64. Preparing to unpack .../29-liba52-0.7.4_0.7.4-20+b1_amd64.deb ... Unpacking liba52-0.7.4:amd64 (0.7.4-20+b1) ... Selecting previously unselected package liba52-0.7.4-dev. Preparing to unpack .../30-liba52-0.7.4-dev_0.7.4-20+b1_amd64.deb ... Unpacking liba52-0.7.4-dev (0.7.4-20+b1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-5) ... Setting up bsdextrautils (2.40.2-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-2) ... Setting up liba52-0.7.4:amd64 (0.7.4-20+b1) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up liba52-0.7.4-dev (0.7.4-20+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/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-6_source.changes dpkg-buildpackage: info: source package libmpeg3 dpkg-buildpackage: info: source version 1.8.dfsg-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by IOhannes m zmölnig (Debian/GNU) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean -Smakefile dh_auto_clean -O-Smakefile make -j42 clean make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' rm -rf x86_64 make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_clean -O-Smakefile debian/rules binary dh binary -Smakefile dh_update_autotools_config -O-Smakefile dh_autoreconf -O-Smakefile dh_auto_configure -O-Smakefile dh_auto_build -O-Smakefile make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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/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:489:60: note: expected 'unsigned char *' but argument is of type 'char *' 489 | 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': mpeg3atrack.c: In function 'mpeg3_delete_atrack': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) | ~~~~~~~~~^~~~ audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, | ^~~~~ | | | char * In file included from audio/ac3.c:5: /usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, | ~~~~~~~~~~^~~ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/motion.c: In function 'mpeg3video_motion_vectors': video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; | ^~~~~~ video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] 10 | FILE *proc; | ^~~~ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:15:41: warning: variable 'vbv_buffer_size' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~~~~ video/headers.c:15:27: warning: unused variable 'picture_rate' [-Wunused-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:15:13: warning: variable 'aspect_ratio' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:13:18: warning: unused variable 'file' [-Wunused-variable] 13 | mpeg3_t *file = video->file; | ^~~~ video/headers.c: In function 'mpeg3video_sequence_extension': video/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; | ^~~ video/headers.c:73:37: warning: variable 'frame_rate_extension_d' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:73:13: warning: variable 'frame_rate_extension_n' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:60: warning: variable 'low_delay' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~ video/headers.c:72:33: warning: variable 'vbv_buffer_size_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:13: warning: variable 'bit_rate_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~ libmpeg3.c: In function 'mpeg3_new': video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; | ^ video/headers.c: In function 'mpeg3video_sequence_display_extension': mpeg3title.c: In function 'extend_cell_table': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] 82 | int i; | ^ video/headers.c:100:38: warning: variable 'display_vertical_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~ video/headers.c:100:13: warning: variable 'display_horizontal_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:99:35: warning: variable 'transfer_characteristics' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/headers.c: In function 'mpeg3video_quant_matrix_extension': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ 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; | ^~~~~~~ libmpeg3.c: In function 'is_bd': mpeg3title.c:126:35: warning: unused variable 'counter_start' [-Wunused-variable] 126 | int result = 0, done = 0, counter_start, counter; | ^~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | (!ext || ext && | ~~~~^~ 152 | (!strncasecmp(ext, ".m2ts", 5) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | !strncasecmp(ext, ".mts", 4))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) | ~~~~~~~~~^~~~~ audio/pcm.c: In function 'mpeg3audio_dopcm': mpeg3title.c: In function 'mpeg3demux_print_cells': 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 + | ^~~~~ mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] 185 | mpeg3_t *file = title->file; | ^~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/output.c: In function 'mpeg3video_ditherframe': 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] 141 | int uv_subscript, step, w = -1; | ^~~~ 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; | ^~~~~~~~~~~~~~~~~ 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/reconstruct.c: In function 'recon_comp': video/output.c:281:67: warning: unused parameter 'src' [-Wunused-parameter] 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~~^~~~~ video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] 418 | void recon_comp(mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ 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; | ^~~~~~~~~~~~~~~ mpeg3strack.c: In function 'mpeg3_new_strack': mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); | ^~~~~~~~~~~~~~ video/output.c: In function 'mpeg3video_dithertop444': mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element 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; | ^~~~~~~~~~~ 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/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; | ^~~~~~ mpeg3vtrack.c: In function 'mpeg3_new_vtrack': 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': mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] 11 | int result = 0; | ^~~~~~ video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~^~~~~ video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] 223 | int chroma_420_type, composite_display_flag; | ^~~~~~~~~~~~~~~ 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; | ^ 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) | ~~~~~~~~~^~~~ 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++) | ^~ libmpeg3.c: In function 'copy_subtitles': video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] 396 | int i, j; | ^ video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ 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) | ~~~~~~~~~~~~~~~^~~~~ video/reconstruct.c: In function 'mpeg3video_reconstruct': video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 619 | ; | ^ video/headers.c: In function 'mpeg3video_getgophdr': audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 369 | for(i = sblimit; i < SBLIMIT; i++) | ^~~ libmpeg3.c: In function 'mpeg3_open_copy': 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; | ^~~~~~ 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; | ^~~~~~~~~~~ audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] 276 | int d1, step, test; | ^~~~ libmpeg3.c:413:13: warning: unused variable 'result' [-Wunused-variable] 413 | int result = 0; | ^~~~~~ video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~~ video/output.c: In function 'mpeg3video_present_frame': audio/layer2.c: In function 'mpeg3audio_dolayer2': 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; | ^ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ 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 * video/output.c:348:16: warning: unused variable 'j' [-Wunused-variable] 348 | int i, j, k, l; | ^ In file included from audio/layer2.c:8: ./mpeg3protos.h:489:60: note: expected 'unsigned char *' but argument is of type 'char *' 489 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); | ~~~~~~~~~~~~~~~^~~~~~ video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~ video/output.c: In function 'mpeg3video_display_second_field': video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 691 | ; | ^ video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] 499 | int mpeg3video_display_second_field(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ video/headers.c: In function 'mpeg3video_getpicturehdr': audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ 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/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ video/headers.c:412:13: warning: variable 'temp_ref' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~ video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 757 | ; | ^ video/headers.c: In function 'mpeg3video_get_header': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; | ^~~~~~~ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ 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; | ^~~~~~~~~~~ video/slice.c: In function 'mpeg3video_addblock': video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] 62 | int spar = slice->sparse[comp]; | ^~~~ 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; | ^~~~~~ video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; | ^~~~~~~ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; | ^~~~~~~~~ video/mpeg3video.c:405:51: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~ video/getpicture.c: In function 'mpeg3video_get_macroblocks': video/mpeg3video.c:405:43: warning: variable 'second' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] 518 | unsigned int code; | ^~~~ video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ libmpeg3.c: In function 'calculate_packet_size': video/mpeg3video.c: In function 'mpeg3video_set_cpus': libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ video/getpicture.c: In function 'mpeg3video_allocate_decoders': video/mpeg3video.c:539:50: warning: unused parameter 'cpus' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~^~~~ video/mpeg3video.c: In function 'mpeg3video_set_mmx': video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) | ~~~~^~~~~~~~~~~~~ video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ 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 && | ^~ video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; | ^ 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 && | ^~ video/seek.c: In function 'mpeg3video_seek_byte': video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ 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 && | ^~ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ mpeg3ifo.c: In function 'ifo_open': mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); | ^~~~~ mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element video/seek.c: In function 'mpeg3video_seek': video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] 218 | int match_refframes = 1; | ^~~~~~~~~~~~~~~ video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] 211 | int attempts; | ^~~~~~~~ video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] 210 | int back_step; | ^~~~~~~~~ mpeg3ifo.c: In function 'program_map': video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ 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; | ^ mpeg3demux.c: In function 'read_transport': 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: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 'get_ifo_header': mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); | ^~~~~~~ mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; | ^ mpeg3demux.c: In function 'remove_subtitle': 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:791:13: warning: unused variable 'i' [-Wunused-variable] 791 | int i, j; | ^ mpeg3ifo.c: In function 'celladdresses': mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^~~~~~~~~~~~~~~ mpeg3demux.c: In function 'new_subtitle': mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 851 | calloc(sizeof(mpeg3_subtitle_t), 1); | ^~~~~~~~~~~~~~~~ mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] 825 | int i, j; | ^ mpeg3ifo.c: In function 'finaltable': mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~~~ mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] 630 | int done; | ^~~~ mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] 629 | int output_cell = 0; | ^~~~~~~~~~~ mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~~~~~~ mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ mpeg3demux.c: In function 'handle_pcm': mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] 1078 | } | ^ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~~ mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ mpeg3demux.c: In function 'get_program_pes_packet': audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' 339 | REFRESH_MASK; | ^~~~~~~~~~~~ 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/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' 354 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' 382 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3demux.c:1257:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1257 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1258 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' 414 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1300 | if(demuxer->custom_id == demuxer->vstream && | ^~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' 543 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if(demuxer->custom_id == demuxer->vstream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' 558 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' 585 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' 619 | REFRESH_MASK; | ^~~~~~~~~~~~ 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 && | ^~ mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ audio/layer3.c: In function 'hybrid': video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; | ^ audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ video/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] 371 | float f, p, q, t; | ^ audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] 78 | int got_alpha = 0; | ^~~~~~~~~ video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] 29 | int even_offset = 0; | ^~~~~~~~~~~ audio/layer3.c: In function 'antialias': audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ video/subtitle.c: In function 'mpeg3_decode_subtitle': video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ mpeg3tocutil.c: In function 'read_data': audio/layer3.c: In function 'calc_i_stereo': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ mpeg3demux.c: In function 'mpeg3demux_read_program': audio/layer3.c:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] 1445 | int count = 0; | ^~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': audio/layer3.c:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ mpeg3demux.c: In function 'mpeg3_seek_phys': audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] 1679 | if(!demuxer->titles) return 1; | ^ In file included from libmpeg3.h:8, from mpeg3demux.c:1: mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] 1083 | int i; | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); | ^~~~~~~~~~~~~ mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 271 | index->index_data = calloc(sizeof(float*), channels); | ^~~~~ mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 274 | index->index_data[j] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] 1719 | int got_it = 0; | ^~~~~~ mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element audio/layer3.c: In function 'mpeg3_layer_header': mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] 1718 | int64_t last_byte = demuxer->program_byte; | ^~~~~~~~~ audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1510 | else | ^~~~ audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1514 | if(layer_data->samplerate != 0 && | ^~ 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; | ^~ audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, | ^~~~~ | | | char * In file included from audio/ac3.c:5: /usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, | ~~~~~~~~~~^~~ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ 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': mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] 1922 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] 143 | int stream_type; | ^~~~~~~~~~~ mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] 141 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c: In function 'divide_index': mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; | ^~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c: In function 'mpeg3_new_demuxer': mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 645 | new_index_data[i] = calloc(sizeof(float), | ^~~~~ mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] 2213 | int i; | ^ mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 660 | index->index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > | ^ mpeg3tocutil.c: In function 'handle_audio': mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ audio/mpeg3audio.c: In function 'read_frame': mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 329 | float **new_output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element 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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' 203 | char *frame, | ~~~~~~^~~~~ 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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' 196 | 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:189:15: note: expected 'char *' but argument is of type 'unsigned char *' 189 | char *frame, | ~~~~~~^~~~~ mpeg3tocutil.c: In function 'handle_subtitle': 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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' 211 | char *frame, | ~~~~~~^~~~~ 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 + | ^~~~~ mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] 982 | int i, j; | ^ audio/mpeg3audio.c: In function 'get_length': mpeg3tocutil.c: In function 'mpeg3_do_toc': audio/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] 446 | int try = 0; | ^~~ mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1069 | if(custom_id == atrack->pid) | ^~ 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) | ~~~~~~~~~^~~~ mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if(vtrack->pid == custom_id) | ^~ audio/mpeg3audio.c: In function 'mpeg3audio_new': audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 605 | audio->output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] 1015 | int i, j, k; | ^ mpeg3tocutil.c:1015:16: warning: unused variable 'j' [-Wunused-variable] 1015 | int i, j, k; | ^ audio/mpeg3audio.c: In function 'seek': mpeg3tocutil.c: In function 'mpeg3_stop_toc': audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] 646 | int result = 0; | ^~~~~~ audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] 1186 | mpeg3_atrack_t *atrack = file->atrack[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': mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ audio/mpeg3audio.c: In function 'read_frame': audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] 806 | int i; | ^ audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 329 | float **new_output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] 803 | long max_size) | ~~~~~^~~~~~~~ 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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' 203 | char *frame, | ~~~~~~^~~~~ 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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' 196 | 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:189:15: note: expected 'char *' but argument is of type 'unsigned char *' 189 | char *frame, | ~~~~~~^~~~~ audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': 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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' 211 | 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/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 'mpeg3audio_new': audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 605 | audio->output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c: In function 'mpeg3demux_scan_pts': audio/mpeg3audio.c: In function 'seek': mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] 2414 | } | ^ mpeg3demux.c: In function 'mpeg3demux_goto_pts': audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] 646 | int result = 0; | ^~~~~~ audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 957 | new_output = calloc(sizeof(float), new_size); | ^~~~~ audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': audio/mpeg3audio.c:791:25: warning: unused variable 'track' [-Wunused-variable] 791 | mpeg3_atrack_t *track = audio->track; | ^~~~~ mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ 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) | ~~~~~^~~~~~~~ audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 957 | new_output = calloc(sizeof(float), new_size); | ^~~~~ audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' 339 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' 354 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' 382 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' 414 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' 543 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' 558 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' 585 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' 619 | REFRESH_MASK; | ^~~~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': audio/layer3.c: In function 'hybrid': mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c: In function 'antialias': mpeg3tocutil.c: In function 'mpeg3_do_toc': audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ audio/layer3.c: In function 'calc_i_stereo': audio/layer3.c:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': audio/layer3.c:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] 1083 | int i; | ^ audio/layer3.c: In function 'mpeg3_layer_header': audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1510 | else | ^~~~ audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1514 | if(layer_data->samplerate != 0 && | ^~ mpeg3tocutil.c: At top level: mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] 11 | static FILE *test_file = 0; | ^~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 video/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) | ^ video/getpicture.c:220:21: note: 'j' was declared here 220 | int val, i, j, sign; | ^ 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) | ~~~~^~~~~~ mpeg3bits.c: In function 'mpeg3bits_read_buffer': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ 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_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; | ^ libmpeg3.c: In function 'is_bd': libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | (!ext || ext && | ~~~~^~ 152 | (!strncasecmp(ext, ".m2ts", 5) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | !strncasecmp(ext, ".mts", 4))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) | ~~~~~~~~~^~~~~ mpeg3strack.c: In function 'mpeg3_new_strack': mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); | ^~~~~~~~~~~~~~ mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ libmpeg3.c: In function 'copy_subtitles': libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] 396 | int i, j; | ^ mpeg3vtrack.c: In function 'mpeg3_new_vtrack': 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) | ~~~~~~~~~^~~~ libmpeg3.c: In function 'mpeg3_open_copy': 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:413:13: warning: unused variable 'result' [-Wunused-variable] 413 | int result = 0; | ^~~~~~ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ 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; | ^~~~~~~~~~~~~ mpeg3vtrack.c: At top level: mpeg3title.c:129:27: warning: unused variable 'prev_time' [-Wunused-variable] 129 | double next_time, prev_time, absolute_time; | ^~~~~~~~~ mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] 70 | static int last_keyframe = 0; | ^~~~~~~~~~~~~ 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; | ^~~~ mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ libmpeg3.c: In function 'calculate_packet_size': libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); | ^~~~~~~~~~~~~ mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element 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 && | ^~ mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 271 | index->index_data = calloc(sizeof(float*), channels); | ^~~~~ 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 && | ^~ mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 274 | index->index_data[j] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element 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 && | ^~ mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element 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) + | ^~~~~~~ mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] 143 | int stream_type; | ^~~~~~~~~~~ mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] 141 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': mpeg3demux.c: In function 'remove_subtitle': mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] 791 | int i, j; | ^ mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3demux.c: In function 'new_subtitle': mpeg3tocutil.c: In function 'divide_index': mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 851 | calloc(sizeof(mpeg3_subtitle_t), 1); | ^~~~~~~~~~~~~~~~ mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; | ^~~~~~ mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] 825 | int i, j; | ^ mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 645 | new_index_data[i] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 660 | index->index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element video/getpicture.c: In function 'mpeg3video_get_macroblocks': mpeg3demux.c: In function 'handle_pcm': video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] 518 | unsigned int code; | ^~~~ mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > | ^ mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] 1078 | } | ^ video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ video/getpicture.c: In function 'mpeg3video_allocate_decoders': mpeg3tocutil.c: In function 'handle_audio': video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) | ~~~~^~~~~~~~~~~~~ mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3demux.c: In function 'get_program_pes_packet': mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ 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 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1258 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:15:41: warning: variable 'vbv_buffer_size' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~~~~ video/headers.c:15:27: warning: unused variable 'picture_rate' [-Wunused-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:15:13: warning: variable 'aspect_ratio' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:13:18: warning: unused variable 'file' [-Wunused-variable] 13 | mpeg3_t *file = video->file; | ^~~~ video/headers.c: In function 'mpeg3video_sequence_extension': video/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; | ^~~ video/headers.c:73:37: warning: variable 'frame_rate_extension_d' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:73:13: warning: variable 'frame_rate_extension_n' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:60: warning: variable 'low_delay' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~ video/headers.c:72:33: warning: variable 'vbv_buffer_size_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:13: warning: variable 'bit_rate_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~ video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_display_extension': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ video/headers.c:100:38: warning: variable 'display_vertical_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~ video/headers.c:100:13: warning: variable 'display_horizontal_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:99:35: warning: variable 'transfer_characteristics' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ mpeg3tocutil.c: In function 'handle_subtitle': 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/headers.c: In function 'mpeg3video_quant_matrix_extension': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1300 | if(demuxer->custom_id == demuxer->vstream && | ^~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] 982 | int i, j; | ^ video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_do_toc': 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:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if(demuxer->custom_id == demuxer->vstream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~ mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1069 | if(custom_id == atrack->pid) | ^~ 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; | ^~~~~~~~~~~ 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; | ^~~~~~ video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] 223 | int chroma_420_type, composite_display_flag; | ^~~~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if(vtrack->pid == custom_id) | ^~ 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; | ^~~~~~~~~~~ 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 && | ^~ video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~~ video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~ mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ video/headers.c: In function 'mpeg3video_getpicturehdr': mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ video/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] 177 | int result; | ^~~~~~ mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] 1015 | int i, j, k; | ^ 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:1015:16: warning: unused variable 'j' [-Wunused-variable] 1015 | int i, j, k; | ^ video/headers.c: In function 'mpeg3video_get_header': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; | ^~~~~~~ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ mpeg3tocutil.c: In function 'mpeg3_stop_toc': mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ video/headers.c: In function 'mpeg3video_getslicehdr': mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] 1186 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ 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:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3io.c: In function 'mpeg3io_complete_path': mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ 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:1445:13: warning: unused variable 'count' [-Wunused-variable] 1445 | int count = 0; | ^~~~~ mpeg3ifo.c: In function 'ifo_open': mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); | ^~~~~ mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element 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; | ^ mpeg3ifo.c: In function 'program_map': In file included from libmpeg3.h:8, from mpeg3demux.c:1: mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ mpeg3ifo.c: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)) | ^~~~~~~~~~~~ video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] 1719 | int got_it = 0; | ^~~~~~ video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 412 | if(j != 0) | ^ video/getpicture.c:309:21: note: 'j' was declared here 309 | int val, i, j, sign, nc; | ^ 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); | ^~~~~~~ audio/layer3.c: In function 'dequantize_sample': mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] 1718 | int64_t last_byte = demuxer->program_byte; | ^~~~~~~~~ audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] 680 | while(xrpnt < &xr[SBLIMIT][0]) | ^~~~~~~~~~~~~~~ audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] 236 | float xr[SBLIMIT][SSLIMIT], | ~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c: In function 'cellplayinfo': mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] 1716 | int last_cell = demuxer->title_cell; | ^~~~~~~~~ mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; | ^ mpeg3demux.c: In function 'next_code': mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) | ^~~~~~~~~~~ mpeg3ifo.c: In function 'celladdresses': mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] 1753 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^~~~~~~~~~~~~~~ mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ mpeg3demux.c: In function 'mpeg3_read_next_packet': mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] 1782 | int current_position; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c: In function 'finaltable': mpeg3demux.c: In function 'prev_code': mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~~~ mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] 630 | int done; | ^~~~ mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] 1922 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] 629 | int output_cell = 0; | ^~~~~~~~~~~ mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~~~~~~ mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] 680 | while(xrpnt < &xr[SBLIMIT][0]) | ^~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3_new_demuxer': mpeg3ifo.c: In function 'mpeg3_read_ifo': audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] 236 | float xr[SBLIMIT][SSLIMIT], | ~~~~~~^~~~~~~~~~~~~~~~~~~~ mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~~ mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] 2213 | int i; | ^ mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ mpeg3tocutil.c: In function 'mpeg3_do_toc': mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3tocutil.c: At top level: mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] 11 | static FILE *test_file = 0; | ^~~~~~~~~ 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': mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 507 | if(j != 0) | ^ video/getpicture.c:427:21: note: 'j' was declared here 427 | int val, i, j, sign, nc; | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reconstruct.c: In function 'recon_comp': video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] 418 | void recon_comp(mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/reconstruct.c: In function 'mpeg3video_reconstruct': video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 619 | ; | ^ video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 691 | ; | ^ video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 757 | ; | ^ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/motion.c: In function 'mpeg3video_motion_vectors': video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ video/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; | ^ video/seek.c: In function 'mpeg3video_seek_byte': video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; | ^~~~~~~ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ video/seek.c: In function 'mpeg3video_seek': video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] 218 | int match_refframes = 1; | ^~~~~~~~~~~~~~~ video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] 211 | int attempts; | ^~~~~~~~ video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] 210 | int back_step; | ^~~~~~~~~ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; | ^~~~~~ video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] 10 | FILE *proc; | ^~~~ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; | ^~~~~~~~~ video/mpeg3video.c:405:51: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~ video/mpeg3video.c:405:43: warning: variable 'second' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ video/mpeg3video.c: In function 'mpeg3video_set_cpus': video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ video/mpeg3video.c:539:50: warning: unused parameter 'cpus' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~^~~~ video/mpeg3video.c: In function 'mpeg3video_set_mmx': video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ 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/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] 78 | int got_alpha = 0; | ^~~~~~~~~ video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] 29 | int even_offset = 0; | ^~~~~~~~~~~ video/subtitle.c: In function 'mpeg3_decode_subtitle': video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ In function 'handle_scrambling', inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] 777 | if(mpeg3_decrypt_packet(title->fs->css, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | buffer_ptr, | ~~~~~~~~~~~ 779 | decryption_offset)) | ~~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here 1091 | int decryption_offset; | ^~~~~~~~~~~~~~~~~ video/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) | ^ video/getpicture.c:220:21: note: 'j' was declared here 220 | int val, i, j, sign; | ^ video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 412 | if(j != 0) | ^ video/getpicture.c:309:21: note: 'j' was declared here 309 | int val, i, j, sign, nc; | ^ video/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 507 | if(j != 0) | ^ video/getpicture.c:427:21: note: 'j' was declared here 427 | int val, i, j, sign, nc; | ^ 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; | ^~~~~~~~~~~~~~~~~ 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 ( cd x86_64; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so.2 \ ) cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/mpeg3dump mpeg3dump.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3toc.c: In function 'main': mpeg3toc.c:21:19: warning: unused variable 'l' [-Wunused-variable] 21 | int i, j, l; | ^ mpeg3toc.c:21:16: warning: unused variable 'j' [-Wunused-variable] 21 | int i, j, l; | ^ 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; | ^~~~~~ mpeg3cat.c: In function 'main': mpeg3cat.c:148:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 148 | if(out = fopen(outpath, "r")) | ^~~ mpeg3cat.c:237:33: warning: variable 'gop_frame' set but not used [-Wunused-but-set-variable] 237 | int64_t gop_frame; | ^~~~~~~~~ mpeg3cat.c:104:22: warning: unused variable 'bits' [-Wunused-variable] 104 | unsigned int bits; | ^~~~ make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_auto_test -O-Smakefile create-stamp debian/debhelper-build-stamp dh_prep -O-Smakefile dh_auto_install -O-Smakefile make -j42 install DESTDIR=/build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -m 755 x86_64/mpeg3dump x86_64/mpeg3peek x86_64/mpeg3toc x86_64/mpeg3cat /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib cp -dp x86_64/libmpeg3.a x86_64/libmpeg3.so.2.1.8 x86_64/libmpeg3.so.2 x86_64/libmpeg3.so /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/audio install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/video install -m 644 *.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include install -m 644 audio/*.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/audio install -m 644 video/*.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/video make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' debian/rules override_dh_install make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' mkdir -p /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib/pkgconfig sed "s/@VERSION@/1.8/" < debian/pkgconfig.in > /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib/pkgconfig/libmpeg3.pc dh_install make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_installdocs -O-Smakefile dh_installchangelogs -O-Smakefile dh_installinit -O-Smakefile dh_lintian -O-Smakefile dh_perl -O-Smakefile dh_link -O-Smakefile dh_strip_nondeterminism -O-Smakefile dh_compress -O-Smakefile dh_fixperms -O-Smakefile dh_missing -O-Smakefile dh_dwz -a -O-Smakefile dh_strip -a -O-Smakefile dh_makeshlibs -a -O-Smakefile dh_shlibdeps -a -O-Smakefile dh_installdeb -O-Smakefile dh_gencontrol -O-Smakefile dh_md5sums -O-Smakefile dh_builddeb -O-Smakefile dpkg-deb: building package 'mpeg3-utils' in '../mpeg3-utils_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-2t64' in '../libmpeg3-2t64_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-2t64-dbgsym' in '../libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libmpeg3_1.8.dfsg-6_amd64.buildinfo dpkg-genchanges --build=binary -O../libmpeg3_1.8.dfsg-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2656771 and its subdirectories I: Current time: Mon Nov 3 05:14:19 -12 2025 I: pbuilder-time-stamp: 1762190059 Tue Oct 1 10:51:22 UTC 2024 I: 1st build successful. Starting 2nd build on remote node ionos11-amd64.debian.net. Tue Oct 1 10:51:22 UTC 2024 I: Preparing to do remote build '2' on ionos11-amd64.debian.net. Tue Oct 1 10:51:22 UTC 2024 - checking /var/lib/jenkins/offline_nodes if ionos11-amd64.debian.net is marked as down. Tue Oct 1 10:51:22 UTC 2024 - checking via ssh if ionos11-amd64.debian.net is up. removed '/tmp/read-only-fs-test-kdGRxO' ==================================================================================== Tue Oct 1 10:51:23 UTC 2024 - running /srv/jenkins/bin/reproducible_build.sh (for job /srv/jenkins/bin/reproducible_build.sh) on ionos11-amd64, called using "2 libmpeg3 unstable /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO 1.8.dfsg-6" as arguments. Tue Oct 1 10:51:23 UTC 2024 - actually running "reproducible_build.sh" (md5sum 79f74068471242981be9b3b00196cbfb) as "/tmp/jenkins-script-nFSWfbBt" $ git clone https://salsa.debian.org/qa/jenkins.debian.net.git ; more CONTRIBUTING Tue Oct 1 10:51:23 UTC 2024 I: Downloading source for unstable/libmpeg3=1.8.dfsg-6 Reading package lists... NOTICE: 'libmpeg3' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/multimedia-team/libmpeg3.git Please use: git clone https://salsa.debian.org/multimedia-team/libmpeg3.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2292 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (dsc) [2319 B] Get:2 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (tar) [2272 kB] Get:3 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (diff) [18.1 kB] Fetched 2292 kB in 0s (14.9 MB/s) Download complete and in download only mode Reading package lists... NOTICE: 'libmpeg3' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/multimedia-team/libmpeg3.git Please use: git clone https://salsa.debian.org/multimedia-team/libmpeg3.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 2292 kB of source archives. Get:1 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (dsc) [2319 B] Get:2 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (tar) [2272 kB] Get:3 http://deb.debian.org/debian unstable/main libmpeg3 1.8.dfsg-6 (diff) [18.1 kB] Fetched 2292 kB in 0s (14.9 MB/s) Download complete and in download only mode ============================================================================= Re-Building libmpeg3 in unstable on amd64 on ionos11-amd64 now. Date: Tue Oct 1 10:51:24 UTC 2024 Date UTC: Tue Oct 1 10:51:24 UTC 2024 ============================================================================= ++ mktemp -t pbuilderrc_XXXX --tmpdir=/srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO + local TMPCFG=/srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/pbuilderrc_tqwX + case ${ARCH} in + case $ARCH in + locale=et_EE + language=et + case "${SUITE}" in + reproducible_buildflags=+all + extra_deb_build_options= + case "${SRCPACKAGE}" in + cat + echo BUILDDIR=/build/reproducible-path + '[' libmpeg3 = debian-installer -o libmpeg3 = debian-installer-netboot-images ']' + pbuilder_options=() + local pbuilder_options + DEBBUILDOPTS=-b + BINARYTARGET= + '[' libmpeg3 = u-boot ']' + case "${SRCPACKAGE}" in + PBUILDERTIMEOUT=24 + local PRESULT=0 + sudo 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.PcqfIxzO/pbuilderrc_tqwX --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b2 --logfile b2/build.log libmpeg3_1.8.dfsg-6.dsc W: /root/.pbuilderrc does not exist I: Logging to b2/build.log I: pbuilder: network access will be disabled during build I: Current time: Wed Oct 2 00:51:25 +14 2024 I: pbuilder-time-stamp: 1727779885 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [libmpeg3_1.8.dfsg-6.dsc] I: copying [./libmpeg3_1.8.dfsg.orig.tar.bz2] I: copying [./libmpeg3_1.8.dfsg-6.debian.tar.xz] I: Extracting source gpgv: Signature made Fri Mar 22 22:23:40 2024 gpgv: using RSA key 7405E745574809734800156DB65019C47F7A36F8 gpgv: issuer "forum@umlaeute.mur.at" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libmpeg3_1.8.dfsg-6.dsc: no acceptable signature found dpkg-source: info: extracting libmpeg3 in libmpeg3-1.8.dfsg dpkg-source: info: unpacking libmpeg3_1.8.dfsg.orig.tar.bz2 dpkg-source: info: unpacking libmpeg3_1.8.dfsg-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 1000-debian-build-rules.patch dpkg-source: info: applying 1010-alpha-largefile.patch dpkg-source: info: applying 1020-prototype-free.patch dpkg-source: info: applying 1030-fix-format-security-error.patch dpkg-source: info: applying 1040-fix-video-alpha.patch dpkg-source: info: applying 1050-fix-fake-css.patch dpkg-source: info: applying 1060-handle-hdv-m2t.patch dpkg-source: info: applying 1070-fix-format-strings.patch dpkg-source: info: applying 1080-missing-include.patch dpkg-source: info: applying 1090-missing-prototypes.patch dpkg-source: info: applying 1100-header-comment-fix.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/D01_modify_environment starting debug: Running on ionos11-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 Oct 1 10:51 /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/3682662/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/D02_print_environment starting I: set 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.32(1)-release' BUILDDIR=/build/reproducible-path 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=20 ' DIRSTACK=() DISTRIBUTION=unstable EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=5ed3ff47f8a74cc59283fc295b71b4f0 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=3682662 PS4='+ ' 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.PcqfIxzO/pbuilderrc_tqwX --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b2 --logfile b2/build.log libmpeg3_1.8.dfsg-6.dsc' SUDO_GID=111 SUDO_UID=106 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://46.16.76.132:3128 I: uname -a Linux i-capture-the-hostname 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dpkg-dev (>= 1.22.5), liba52-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19785 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on liba52-dev; however: Package liba52-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} liba52-0.7.4{a} liba52-0.7.4-dev{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 19.9 MB of archives. After unpacking 75.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3 [314 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3 [105 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3 [42.9 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b1 [68.8 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-8 [97.3 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-7 [517 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.191-2 [188 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5 [9396 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.1 [699 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4 amd64 0.7.4-20+b1 [33.8 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4-dev amd64 0.7.4-20+b1 [52.9 kB] Fetched 19.9 MB in 5s (4313 kB/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 ... 19785 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3_amd64.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-8_amd64.deb ... Unpacking bsdextrautils (2.40.2-8) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.191-2_amd64.deb ... Unpacking libelf1t64:amd64 (0.191-2) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../23-libicu72_72.1-5_amd64.deb ... Unpacking libicu72:amd64 (72.1-5) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package liba52-0.7.4:amd64. Preparing to unpack .../29-liba52-0.7.4_0.7.4-20+b1_amd64.deb ... Unpacking liba52-0.7.4:amd64 (0.7.4-20+b1) ... Selecting previously unselected package liba52-0.7.4-dev. Preparing to unpack .../30-liba52-0.7.4-dev_0.7.4-20+b1_amd64.deb ... Unpacking liba52-0.7.4-dev (0.7.4-20+b1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-5) ... Setting up bsdextrautils (2.40.2-8) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libelf1t64:amd64 (0.191-2) ... Setting up liba52-0.7.4:amd64 (0.7.4-20+b1) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b1) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.1) ... Setting up liba52-0.7.4-dev (0.7.4-20+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-3) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for unstable I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/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-6_source.changes dpkg-buildpackage: info: source package libmpeg3 dpkg-buildpackage: info: source version 1.8.dfsg-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by IOhannes m zmölnig (Debian/GNU) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean -Smakefile dh_auto_clean -O-Smakefile make -j20 clean make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' rm -rf x86_64 make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_clean -O-Smakefile debian/rules binary dh binary -Smakefile dh_update_autotools_config -O-Smakefile dh_autoreconf -O-Smakefile dh_auto_configure -O-Smakefile dh_auto_build -O-Smakefile make -j20 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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.o cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, | ^~~~~ | | | char * In file included from audio/ac3.c:5: /usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, | ~~~~~~~~~~^~~ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'mpeg3_new': libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] 32 | int i; | ^ libmpeg3.c: In function 'is_bd': libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | (!ext || ext && | ~~~~^~ 152 | (!strncasecmp(ext, ".m2ts", 5) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | !strncasecmp(ext, ".mts", 4))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) | ~~~~~~~~~^~~~~ audio/layer3.c: In function 'get_scale_factors_1': libmpeg3.c: In function 'copy_subtitles': libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] 396 | int i, j; | ^ libmpeg3.c: In function 'mpeg3_open_copy': libmpeg3.c:413:13: warning: unused variable 'result' [-Wunused-variable] 413 | int result = 0; | ^~~~~~ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ libmpeg3.c: In function 'calculate_packet_size': libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' 339 | REFRESH_MASK; | ^~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' 354 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' 382 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' 414 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' 543 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' 558 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' 585 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' 619 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c: In function 'hybrid': audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c: In function 'antialias': audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'calc_i_stereo': 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:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ 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:489:60: note: expected 'unsigned char *' but argument is of type 'char *' 489 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); | ~~~~~~~~~~~~~~~^~~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': audio/layer3.c:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] 1083 | int i; | ^ audio/layer3.c: In function 'mpeg3_layer_header': audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1510 | else | ^~~~ audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1514 | if(layer_data->samplerate != 0 && | ^~ 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 'read_frame': audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 329 | float **new_output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element 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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' 203 | char *frame, | ~~~~~~^~~~~ 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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' 196 | 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:189:15: note: expected 'char *' but argument is of type 'unsigned char *' 189 | 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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' 211 | 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/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 'mpeg3audio_new': audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 605 | audio->output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element 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/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': 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: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/mpeg3audio.c: In function 'mpeg3audio_decode_audio': audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 957 | new_output = calloc(sizeof(float), new_size); | ^~~~~ audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ 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/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) | ~~~~~~~~~~~~~~~^~~~~ mpeg3strack.c: In function 'mpeg3_new_strack': mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); | ^~~~~~~~~~~~~~ mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ 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': mpeg3tocutil.c: In function 'read_data': 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; | ^~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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; | ^~~~ mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); | ^~~~~~~~~~~~~ mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 271 | index->index_data = calloc(sizeof(float*), channels); | ^~~~~ mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 274 | index->index_data[j] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] 143 | int stream_type; | ^~~~~~~~~~~ mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] 141 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c: In function 'divide_index': cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3vtrack.c: In function 'mpeg3_new_vtrack': mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; | ^~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] 11 | int result = 0; | ^~~~~~ mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 645 | new_index_data[i] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) | ~~~~~~~~~^~~~ mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 660 | index->index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'handle_audio': mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3ifo.c: In function 'ifo_open': mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); | ^~~~~ mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element mpeg3vtrack.c: At top level: mpeg3ifo.c: In function 'program_map': video/getpicture.c: In function 'mpeg3video_get_macroblocks': mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] 70 | static int last_keyframe = 0; | ^~~~~~~~~~~~~ mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 265 | *ptr = pgc; | ^ mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; | ^ mpeg3ifo.c: In function 'get_ifo_playlist': mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 362 | while(new_filename = readdir(dirstream)) | ^~~~~~~~~~~~ mpeg3ifo.c: In function 'get_ifo_header': mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); | ^~~~~~~ video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] 518 | unsigned int code; | ^~~~ video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; | ^ video/getpicture.c: In function 'mpeg3video_allocate_decoders': 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)) | ^~~~~~~~~~~ mpeg3tocutil.c: In function 'handle_subtitle': video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) | ~~~~^~~~~~~~~~~~~ mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] 982 | int i, j; | ^ mpeg3tocutil.c: In function 'mpeg3_do_toc': mpeg3ifo.c: In function 'celladdresses': mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^~~~~~~~~~~~~~~ mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ mpeg3ifo.c: In function 'finaltable': mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~~~ mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] 630 | int done; | ^~~~ mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] 629 | int output_cell = 0; | ^~~~~~~~~~~ mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~~~~~~ mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1069 | if(custom_id == atrack->pid) | ^~ mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if(vtrack->pid == custom_id) | ^~ mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] 1015 | int i, j, k; | ^ mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~~ mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ mpeg3tocutil.c:1015:16: warning: unused variable 'j' [-Wunused-variable] 1015 | int i, j, k; | ^ mpeg3tocutil.c: In function 'mpeg3_stop_toc': 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; | ^~~~~~ mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] 1186 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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_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 && | ^~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:15:41: warning: variable 'vbv_buffer_size' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~~~~ video/headers.c:15:27: warning: unused variable 'picture_rate' [-Wunused-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:15:13: warning: variable 'aspect_ratio' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:13:18: warning: unused variable 'file' [-Wunused-variable] 13 | mpeg3_t *file = video->file; | ^~~~ video/headers.c: In function 'mpeg3video_sequence_extension': video/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; | ^~~ video/headers.c:73:37: warning: variable 'frame_rate_extension_d' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:73:13: warning: variable 'frame_rate_extension_n' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:60: warning: variable 'low_delay' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~ video/headers.c:72:33: warning: variable 'vbv_buffer_size_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:13: warning: variable 'bit_rate_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~ video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_display_extension': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ video/headers.c:100:38: warning: variable 'display_vertical_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~ video/headers.c:100:13: warning: variable 'display_horizontal_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:99:35: warning: variable 'transfer_characteristics' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/headers.c: In function 'mpeg3video_quant_matrix_extension': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_picture_coding_extension': mpeg3tocutil.c: In function 'mpeg3_update_index': 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; | ^~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'read_transport': 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/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; | ^~~~~~~~~~~ mpeg3demux.c:633:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 633 | if(demuxer->adaptation_field_control & 0x1) | ^~ 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; | ^~~~~~ video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] 223 | int chroma_420_type, composite_display_flag; | ^~~~~~~~~~~~~~~ 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) + | ^~~~~~~ video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ 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; | ^~~~~~~~~~~ video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~~ video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~ video/headers.c: In function 'mpeg3video_getpicturehdr': video/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ mpeg3demux.c: In function 'remove_subtitle': 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:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ video/headers.c: In function 'mpeg3video_get_header': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; | ^~~~~~~ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ 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; | ^~~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_do_toc': mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] 791 | int i, j; | ^ mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ mpeg3demux.c: In function 'new_subtitle': mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 851 | calloc(sizeof(mpeg3_subtitle_t), 1); | ^~~~~~~~~~~~~~~~ mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element 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 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1258 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1300 | if(demuxer->custom_id == demuxer->vstream && | ^~ mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if(demuxer->custom_id == demuxer->vstream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ mpeg3tocutil.c: At top level: 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 && | ^~ mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] 11 | static FILE *test_file = 0; | ^~~~~~~~~ mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] 1445 | int count = 0; | ^~~~~ mpeg3demux.c: In function 'mpeg3_seek_phys': mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] 1679 | if(!demuxer->titles) return 1; | ^ In file included from libmpeg3.h:8, from mpeg3demux.c:1: mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] 1719 | int got_it = 0; | ^~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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; | ^~ 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': cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; | ^~~~~~ video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] 10 | FILE *proc; | ^~~~ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/motion.c: In function 'mpeg3video_motion_vectors': 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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': mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/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/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/reconstruct.c: In function 'recon_comp': video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] 418 | void recon_comp(mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/reconstruct.c: In function 'mpeg3video_reconstruct': video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 619 | ; | ^ video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; | ^~~~~~~ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 691 | ; | ^ video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 757 | ; | ^ video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; | ^~~~~~~~~ video/mpeg3video.c:405:51: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~ video/mpeg3video.c:405:43: warning: variable 'second' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ video/mpeg3video.c: In function 'mpeg3video_set_cpus': video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ video/mpeg3video.c:539:50: warning: unused parameter 'cpus' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~^~~~ video/mpeg3video.c: In function 'mpeg3video_set_mmx': video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/slice.c: In function 'mpeg3video_addblock': video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] 62 | int spar = slice->sparse[comp]; | ^~~~ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] 680 | while(xrpnt < &xr[SBLIMIT][0]) | ^~~~~~~~~~~~~~~ audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] 236 | float xr[SBLIMIT][SSLIMIT], | ~~~~~~^~~~~~~~~~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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; | ^ video/seek.c: In function 'mpeg3video_seek_byte': video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ video/seek.c: In function 'mpeg3video_seek': video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] 218 | int match_refframes = 1; | ^~~~~~~~~~~~~~~ video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] 211 | int attempts; | ^~~~~~~~ video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] 210 | int back_step; | ^~~~~~~~~ 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] 78 | int got_alpha = 0; | ^~~~~~~~~ video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] 29 | int even_offset = 0; | ^~~~~~~~~~~ video/subtitle.c: In function 'mpeg3_decode_subtitle': video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 audio/ac3.c: In function 'mpeg3audio_doac3': audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] 117 | frame, | ^~~~~ | | | char * In file included from audio/ac3.c:5: /usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, | ~~~~~~~~~~^~~ audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 107 | int frame_size, | ~~~~^~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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; | ^~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:276:19: warning: unused variable 'test' [-Wunused-variable] 276 | int d1, step, test; | ^~~~ audio/layer2.c: In function 'mpeg3audio_dolayer2': audio/layer3.c: In function 'get_scale_factors_1': 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:489:60: note: expected 'unsigned char *' but argument is of type 'char *' 489 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); | ~~~~~~~~~~~~~~~^~~~~~ audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' 339 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' 354 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' 382 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' 414 | REFRESH_MASK; | ^~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' 543 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' 558 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' 585 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' 619 | REFRESH_MASK; | ^~~~~~~~~~~~ audio/layer3.c: In function 'hybrid': audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ audio/layer3.c: In function 'antialias': audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'calc_i_stereo': audio/layer3.c:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': 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:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] 1083 | int i; | ^ audio/layer3.c: In function 'mpeg3_layer_header': audio/mpeg3audio.c: In function 'read_frame': audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 329 | float **new_output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element 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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' 203 | char *frame, | ~~~~~~^~~~~ 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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' 196 | 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 * audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 1510 | else | ^~~~ ./mpeg3protos.h:189:15: note: expected 'char *' but argument is of type 'unsigned char *' 189 | 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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' 211 | 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:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 1514 | if(layer_data->samplerate != 0 && | ^~ 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 'mpeg3audio_new': audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 605 | audio->output = calloc(sizeof(float*), track->channels); | ^~~~~ audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element 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/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) | ~~~~~^~~~~~~~ audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 957 | new_output = calloc(sizeof(float), new_size); | ^~~~~ audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 video/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) | ^ video/getpicture.c:220:21: note: 'j' was declared here 220 | int val, i, j, sign; | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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; | ^ libmpeg3.c: In function 'is_bd': libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 151 | (!ext || ext && | ~~~~^~ 152 | (!strncasecmp(ext, ".m2ts", 5) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | !strncasecmp(ext, ".mts", 4))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) | ~~~~~~~~~^~~~~ libmpeg3.c: In function 'copy_subtitles': libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] 396 | int i, j; | ^ libmpeg3.c: In function 'mpeg3_open_copy': libmpeg3.c:413:13: warning: unused variable 'result' [-Wunused-variable] 413 | int result = 0; | ^~~~~~ libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] 412 | int i, done; | ^~~~ libmpeg3.c: In function 'calculate_packet_size': cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 412 | if(j != 0) | ^ video/getpicture.c:309:21: note: 'j' was declared here 309 | int val, i, j, sign, nc; | ^ 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) | ~~~~~~~~~~~~~~~^~~~~ 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) | ~~~~~~~~~~~~~^~~ 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) | ~~~~^~~~~~ 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) | ~~~~~~~~~^~~~ video/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 507 | if(j != 0) | ^ video/getpicture.c:427:21: note: 'j' was declared here 427 | int val, i, j, sign, nc; | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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) + | ^~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 851 | calloc(sizeof(mpeg3_subtitle_t), 1); | ^~~~~~~~~~~~~~~~ mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element 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 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1258 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1300 | if(demuxer->custom_id == demuxer->vstream && | ^~ mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1300 | if(demuxer->custom_id == demuxer->vstream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ 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 && | ^~ mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1380 | demuxer->do_audio || | ~~~~~~~~~~~~~~~~~ mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] 1092 | int i; | ^ mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] 1446 | mpeg3_t *file = demuxer->file; | ^~~~ mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] 1445 | int count = 0; | ^~~~~ mpeg3demux.c: In function 'mpeg3_seek_phys': mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] 1679 | if(!demuxer->titles) return 1; | ^ In file included from libmpeg3.h:8, from mpeg3demux.c:1: mpeg3private.h:393:24: note: 'titles' declared here 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; | ^~~~~~ mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] 1719 | int got_it = 0; | ^~~~~~ mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] 1718 | int64_t last_byte = demuxer->program_byte; | ^~~~~~~~~ mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] 1716 | int last_cell = demuxer->title_cell; | ^~~~~~~~~ mpeg3demux.c: In function 'next_code': mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] 1753 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3demux.c: In function 'mpeg3_read_next_packet': mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] 1782 | int current_position; | ^~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'prev_code': mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] 1922 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3demux.c: In function 'mpeg3_new_demuxer': mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] 2213 | int i; | ^ mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ mpeg3io.c: In function 'mpeg3io_read_buffer': mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] 177 | int result; | ^~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'mpeg3demux_scan_pts': mpeg3ifo.c: In function 'ifo_open': mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); | ^~~~~ mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] 2414 | } | ^ mpeg3demux.c: In function 'mpeg3demux_goto_pts': mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] 2442 | } | ^ mpeg3ifo.c: In function 'program_map': mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 265 | *ptr = pgc; | ^ mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; | ^ mpeg3ifo.c: In function 'get_ifo_playlist': mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 362 | while(new_filename = readdir(dirstream)) | ^~~~~~~~~~~~ mpeg3ifo.c: In function 'get_ifo_header': mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); | ^~~~~~~ mpeg3ifo.c: In function 'cellplayinfo': mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 538 | ; | ^ mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) | ^~~~~~~~~~~ mpeg3ifo.c: In function 'celladdresses': mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) | ^~~~~~~~~~~~~~~ mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; | ^~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'finaltable': mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~ mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] 634 | int64_t program_start_byte[256], program_end_byte[256]; | ^~~~~~~~~~~~~~~~~~ mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] 630 | int done; | ^~~~ mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] 629 | int output_cell = 0; | ^~~~~~~~~~~ mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~~~~~~ mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] 628 | int input_cell = 0, current_address = 0; | ^~~~~~~~~~ mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] 625 | mpeg3ifo_celltable_t *cells, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ mpeg3ifo.c: In function 'mpeg3_read_ifo': mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] 716 | int result; | ^~~~~~ mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~~ mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; | ^~~~~~~~~~~~~ mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] 706 | int read_cells) | ~~~~^~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3strack.c: In function 'mpeg3_new_strack': mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); | ^~~~~~~~~~~~~~ mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); | ^~~ mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); | ^~~~~~~ mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); | ^~~~~~~~~~~~~ mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 271 | index->index_data = calloc(sizeof(float*), channels); | ^~~~~ mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 274 | index->index_data[j] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); | ^~~ mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] 143 | int stream_type; | ^~~~~~~~~~~ mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] 141 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ mpeg3tocutil.c: In function 'divide_index': mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; | ^~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 645 | new_index_data[i] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 660 | index->index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > | ^ mpeg3tocutil.c: In function 'handle_audio': mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c: In function 'handle_subtitle': mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] 982 | int i, j; | ^ mpeg3tocutil.c: In function 'mpeg3_do_toc': mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1069 | if(custom_id == atrack->pid) | ^~ mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if(vtrack->pid == custom_id) | ^~ mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] 1015 | int i, j, k; | ^ mpeg3tocutil.c:1015:16: warning: unused variable 'j' [-Wunused-variable] 1015 | int i, j, k; | ^ mpeg3tocutil.c: In function 'mpeg3_stop_toc': mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] 1186 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ 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; | ^~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:15:41: warning: variable 'vbv_buffer_size' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~~~~ video/headers.c:15:27: warning: unused variable 'picture_rate' [-Wunused-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:15:13: warning: variable 'aspect_ratio' set but not used [-Wunused-but-set-variable] 15 | int aspect_ratio, picture_rate, vbv_buffer_size; | ^~~~~~~~~~~~ video/headers.c:13:18: warning: unused variable 'file' [-Wunused-variable] 13 | mpeg3_t *file = video->file; | ^~~~ video/headers.c: In function 'mpeg3video_sequence_extension': video/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; | ^~~ video/headers.c:73:37: warning: variable 'frame_rate_extension_d' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:73:13: warning: variable 'frame_rate_extension_n' set but not used [-Wunused-but-set-variable] 73 | int frame_rate_extension_n, frame_rate_extension_d; | ^~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:60: warning: variable 'low_delay' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~ video/headers.c:72:33: warning: variable 'vbv_buffer_size_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:72:13: warning: variable 'bit_rate_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~ video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_display_extension': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ video/headers.c:100:38: warning: variable 'display_vertical_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~ video/headers.c:100:13: warning: variable 'display_horizontal_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:99:35: warning: variable 'transfer_characteristics' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/headers.c: In function 'mpeg3video_quant_matrix_extension': video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~~~~ 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/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; | ^~~~~~~~~~~ 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; | ^~~~~~ video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] 223 | int chroma_420_type, composite_display_flag; | ^~~~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ 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; | ^~~~~~~~~~~ video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~~ video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~ video/headers.c: In function 'mpeg3video_getpicturehdr': video/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ video/headers.c:412:13: warning: variable 'temp_ref' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~ video/headers.c: In function 'mpeg3video_get_header': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; | ^~~~~~~ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ 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; | ^~~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ mpeg3tocutil.c: In function 'mpeg3_do_toc': mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ mpeg3tocutil.c: At top level: mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] 11 | static FILE *test_file = 0; | ^~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 video/getpicture.c: In function 'mpeg3video_get_macroblocks': video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] 518 | unsigned int code; | ^~~~ video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) | ~~~~^~~~~~~~ video/getpicture.c: In function 'mpeg3video_allocate_decoders': video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) | ~~~~^~~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3ifo.c: In function 'get_ifo_playlist.constprop': cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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); | ^ mpeg3vtrack.c: In function 'mpeg3_new_vtrack': 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; | ^~~~~~~~~~~~~ video/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; | ^~~~~~ video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] 10 | FILE *proc; | ^~~~ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ video/motion.c: In function 'mpeg3video_motion_vectors': 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 audio/layer3.c: In function 'dequantize_sample': cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] 680 | while(xrpnt < &xr[SBLIMIT][0]) | ^~~~~~~~~~~~~~~ audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] 236 | float xr[SBLIMIT][SSLIMIT], | ~~~~~~^~~~~~~~~~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; | ^~~~~~~ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; | ^~~~~~~~~ video/mpeg3video.c:405:51: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~ video/mpeg3video.c:405:43: warning: variable 'second' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ video/mpeg3video.c: In function 'mpeg3video_set_cpus': video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ video/mpeg3video.c:539:50: warning: unused parameter 'cpus' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~^~~~ video/mpeg3video.c: In function 'mpeg3video_set_mmx': video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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/reconstruct.c: In function 'recon_comp': video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] 418 | void recon_comp(mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ 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/reconstruct.c: In function 'mpeg3video_reconstruct': video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 619 | ; | ^ video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 691 | ; | ^ 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/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 757 | ; | ^ video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] 499 | int mpeg3video_display_second_field(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ video/seek.c: In function 'mpeg3video_match_refframes': 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/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; | ^ video/seek.c: In function 'mpeg3video_seek_byte': video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ video/seek.c: In function 'mpeg3video_seek': video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] 218 | int match_refframes = 1; | ^~~~~~~~~~~~~~~ video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] 211 | int attempts; | ^~~~~~~~ video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] 210 | int back_step; | ^~~~~~~~~ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ 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/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] 371 | float f, p, q, t; | ^ video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] 369 | float h, s, v; | ^ video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] 78 | int got_alpha = 0; | ^~~~~~~~~ video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] 29 | int even_offset = 0; | ^~~~~~~~~~~ video/subtitle.c: In function 'mpeg3_decode_subtitle': video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) | ^ video/getpicture.c:220:21: note: 'j' was declared here 220 | int val, i, j, sign; | ^ video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 412 | if(j != 0) | ^ video/getpicture.c:309:21: note: 'j' was declared here 309 | int val, i, j, sign, nc; | ^ In function 'handle_scrambling', inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] 777 | if(mpeg3_decrypt_packet(title->fs->css, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | buffer_ptr, | ~~~~~~~~~~~ 779 | decryption_offset)) | ~~~~~~~~~~~~~~~~~~ mpeg3demux.c: In function 'mpeg3demux_read_program': mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here 1091 | int decryption_offset; | ^~~~~~~~~~~~~~~~~ video/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 507 | if(j != 0) | ^ video/getpicture.c:427:21: note: 'j' was declared here 427 | int val, i, j, sign, nc; | ^ 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; | ^~~~~~~~~~~~~~~~~ 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 ( cd x86_64; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so; \ ln -sf libmpeg3.so.2.1.8 libmpeg3.so.2 \ ) cc -Wl,-z,relro -Wl,-z,now -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/mpeg3dump mpeg3dump.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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3toc.c: In function 'main': mpeg3toc.c:21:19: warning: unused variable 'l' [-Wunused-variable] 21 | int i, j, l; | ^ mpeg3toc.c:21:16: warning: unused variable 'j' [-Wunused-variable] 21 | int i, j, l; | ^ 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; | ^~~~~~ mpeg3cat.c: In function 'main': mpeg3cat.c:148:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 148 | if(out = fopen(outpath, "r")) | ^~~ mpeg3cat.c:237:33: warning: variable 'gop_frame' set but not used [-Wunused-but-set-variable] 237 | int64_t gop_frame; | ^~~~~~~~~ mpeg3cat.c:104:22: warning: unused variable 'bits' [-Wunused-variable] 104 | unsigned int bits; | ^~~~ make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_auto_test -O-Smakefile create-stamp debian/debhelper-build-stamp dh_prep -O-Smakefile dh_auto_install -O-Smakefile make -j20 install DESTDIR=/build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -m 755 x86_64/mpeg3dump x86_64/mpeg3peek x86_64/mpeg3toc x86_64/mpeg3cat /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib cp -dp x86_64/libmpeg3.a x86_64/libmpeg3.so.2.1.8 x86_64/libmpeg3.so.2 x86_64/libmpeg3.so /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/audio install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/video install -m 644 *.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include install -m 644 audio/*.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/audio install -m 644 video/*.h /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/include/video make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' debian/rules override_dh_install make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' mkdir -p /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib/pkgconfig sed "s/@VERSION@/1.8/" < debian/pkgconfig.in > /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/lib/pkgconfig/libmpeg3.pc dh_install make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' dh_installdocs -O-Smakefile dh_installchangelogs -O-Smakefile dh_installinit -O-Smakefile dh_lintian -O-Smakefile dh_perl -O-Smakefile dh_link -O-Smakefile dh_strip_nondeterminism -O-Smakefile dh_compress -O-Smakefile dh_fixperms -O-Smakefile dh_missing -O-Smakefile dh_dwz -a -O-Smakefile dh_strip -a -O-Smakefile dh_makeshlibs -a -O-Smakefile dh_shlibdeps -a -O-Smakefile dh_installdeb -O-Smakefile dh_gencontrol -O-Smakefile dh_md5sums -O-Smakefile dh_builddeb -O-Smakefile dpkg-deb: building package 'mpeg3-utils' in '../mpeg3-utils_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'mpeg3-utils-dbgsym' in '../mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-2t64' in '../libmpeg3-2t64_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-2t64-dbgsym' in '../libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-6_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libmpeg3_1.8.dfsg-6_amd64.buildinfo dpkg-genchanges --build=binary -O../libmpeg3_1.8.dfsg-6_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/3682662/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/3682662 and its subdirectories I: Current time: Wed Oct 2 00:53:55 +14 2024 I: pbuilder-time-stamp: 1727780035 + false + set +x Tue Oct 1 10:53:55 UTC 2024 I: Signing ./b2/libmpeg3_1.8.dfsg-6_amd64.buildinfo as libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc Tue Oct 1 10:53:55 UTC 2024 I: Signed ./b2/libmpeg3_1.8.dfsg-6_amd64.buildinfo as ./b2/libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc Tue Oct 1 10:53:55 UTC 2024 - build #2 for libmpeg3/unstable/amd64 on ionos11-amd64 done. Starting cleanup. All cleanup done. Tue Oct 1 10:53:55 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-nFSWfbBt, removing. /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO: total 208 drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 10:51 b1 drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 10:53 b2 -rw-r--r-- 1 jenkins jenkins 2319 Mar 22 2024 libmpeg3_1.8.dfsg-6.dsc -rw------- 1 jenkins jenkins 194423 Oct 1 10:51 rbuildlog.QBiuon6 /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b1: total 752 -rw-r--r-- 1 jenkins jenkins 190692 Oct 1 10:51 build.log -rw-r--r-- 1 jenkins jenkins 232308 Oct 1 10:51 libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 93216 Oct 1 10:51 libmpeg3-2t64_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 117928 Oct 1 10:51 libmpeg3-dev_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 18096 Oct 1 10:51 libmpeg3_1.8.dfsg-6.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2319 Oct 1 10:51 libmpeg3_1.8.dfsg-6.dsc -rw-r--r-- 1 jenkins jenkins 5876 Oct 1 10:51 libmpeg3_1.8.dfsg-6_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 6758 Oct 1 10:51 libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 2469 Oct 1 10:51 libmpeg3_1.8.dfsg-6_amd64.changes -rw-r--r-- 1 jenkins jenkins 1292 Oct 1 10:51 libmpeg3_1.8.dfsg-6_source.changes -rw-r--r-- 1 jenkins jenkins 46316 Oct 1 10:51 mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 13592 Oct 1 10:51 mpeg3-utils_1.8.dfsg-6_amd64.deb /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b2: total 740 -rw-r--r-- 1 jenkins jenkins 192615 Oct 1 10:53 build.log -rw-r--r-- 1 jenkins jenkins 232308 Oct 1 10:53 libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 93216 Oct 1 10:53 libmpeg3-2t64_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 117928 Oct 1 10:53 libmpeg3-dev_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 18096 Oct 1 10:53 libmpeg3_1.8.dfsg-6.debian.tar.xz -rw-r--r-- 1 jenkins jenkins 2319 Oct 1 10:53 libmpeg3_1.8.dfsg-6.dsc -rw-r--r-- 1 jenkins jenkins 5867 Oct 1 10:53 libmpeg3_1.8.dfsg-6_amd64.buildinfo -rw-r--r-- 1 jenkins jenkins 6749 Oct 1 10:53 libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc -rw-r--r-- 1 jenkins jenkins 2469 Oct 1 10:53 libmpeg3_1.8.dfsg-6_amd64.changes -rw-r--r-- 1 jenkins jenkins 1292 Oct 1 10:53 libmpeg3_1.8.dfsg-6_source.changes -rw-r--r-- 1 jenkins jenkins 46316 Oct 1 10:53 mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb -rw-r--r-- 1 jenkins jenkins 13592 Oct 1 10:53 mpeg3-utils_1.8.dfsg-6_amd64.deb Tue Oct 1 10:53:56 UTC 2024 I: Deleting $TMPDIR on ionos11-amd64.debian.net. Tue Oct 1 10:53:57 UTC 2024 I: libmpeg3_1.8.dfsg-6_amd64.changes: Format: 1.8 Date: Fri, 22 Mar 2024 23:03:43 +0100 Source: libmpeg3 Binary: libmpeg3-2t64 libmpeg3-2t64-dbgsym libmpeg3-dev mpeg3-utils mpeg3-utils-dbgsym Architecture: amd64 Version: 1.8.dfsg-6 Distribution: unstable Urgency: medium Maintainer: Debian Multimedia Maintainers Changed-By: IOhannes m zmölnig (Debian/GNU) Description: libmpeg3-2t64 - MPEG streams decoding library libmpeg3-dev - Headers and static libraries for libMPEG3 mpeg3-utils - MPEG streams decoding library (utilities) Closes: 1065781 Changes: libmpeg3 (1.8.dfsg-6) unstable; urgency=medium . * Add more missing prototypes (Closes: #1065781) * Apply 'wrap-and-sort -ast' Checksums-Sha1: 8dc8892b70b15dd523942a91abefae5cb68c575a 232308 libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb a8da2cc20e20cd47e20a43f55560d581e10d06dd 93216 libmpeg3-2t64_1.8.dfsg-6_amd64.deb 30092e8672c1aba5bbda972708215f67642bf9d8 117928 libmpeg3-dev_1.8.dfsg-6_amd64.deb 2c921205f52750c19026fca4a8e354e603af4cbe 5876 libmpeg3_1.8.dfsg-6_amd64.buildinfo d3da746a96f46f73b44cd391728fce7004da5ea3 46316 mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb 79266fff7c3e33836786a52f3ec570fd7d3a589e 13592 mpeg3-utils_1.8.dfsg-6_amd64.deb Checksums-Sha256: f6ab14f58bef68ca94ea9a440218089eb7ff85a8085ae9fa16800c3d3b9b56d0 232308 libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb e0d00407ec5bb13fe1abc5f9df4d542eac9b82efbdb15f0c2a05f2362aa1783b 93216 libmpeg3-2t64_1.8.dfsg-6_amd64.deb 7c7665ea6763cab99a8589352ef2f03b798902e00ae1836072f515c77185dff1 117928 libmpeg3-dev_1.8.dfsg-6_amd64.deb 88f429873b05d258698b650b52e2c1529766c50ca31e2f1580bd1f0b45a8ead2 5876 libmpeg3_1.8.dfsg-6_amd64.buildinfo e853a731c5c876b6e38d795742fa81c39dd88827fd04c3f6674dcb3ecff036ff 46316 mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb c90a2c1c9264264daec10bfabe066d5d55cf9736da6518cd13a6465523163797 13592 mpeg3-utils_1.8.dfsg-6_amd64.deb Files: 9b63f95cf75e92cf3ec5bfb650baa320 232308 debug optional libmpeg3-2t64-dbgsym_1.8.dfsg-6_amd64.deb 14a3eeb55283badc7e92ab63b551bcf1 93216 libs optional libmpeg3-2t64_1.8.dfsg-6_amd64.deb 5d4c63f79ce131f6b934681dd5054463 117928 libdevel optional libmpeg3-dev_1.8.dfsg-6_amd64.deb 54801758748e9c1bb3c68642e5d3ef62 5876 libs optional libmpeg3_1.8.dfsg-6_amd64.buildinfo ebafc03af0a30684b70ca6450fc46243 46316 debug optional mpeg3-utils-dbgsym_1.8.dfsg-6_amd64.deb 2f8d3c9a62f7a47aceceaa1a8ef02274 13592 utils optional mpeg3-utils_1.8.dfsg-6_amd64.deb removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libmpeg3_1.8.dfsg-6.rbuild.log' removed '/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libmpeg3_1.8.dfsg-6.rbuild.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/libmpeg3_1.8.dfsg-6.build1.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/amd64/libmpeg3_1.8.dfsg-6.build2.log.gz' removed '/var/lib/jenkins/userContent/reproducible/debian/buildinfo/unstable/amd64/libmpeg3_1.8.dfsg-6_amd64.buildinfo' removed '/var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libmpeg3_1.8.dfsg-6.diff.gz' Diff of the two buildlogs: -- --- b1/build.log 2024-10-01 10:51:21.304233256 +0000 +++ b2/build.log 2024-10-01 10:53:56.597638761 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Nov 3 05:13:42 -12 2025 -I: pbuilder-time-stamp: 1762190022 +I: Current time: Wed Oct 2 00:51:25 +14 2024 +I: pbuilder-time-stamp: 1727779885 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -38,52 +38,84 @@ dpkg-source: info: applying 1100-header-comment-fix.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2656771/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 Oct 1 10:51 /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/3682662/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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=42 ' - DISTRIBUTION='unstable' - 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + 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=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='1b95d91a4b474bc4ba53036642aaf81b' - 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='2656771' - PS1='# ' - PS2='> ' + INVOCATION_ID=5ed3ff47f8a74cc59283fc295b71b4f0 + 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=3682662 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.PcqfIxzO/pbuilderrc_sOOp --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b1 --logfile b1/build.log libmpeg3_1.8.dfsg-6.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://213.165.73.152: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.PcqfIxzO/pbuilderrc_tqwX --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b2 --logfile b2/build.log libmpeg3_1.8.dfsg-6.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2656771/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -152,7 +184,7 @@ Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4 amd64 0.7.4-20+b1 [33.8 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4-dev amd64 0.7.4-20+b1 [52.9 kB] -Fetched 19.9 MB in 0s (124 MB/s) +Fetched 19.9 MB in 5s (4313 kB/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 ... 19785 files and directories currently installed.) @@ -291,7 +323,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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-6_source.changes +I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3682662/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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-6_source.changes dpkg-buildpackage: info: source package libmpeg3 dpkg-buildpackage: info: source version 1.8.dfsg-6 dpkg-buildpackage: info: source distribution unstable @@ -301,7 +337,7 @@ debian/rules clean dh clean -Smakefile dh_auto_clean -O-Smakefile - make -j42 clean + make -j20 clean make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' rm -rf x86_64 make[1]: Leaving directory '/build/reproducible-path/libmpeg3-1.8.dfsg' @@ -312,7 +348,7 @@ dh_autoreconf -O-Smakefile dh_auto_configure -O-Smakefile dh_auto_build -O-Smakefile - make -j42 "INSTALL=install --strip-program=true" + make -j20 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 @@ -329,58 +365,134 @@ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +audio/ac3.c: In function 'mpeg3audio_doac3': +audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] + 117 | frame, + | ^~~~~ + | | + | char * +In file included from audio/ac3.c:5: +/usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, + | ~~~~~~~~~~^~~ +audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] + 107 | int frame_size, + | ~~~~^~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'mpeg3_new': +libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] + 32 | int i; + | ^ +libmpeg3.c: In function 'is_bd': +libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 151 | (!ext || ext && + | ~~~~^~ + 152 | (!strncasecmp(ext, ".m2ts", 5) || + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 153 | !strncasecmp(ext, ".mts", 4))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] + 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) + | ~~~~~~~~~^~~~~ +audio/layer3.c: In function 'get_scale_factors_1': +libmpeg3.c: In function 'copy_subtitles': +libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] + 396 | int i, j; + | ^ +libmpeg3.c: In function 'mpeg3_open_copy': +libmpeg3.c:413:13: warning: unused variable 'result' [-Wunused-variable] + 413 | int result = 0; + | ^~~~~~ +libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] + 412 | int i, done; + | ^~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] + 54 | int ch, + | ~~~~^~ +audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] + 55 | int gr) + | ~~~~^~ +libmpeg3.c: In function 'calculate_packet_size': +libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] + 275 | } + | ^ +audio/layer3.c: In function 'dequantize_sample': +audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' + 339 | REFRESH_MASK; + | ^~~~~~~~~~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' + 354 | REFRESH_MASK; + | ^~~~~~~~~~~~ +audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' + 382 | REFRESH_MASK; + | ^~~~~~~~~~~~ +audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' + 414 | REFRESH_MASK; + | ^~~~~~~~~~~~ +audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' + 543 | REFRESH_MASK; + | ^~~~~~~~~~~~ +audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' + 558 | REFRESH_MASK; + | ^~~~~~~~~~~~ +audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' + 585 | REFRESH_MASK; + | ^~~~~~~~~~~~ +audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 227 | while(num < BITSHIFT) \ + | ^ +audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' + 619 | REFRESH_MASK; + | ^~~~~~~~~~~~ +audio/layer3.c: In function 'hybrid': +audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) + | ^ +audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) + | ^ +audio/layer3.c: In function 'antialias': +audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] + 867 | static int antialias(mpeg3_layer_t *audio, + | ~~~~~~~~~~~~~~~^~~~~ +audio/layer3.c: In function 'calc_i_stereo': 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:917:41: warning: unused parameter 'audio' [-Wunused-parameter] + 917 | static int calc_i_stereo(mpeg3_layer_t *audio, + | ~~~~~~~~~~~~~~~^~~~~ audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 369 | for(i = sblimit; i < SBLIMIT; i++) | ^~~ @@ -400,48 +512,433 @@ ./mpeg3protos.h:489:60: note: expected 'unsigned char *' but argument is of type 'char *' 489 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); | ~~~~~~~~~~~~~~~^~~~~~ +audio/layer3.c: In function 'mpeg3audio_dolayer3': +audio/layer3.c:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) + | ^ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ +audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) + | ^ +audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) + | ^ +audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] + 1083 | int i; + | ^ +audio/layer3.c: In function 'mpeg3_layer_header': +audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 1510 | else + | ^~~~ +audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 1514 | if(layer_data->samplerate != 0 && + | ^~ mpeg3bits.c: In function 'mpeg3bits_read_buffer': -mpeg3atrack.c: In function 'mpeg3_delete_atrack': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ +audio/mpeg3audio.c: In function 'read_frame': +audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 329 | float **new_output = calloc(sizeof(float*), track->channels); + | ^~~~~ +audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element +audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); + | ^~~~~ +audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element +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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' + 203 | char *frame, + | ~~~~~~^~~~~ +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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' + 196 | 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:189:15: note: expected 'char *' but argument is of type 'unsigned char *' + 189 | 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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' + 211 | 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/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 'mpeg3audio_new': +audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 605 | audio->output = calloc(sizeof(float*), track->channels); + | ^~~~~ +audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element +audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); + | ^~~~~ +audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element +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/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': +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/ac3.c: In function 'mpeg3audio_doac3': -audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] - 117 | frame, - | ^~~~~ - | | - | char * -In file included from audio/ac3.c:5: -/usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, - | ~~~~~~~~~~^~~ -audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] - 107 | int frame_size, - | ~~~~^~~~~~~~~~ -video/motion.c: In function 'mpeg3video_motion_vector': -video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] - 132 | mpeg3video_t *video, - | ~~~~~~~~~~~~~~^~~~~ -video/motion.c: In function 'mpeg3video_motion_vectors': -video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] - 178 | int result = 0; +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/mpeg3audio.c: In function 'mpeg3audio_decode_audio': +audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 957 | new_output = calloc(sizeof(float), new_size); + | ^~~~~ +audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element +audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] + 915 | int i, j, k; + | ^ +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/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) + | ~~~~~~~~~~~~~~~^~~~~ +mpeg3strack.c: In function 'mpeg3_new_strack': +mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); + | ^~~~~~~~~~~~~~ +mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element +mpeg3strack.c: In function 'mpeg3_get_strack': +mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] + 70 | int i; + | ^ +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': +mpeg3tocutil.c: In function 'read_data': +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; + | ^~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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; + | ^~~~ +mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] + 113 | } + | ^ +mpeg3tocutil.c: In function 'mpeg3_read_toc': +mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); + | ^~~ +mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); + | ^~~~~~~ +mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); + | ^~~ +mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); + | ^~~~~~~ +mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); + | ^~~~~~~ +mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); + | ^~~~~~~~~~~~~ +mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 271 | index->index_data = calloc(sizeof(float*), channels); + | ^~~~~ +mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 274 | index->index_data[j] = calloc(sizeof(float), + | ^~~~~ +mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); + | ^~~~~~~ +mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); + | ^~~ +mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); + | ^~~~~~~ +mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); + | ^~~ +mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); + | ^~~~~~~ +mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] + 337 | int string_len = 0; + | ^~~~~~~~~~ +mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] + 143 | int stream_type; + | ^~~~~~~~~~~ +mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] + 141 | int file_type; + | ^~~~~~~~~ +mpeg3tocutil.c: In function 'mpeg3_start_toc': +mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] + 527 | int toc_atracks = 0, toc_vtracks = 0; + | ^~~~~~~~~~~ +mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] + 527 | int toc_atracks = 0, toc_vtracks = 0; + | ^~~~~~~~~~~ +mpeg3tocutil.c: In function 'divide_index': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +mpeg3vtrack.c: In function 'mpeg3_new_vtrack': +mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] + 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; + | ^~~~~~ +mpeg3tocutil.c: In function 'mpeg3_update_index': +mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] + 11 | int result = 0; | ^~~~~~ -video/mmxtest.c: In function 'mpeg3_mmx_test': -video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] - 11 | char string[MPEG3_STRLEN]; - | ^~~~~~ -video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] - 10 | FILE *proc; - | ^~~~ -video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] - 9 | int result = 0; +mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); + | ^~~~~ +mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 645 | new_index_data[i] = calloc(sizeof(float), + | ^~~~~ +mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element +mpeg3vtrack.c: In function 'mpeg3_delete_vtrack': +mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] + 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) + | ~~~~~~~~~^~~~ +mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 660 | index->index_data = calloc(sizeof(float*), atrack->channels); + | ^~~~~ +mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element +mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] + 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'handle_audio': +mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] + 746 | int i, j, k; + | ^ +mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] + 746 | int i, j, k; + | ^ +mpeg3ifo.c: In function 'ifo_open': +mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] + 746 | int i, j, k; + | ^ +mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); + | ^~~~~ +mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element +mpeg3vtrack.c: At top level: +mpeg3ifo.c: In function 'program_map': +video/getpicture.c: In function 'mpeg3video_get_macroblocks': +mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] + 70 | static int last_keyframe = 0; + | ^~~~~~~~~~~~~ +mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 265 | *ptr = pgc; + | ^ +mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; + | ^ +mpeg3ifo.c: In function 'get_ifo_playlist': +mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 362 | while(new_filename = readdir(dirstream)) + | ^~~~~~~~~~~~ +mpeg3ifo.c: In function 'get_ifo_header': +mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] + 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); + | ^~~~~~~ +video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] + 518 | unsigned int code; + | ^~~~ +video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] + 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) + | ~~~~^~~~~~~~ +mpeg3ifo.c: In function 'cellplayinfo': +mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] + 538 | ; + | ^ +video/getpicture.c: In function 'mpeg3video_allocate_decoders': +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)) + | ^~~~~~~~~~~ +mpeg3tocutil.c: In function 'handle_subtitle': +video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] + 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) + | ~~~~^~~~~~~~~~~~~ +mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] + 982 | int i, j; + | ^ +mpeg3tocutil.c: In function 'mpeg3_do_toc': +mpeg3ifo.c: In function 'celladdresses': +mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] + 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; + | ^~~~ +mpeg3ifo.c: In function 'finaltable': +mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~ +mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~~~ +mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] + 630 | int done; + | ^~~~ +mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] + 629 | int output_cell = 0; + | ^~~~~~~~~~~ +mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~~~~~~ +mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1069 | if(custom_id == atrack->pid) + | ^~ +mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~ +mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] + 625 | mpeg3ifo_celltable_t *cells, + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1120 | if(vtrack->pid == custom_id) + | ^~ +mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] + 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ +mpeg3ifo.c: In function 'mpeg3_read_ifo': +mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] + 1015 | int i, j, k; + | ^ +mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] + 716 | int result; + | ^~~~~~ +mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] + 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; + | ^~~~~~~~~~~~~~ +mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] + 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; + | ^~~~~~~~~~~~~ +mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] + 706 | int read_cells) + | ~~~~^~~~~~~~~~ +mpeg3tocutil.c:1015:16: warning: unused variable 'j' [-Wunused-variable] + 1015 | int i, j, k; + | ^ +mpeg3tocutil.c: In function 'mpeg3_stop_toc': +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; + | ^~~~~~ +mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] + 1186 | mpeg3_atrack_t *atrack = file->atrack[i]; + | ^~~~~~ +mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] + 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; + | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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_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 && + | ^~ 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; @@ -477,24 +974,16 @@ video/headers.c:72:13: warning: variable 'bit_rate_extension' set but not used [-Wunused-but-set-variable] 72 | int bit_rate_extension, vbv_buffer_size_extension, low_delay; | ^~~~~~~~~~~~~~~~~~ -libmpeg3.c: In function 'mpeg3_new': video/headers.c:70:13: warning: variable 'prof_lev' set but not used [-Wunused-but-set-variable] 70 | int prof_lev; | ^~~~~~~~ -libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] - 32 | int i; - | ^ video/headers.c: In function 'mpeg3video_sequence_display_extension': -mpeg3title.c: In function 'extend_cell_table': video/headers.c:102:13: warning: unused variable 'video_format' [-Wunused-variable] 102 | int video_format = mpeg3bits_getbits(video->vstream, 3); | ^~~~~~~~~~~~ video/headers.c:101:13: warning: unused variable 'pos' [-Wunused-variable] 101 | int pos = 0; | ^~~ -mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] - 82 | int i; - | ^ video/headers.c:100:38: warning: variable 'display_vertical_size' set but not used [-Wunused-but-set-variable] 100 | int display_horizontal_size, display_vertical_size; | ^~~~~~~~~~~~~~~~~~~~~ @@ -511,92 +1000,225 @@ video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ -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; - | ^~~~~~~ -libmpeg3.c: In function 'is_bd': -mpeg3title.c:126:35: warning: unused variable 'counter_start' [-Wunused-variable] - 126 | int result = 0, done = 0, counter_start, counter; - | ^~~~~~~~~~~~~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': -libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 151 | (!ext || ext && - | ~~~~^~ - 152 | (!strncasecmp(ext, ".m2ts", 5) || - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 153 | !strncasecmp(ext, ".mts", 4))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ -libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] - 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) - | ~~~~~~~~~^~~~~ -audio/pcm.c: In function 'mpeg3audio_dopcm': -mpeg3title.c: In function 'mpeg3demux_print_cells': -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 + - | ^~~~~ -mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] - 185 | mpeg3_t *file = title->file; - | ^~~~ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -video/output.c: In function 'mpeg3video_ditherframe': 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] - 141 | int uv_subscript, step, w = -1; - | ^~~~ video/headers.c: In function 'mpeg3video_picture_coding_extension': +mpeg3tocutil.c: In function 'mpeg3_update_index': 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; | ^~~~~~~~~~~~~~~~~ +mpeg3demux.c: In function 'read_transport': +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/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; + | ^~~~~~~~~~~ +mpeg3demux.c:633:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 633 | if(demuxer->adaptation_field_control & 0x1) + | ^~ +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; + | ^~~~~~ +video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] + 223 | int chroma_420_type, composite_display_flag; + | ^~~~~~~~~~~~~~~ +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) + + | ^~~~~~~ +video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': +video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] + 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) + | ~~~~~~~~~~~~~~^~~~~ +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; + | ^~~~~~~~~~~ +video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] + 387 | int drop_flag, closed_gop, broken_link; + | ^~~~~~~~~~ +video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] + 387 | int drop_flag, closed_gop, broken_link; + | ^~~~~~~~~ +video/headers.c: In function 'mpeg3video_getpicturehdr': +video/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] + 412 | int temp_ref, vbv_delay; + | ^~~~~~~~~ +mpeg3demux.c: In function 'remove_subtitle': +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:739:1: warning: control reaches end of non-void function [-Wreturn-type] + 739 | } + | ^ +video/headers.c: In function 'mpeg3video_get_header': +video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] + 446 | mpeg3_demuxer_t *demuxer = track->demuxer; + | ^~~~~~~ +video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] + 443 | mpeg3_t *file = video->file; + | ^~~~ +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; + | ^~~~~~~~~~~ +mpeg3tocutil.c: In function 'mpeg3_do_toc': +mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] + 791 | int i, j; + | ^ +mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] + 1160 | } + | ^ +mpeg3demux.c: In function 'new_subtitle': +mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 851 | calloc(sizeof(mpeg3_subtitle_t), 1); + | ^~~~~~~~~~~~~~~~ +mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element +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 && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 1258 | demuxer->do_audio || + | ~~~~~~~~~~~~~~~~~ +mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1300 | if(demuxer->custom_id == demuxer->vstream && + | ^~ +mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1300 | if(demuxer->custom_id == demuxer->vstream && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 1301 | demuxer->do_video || + | ~~~~~~~~~~~~~~~~~ +mpeg3tocutil.c: At top level: +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 && + | ^~ +mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] + 11 | static FILE *test_file = 0; + | ^~~~~~~~~ +mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1379 | if(demuxer->custom_id == demuxer->astream && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 1380 | demuxer->do_audio || + | ~~~~~~~~~~~~~~~~~ +mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] + 1092 | int i; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] + 1446 | mpeg3_t *file = demuxer->file; + | ^~~~ +mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] + 1445 | int count = 0; + | ^~~~~ +mpeg3demux.c: In function 'mpeg3_seek_phys': +mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] + 1679 | if(!demuxer->titles) return 1; + | ^ +In file included from libmpeg3.h:8, + from mpeg3demux.c:1: +mpeg3private.h:393:24: note: 'titles' declared here + 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; + | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] + 1719 | int got_it = 0; + | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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; + | ^~ +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': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] + 2461 | int i, j; + | ^ +mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] + 2461 | int i, j; + | ^ +video/mmxtest.c: In function 'mpeg3_mmx_test': +video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] + 11 | char string[MPEG3_STRLEN]; + | ^~~~~~ +video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] + 10 | FILE *proc; + | ^~~~ +video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] + 9 | int result = 0; + | ^~~~~~ +video/motion.c: In function 'mpeg3video_motion_vector': +video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] + 132 | mpeg3video_t *video, + | ~~~~~~~~~~~~~~^~~~~ +video/motion.c: In function 'mpeg3video_motion_vectors': +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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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': +mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] + 2442 | } + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/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/reconstruct.c: In function 'recon_comp': video/output.c:281:67: warning: unused parameter 'src' [-Wunused-parameter] 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~~^~~~~ -video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] - 418 | void recon_comp(mpeg3video_t *video, - | ~~~~~~~~~~~~~~^~~~~ -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; - | ^~~~~~~~~~~~~~~ -mpeg3strack.c: In function 'mpeg3_new_strack': -mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); - | ^~~~~~~~~~~~~~ video/output.c: In function 'mpeg3video_dithertop444': -mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element -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; - | ^~~~~~~~~~~ video/output.c:291:43: warning: unused parameter 'video' [-Wunused-parameter] 291 | int mpeg3video_dithertop444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~^~~~~ @@ -607,23 +1229,13 @@ video/output.c:296:40: warning: unused parameter 'video' [-Wunused-parameter] 296 | int mpeg3video_ditherbot(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~^~~~~ -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; - | ^~~~~~ -mpeg3vtrack.c: In function 'mpeg3_new_vtrack': 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': -mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] - 11 | int result = 0; - | ^~~~~~ video/output.c:301:43: warning: unused parameter 'video' [-Wunused-parameter] 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~^~~~~ -video/headers.c:223:13: warning: variable 'chroma_420_type' set but not used [-Wunused-but-set-variable] - 223 | int chroma_420_type, composite_display_flag; - | ^~~~~~~~~~~~~~~ video/output.c:301:65: warning: unused parameter 'src' [-Wunused-parameter] 301 | int mpeg3video_ditherbot444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~~^~~~~ @@ -634,135 +1246,46 @@ video/output.c:308:13: warning: unused variable 'i' [-Wunused-variable] 308 | int i, len2; | ^ -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) - | ~~~~~~~~~^~~~ -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++) - | ^~ -libmpeg3.c: In function 'copy_subtitles': -video/headers.c: In function 'mpeg3video_picture_temporal_scalable_extension': -mpeg3strack.c: In function 'mpeg3_get_strack': -mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] - 70 | int i; - | ^ -libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] - 396 | int i, j; - | ^ -video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] - 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) - | ~~~~~~~~~~~~~~^~~~~ -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) - | ~~~~~~~~~~~~~~~^~~~~ -video/reconstruct.c: In function 'mpeg3video_reconstruct': -video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 619 | ; - | ^ -video/headers.c: In function 'mpeg3video_getgophdr': -audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] - 369 | for(i = sblimit; i < SBLIMIT; i++) - | ^~~ -libmpeg3.c: In function 'mpeg3_open_copy': -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; - | ^~~~~~ -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; - | ^~~~~~~~~~~ -audio/layer2.c:276:19: warning: unused variable 'test' [-Wunused-variable] - 276 | int d1, step, test; - | ^~~~ -libmpeg3.c:413:13: warning: unused variable 'result' [-Wunused-variable] - 413 | int result = 0; - | ^~~~~~ -video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] - 387 | int drop_flag, closed_gop, broken_link; - | ^~~~~~~~~~ video/output.c: In function 'mpeg3video_present_frame': -audio/layer2.c: In function 'mpeg3audio_dolayer2': 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; | ^ -libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] - 412 | int i, done; - | ^~~~ -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 * video/output.c:348:16: warning: unused variable 'j' [-Wunused-variable] 348 | int i, j, k, l; | ^ -In file included from audio/layer2.c:8: -./mpeg3protos.h:489:60: note: expected 'unsigned char *' but argument is of type 'char *' - 489 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); - | ~~~~~~~~~~~~~~~^~~~~~ -video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] - 387 | int drop_flag, closed_gop, broken_link; - | ^~~~~~~~~ video/output.c: In function 'mpeg3video_display_second_field': -video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 691 | ; - | ^ video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] 499 | int mpeg3video_display_second_field(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ -video/headers.c: In function 'mpeg3video_getpicturehdr': -audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] - 378 | int frame_size, - | ~~~~^~~~~~~~~~ -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/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] - 412 | int temp_ref, vbv_delay; - | ^~~~~~~~~ -video/headers.c:412:13: warning: variable 'temp_ref' set but not used [-Wunused-but-set-variable] - 412 | int temp_ref, vbv_delay; - | ^~~~~~~~ -video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 757 | ; - | ^ -video/headers.c: In function 'mpeg3video_get_header': -video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] - 446 | mpeg3_demuxer_t *demuxer = track->demuxer; - | ^~~~~~~ -video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] - 443 | mpeg3_t *file = video->file; - | ^~~~ -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; - | ^~~~~~~~~~~ -video/slice.c: In function 'mpeg3video_addblock': -video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] - 62 | int spar = slice->sparse[comp]; - | ^~~~ -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; - | ^~~~~~ video/mpeg3video.c: In function 'mpeg3video_deletedecoder': +video/reconstruct.c: In function 'recon_comp': +video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] + 418 | void recon_comp(mpeg3video_t *video, + | ~~~~~~~~~~~~~~^~~~~ +video/reconstruct.c: In function 'mpeg3video_reconstruct': +video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 619 | ; + | ^ video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; | ^~~~~~~ video/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] 178 | int i, padding; | ^ +video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 691 | ; + | ^ video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': +video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 757 | ; + | ^ video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ @@ -772,13 +1295,6 @@ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; @@ -786,74 +1302,57 @@ video/mpeg3video.c:405:51: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~ -video/getpicture.c: In function 'mpeg3video_get_macroblocks': video/mpeg3video.c:405:43: warning: variable 'second' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ video/mpeg3video.c:405:35: warning: variable 'minute' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~~~ -video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] - 518 | unsigned int code; - | ^~~~ video/mpeg3video.c:405:29: warning: variable 'hour' set but not used [-Wunused-but-set-variable] 405 | int hour, minute, second, frame; | ^~~~ -video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] - 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) - | ~~~~^~~~~~~~ -libmpeg3.c: In function 'calculate_packet_size': video/mpeg3video.c: In function 'mpeg3video_set_cpus': -libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] - 275 | } - | ^ video/mpeg3video.c:539:39: warning: unused parameter 'video' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~~~~~~~~~~~^~~~~ -video/getpicture.c: In function 'mpeg3video_allocate_decoders': video/mpeg3video.c:539:50: warning: unused parameter 'cpus' [-Wunused-parameter] 539 | int mpeg3video_set_cpus(mpeg3video_t *video, int cpus) | ~~~~^~~~ video/mpeg3video.c: In function 'mpeg3video_set_mmx': -video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] - 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) - | ~~~~^~~~~~~~~~~~~ video/mpeg3video.c:544:49: warning: unused parameter 'use_mmx' [-Wunused-parameter] 544 | int mpeg3video_set_mmx(mpeg3video_t *video, int use_mmx) | ~~~~^~~~~~~ -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 && - | ^~ +video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': +video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] + 716 | int size0, size1; + | ^~~~~ +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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/slice.c: In function 'mpeg3video_addblock': +video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] + 62 | int spar = slice->sparse[comp]; + | ^~~~ +audio/layer3.c: In function 'dequantize_sample': +audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] + 680 | while(xrpnt < &xr[SBLIMIT][0]) + | ^~~~~~~~~~~~~~~ +audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] + 236 | float xr[SBLIMIT][SSLIMIT], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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; | ^ -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 && - | ^~ video/seek.c: In function 'mpeg3video_seek_byte': -video/mpeg3video.c: In function 'mpeg3video_read_yuvframe': video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ -video/mpeg3video.c:716:28: warning: variable 'size1' set but not used [-Wunused-but-set-variable] - 716 | int size0, size1; - | ^~~~~ -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 && - | ^~ -video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] - 716 | int size0, size1; - | ^~~~~ -mpeg3ifo.c: In function 'ifo_open': -mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); - | ^~~~~ -mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element video/seek.c: In function 'mpeg3video_seek': video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] 218 | int match_refframes = 1; @@ -864,104 +1363,93 @@ video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] 210 | int back_step; | ^~~~~~~~~ -mpeg3ifo.c: In function 'program_map': video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ -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; - | ^ -mpeg3demux.c: In function 'read_transport': -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: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 'get_ifo_header': -mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] - 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); - | ^~~~~~~ -mpeg3ifo.c: In function 'cellplayinfo': -mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] - 538 | ; - | ^ -mpeg3demux.c: In function 'remove_subtitle': -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:791:13: warning: unused variable 'i' [-Wunused-variable] - 791 | int i, j; - | ^ -mpeg3ifo.c: In function 'celladdresses': -mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) - | ^~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'new_subtitle': -mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] - 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; - | ^~~~ -mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 851 | calloc(sizeof(mpeg3_subtitle_t), 1); - | ^~~~~~~~~~~~~~~~ -mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element -mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] - 825 | int i, j; - | ^ -mpeg3ifo.c: In function 'finaltable': -mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~ -mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~~~ -mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] - 630 | int done; - | ^~~~ -mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] - 629 | int output_cell = 0; +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] + 371 | float f, p, q, t; + | ^ +video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] + 371 | float f, p, q, t; + | ^ +video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] + 371 | float f, p, q, t; + | ^ +video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] + 369 | float h, s, v; + | ^ +video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] + 369 | float h, s, v; + | ^ +video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] + 78 | int got_alpha = 0; + | ^~~~~~~~~ +video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] + 29 | int even_offset = 0; | ^~~~~~~~~~~ -mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~~~~~~ -mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~ -mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] - 625 | mpeg3ifo_celltable_t *cells, - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -mpeg3demux.c: In function 'handle_pcm': -mpeg3ifo.c: In function 'mpeg3_read_ifo': -mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] - 1078 | } - | ^ +video/subtitle.c: In function 'mpeg3_decode_subtitle': +video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] + 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; + | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +audio/ac3.c: In function 'mpeg3audio_doac3': +audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] + 117 | frame, + | ^~~~~ + | | + | char * +In file included from audio/ac3.c:5: +/usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, + | ~~~~~~~~~~^~~ +audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] + 107 | int frame_size, + | ~~~~^~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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; + | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:276:19: warning: unused variable 'test' [-Wunused-variable] + 276 | int d1, step, test; + | ^~~~ +audio/layer2.c: In function 'mpeg3audio_dolayer2': audio/layer3.c: In function 'get_scale_factors_1': +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:489:60: note: expected 'unsigned char *' but argument is of type 'char *' + 489 | int mpeg3bits_use_ptr(mpeg3_bits_t* stream, unsigned char *buffer); + | ~~~~~~~~~~~~~~~^~~~~~ audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ -mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] - 716 | int result; - | ^~~~~~ -mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] - 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; - | ^~~~~~~~~~~~~~ -mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] - 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; - | ^~~~~~~~~~~~~ -mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] - 706 | int read_cells) +audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] + 378 | int frame_size, | ~~~~^~~~~~~~~~ -mpeg3demux.c: In function 'get_program_pes_packet': audio/layer3.c: In function 'dequantize_sample': audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ @@ -969,9 +1457,6 @@ audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' 339 | REFRESH_MASK; | ^~~~~~~~~~~~ -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/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ @@ -984,31 +1469,19 @@ audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' 382 | REFRESH_MASK; | ^~~~~~~~~~~~ -mpeg3demux.c:1257:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1257 | if(demuxer->custom_id == demuxer->astream && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 1258 | demuxer->do_audio || - | ~~~~~~~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' 414 | REFRESH_MASK; | ^~~~~~~~~~~~ -mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1300 | if(demuxer->custom_id == demuxer->vstream && - | ^~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' 543 | REFRESH_MASK; | ^~~~~~~~~~~~ -mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1300 | if(demuxer->custom_id == demuxer->vstream && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 1301 | demuxer->do_video || - | ~~~~~~~~~~~~~~~~~ audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 227 | while(num < BITSHIFT) \ | ^ @@ -1027,348 +1500,40 @@ audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' 619 | REFRESH_MASK; | ^~~~~~~~~~~~ -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 && - | ^~ -mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1379 | if(demuxer->custom_id == demuxer->astream && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 1380 | demuxer->do_audio || - | ~~~~~~~~~~~~~~~~~ -mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] - 1092 | int i; - | ^ audio/layer3.c: In function 'hybrid': -video/subtitle.c: In function 'decompress_subtitle': -video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] - 371 | float f, p, q, t; - | ^ audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ -video/subtitle.c:371:53: warning: unused variable 'q' [-Wunused-variable] - 371 | float f, p, q, t; - | ^ -video/subtitle.c:371:50: warning: unused variable 'p' [-Wunused-variable] - 371 | float f, p, q, t; - | ^ -video/subtitle.c:371:47: warning: unused variable 'f' [-Wunused-variable] - 371 | float f, p, q, t; - | ^ audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) | ^ -video/subtitle.c:369:53: warning: variable 'v' set but not used [-Wunused-but-set-variable] - 369 | float h, s, v; - | ^ -video/subtitle.c:369:50: warning: variable 's' set but not used [-Wunused-but-set-variable] - 369 | float h, s, v; - | ^ -video/subtitle.c:78:13: warning: variable 'got_alpha' set but not used [-Wunused-but-set-variable] - 78 | int got_alpha = 0; - | ^~~~~~~~~ -video/subtitle.c:29:13: warning: variable 'even_offset' set but not used [-Wunused-but-set-variable] - 29 | int even_offset = 0; - | ^~~~~~~~~~~ audio/layer3.c: In function 'antialias': audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ -video/subtitle.c: In function 'mpeg3_decode_subtitle': -video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] - 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; - | ^~~~~~ -mpeg3tocutil.c: In function 'read_data': audio/layer3.c: In function 'calc_i_stereo': -mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] - 113 | } - | ^ -mpeg3demux.c: In function 'mpeg3demux_read_program': audio/layer3.c:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ -mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] - 1446 | mpeg3_t *file = demuxer->file; - | ^~~~ -mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] - 1445 | int count = 0; - | ^~~~~ audio/layer3.c: In function 'mpeg3audio_dolayer3': +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:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) | ^ -mpeg3demux.c: In function 'mpeg3_seek_phys': audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) | ^ -mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] - 1679 | if(!demuxer->titles) return 1; - | ^ -In file included from libmpeg3.h:8, - from mpeg3demux.c:1: -mpeg3private.h:393:24: note: 'titles' declared here - 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; - | ^~~~~~ audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) | ^ audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] 1083 | int i; | ^ -mpeg3tocutil.c: In function 'mpeg3_read_toc': -mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); - | ^~~ -mpeg3tocutil.c:243:70: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:244:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 244 | file->sample_offsets = calloc(sizeof(int64_t*), *atracks_return); - | ^~~~~~~ -mpeg3tocutil.c:244:70: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:245:76: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 245 | file->total_sample_offsets = calloc(sizeof(int), *atracks_return); - | ^~~ -mpeg3tocutil.c:245:76: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:246:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 246 | file->audio_eof = calloc(sizeof(int64_t), *atracks_return); - | ^~~~~~~ -mpeg3tocutil.c:246:65: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:247:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 247 | file->total_samples = calloc(sizeof(int64_t), *atracks_return); - | ^~~~~~~ -mpeg3tocutil.c:247:69: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:248:63: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); - | ^~~~~~~~~~~~~ -mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 271 | index->index_data = calloc(sizeof(float*), channels); - | ^~~~~ -mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 274 | index->index_data[j] = calloc(sizeof(float), - | ^~~~~ -mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element -mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] - 1719 | int got_it = 0; - | ^~~~~~ -mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); - | ^~~~~~~ -mpeg3tocutil.c:287:69: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:288:75: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 288 | file->total_frame_offsets = calloc(sizeof(int), *vtracks_return); - | ^~~ -mpeg3tocutil.c:288:75: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:289:72: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 289 | file->keyframe_numbers = calloc(sizeof(int64_t*), *vtracks_return); - | ^~~~~~~ -mpeg3tocutil.c:289:72: note: earlier argument should specify number of elements, later size of each element audio/layer3.c: In function 'mpeg3_layer_header': -mpeg3tocutil.c:290:78: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 290 | file->total_keyframe_numbers = calloc(sizeof(int), *vtracks_return); - | ^~~ -mpeg3tocutil.c:290:78: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:291:65: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); - | ^~~~~~~ -mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element -mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] - 1718 | int64_t last_byte = demuxer->program_byte; - | ^~~~~~~~~ -audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 1510 | else - | ^~~~ -audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 1514 | if(layer_data->samplerate != 0 && - | ^~ -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; - | ^~ -audio/ac3.c: In function 'mpeg3audio_doac3': -audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] - 117 | frame, - | ^~~~~ - | | - | char * -In file included from audio/ac3.c:5: -/usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' - 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, - | ~~~~~~~~~~^~~ -audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] - 107 | int frame_size, - | ~~~~^~~~~~~~~~ -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': -mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] - 337 | int string_len = 0; - | ^~~~~~~~~~ -mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] - 1922 | mpeg3_fs_t *fd = title->fs; - | ^~ -mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] - 143 | int stream_type; - | ^~~~~~~~~~~ -mpeg3tocutil.c:141:13: warning: unused variable 'file_type' [-Wunused-variable] - 141 | int file_type; - | ^~~~~~~~~ -mpeg3tocutil.c: In function 'mpeg3_start_toc': -mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] - 527 | int toc_atracks = 0, toc_vtracks = 0; - | ^~~~~~~~~~~ -mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] - 527 | int toc_atracks = 0, toc_vtracks = 0; - | ^~~~~~~~~~~ -mpeg3tocutil.c: In function 'divide_index': -mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] - 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; - | ^~~~~~ -mpeg3tocutil.c: In function 'mpeg3_update_index': -mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); - | ^~~~~ -mpeg3tocutil.c:638:64: note: earlier argument should specify number of elements, later size of each element -mpeg3demux.c: In function 'mpeg3_new_demuxer': -mpeg3tocutil.c:645:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 645 | new_index_data[i] = calloc(sizeof(float), - | ^~~~~ -mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] - 2213 | int i; - | ^ -mpeg3tocutil.c:645:67: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:660:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 660 | index->index_data = calloc(sizeof(float*), atrack->channels); - | ^~~~~ -mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element -mpeg3demux.c: In function 'mpeg3_absolute_to_program': -mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] - 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > - | ^ -mpeg3tocutil.c: In function 'handle_audio': -mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] - 2461 | int i, j; - | ^ -mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] - 746 | int i, j, k; - | ^ -mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] - 746 | int i, j, k; - | ^ -mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] - 746 | int i, j, k; - | ^ -audio/mpeg3audio.c: In function 'read_frame': -mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] - 2461 | int i, j; - | ^ -audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 329 | float **new_output = calloc(sizeof(float*), track->channels); - | ^~~~~ -audio/mpeg3audio.c:329:52: note: earlier argument should specify number of elements, later size of each element -audio/mpeg3audio.c:332:55: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); - | ^~~~~ -audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element -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:203:15: note: expected 'char *' but argument is of type 'unsigned char *' - 203 | char *frame, - | ~~~~~~^~~~~ -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:196:15: note: expected 'char *' but argument is of type 'unsigned char *' - 196 | 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:189:15: note: expected 'char *' but argument is of type 'unsigned char *' - 189 | char *frame, - | ~~~~~~^~~~~ -mpeg3tocutil.c: In function 'handle_subtitle': -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:211:15: note: expected 'char *' but argument is of type 'unsigned char *' - 211 | char *frame, - | ~~~~~~^~~~~ -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 + - | ^~~~~ -mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] - 982 | int i, j; - | ^ -audio/mpeg3audio.c: In function 'get_length': -mpeg3tocutil.c: In function 'mpeg3_do_toc': -audio/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] - 446 | int try = 0; - | ^~~ -mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1069 | if(custom_id == atrack->pid) - | ^~ -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) - | ~~~~~~~~~^~~~ -mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1120 | if(vtrack->pid == custom_id) - | ^~ -audio/mpeg3audio.c: In function 'mpeg3audio_new': -audio/mpeg3audio.c:605:47: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 605 | audio->output = calloc(sizeof(float*), track->channels); - | ^~~~~ -audio/mpeg3audio.c:605:47: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] - 1025 | int result = mpeg3_read_next_packet(file->demuxer); - | ^~~~~~ -audio/mpeg3audio.c:609:58: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); - | ^~~~~ -audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element -mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] - 1015 | int i, j, k; - | ^ -mpeg3tocutil.c:1015:16: warning: unused variable 'j' [-Wunused-variable] - 1015 | int i, j, k; - | ^ -audio/mpeg3audio.c: In function 'seek': -mpeg3tocutil.c: In function 'mpeg3_stop_toc': -audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] - 646 | int result = 0; - | ^~~~~~ -audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': -mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] - 1186 | mpeg3_atrack_t *atrack = file->atrack[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': -mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] - 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; - | ^~~~~~ audio/mpeg3audio.c: In function 'read_frame': -audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] - 806 | int i; - | ^ audio/mpeg3audio.c:329:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 329 | float **new_output = calloc(sizeof(float*), track->channels); | ^~~~~ @@ -1377,9 +1542,6 @@ 332 | new_output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element -audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] - 803 | long max_size) - | ~~~~~^~~~~~~~ audio/mpeg3audio.c:362:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_doac3' differ in signedness [-Wpointer-sign] 362 | audio->packet_buffer, | ~~~~~^~~~~~~~~~~~~~~ @@ -1402,10 +1564,12 @@ | ~~~~~^~~~~~~~~~~~~~~ | | | unsigned char * +audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] + 1510 | else + | ^~~~ ./mpeg3protos.h:189:15: note: expected 'char *' but argument is of type 'unsigned char *' 189 | char *frame, | ~~~~~~^~~~~ -audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': audio/mpeg3audio.c:397:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_dopcm' differ in signedness [-Wpointer-sign] 397 | audio->packet_buffer, | ~~~~~^~~~~~~~~~~~~~~ @@ -1418,6 +1582,9 @@ audio/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] 446 | int try = 0; | ^~~ +audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' + 1514 | if(layer_data->samplerate != 0 && + | ^~ 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) @@ -1431,26 +1598,14 @@ 609 | audio->output[i] = calloc(sizeof(float), audio->output_allocated); | ^~~~~ audio/mpeg3audio.c:609:58: note: earlier argument should specify number of elements, later size of each element -mpeg3demux.c: In function 'mpeg3demux_scan_pts': audio/mpeg3audio.c: In function 'seek': -mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] - 2414 | } - | ^ -mpeg3demux.c: In function 'mpeg3demux_goto_pts': audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] 646 | int result = 0; | ^~~~~~ -audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 957 | new_output = calloc(sizeof(float), new_size); - | ^~~~~ -audio/mpeg3audio.c:957:52: note: earlier argument should specify number of elements, later size of each element audio/mpeg3audio.c: In function 'mpeg3audio_seek_sample': audio/mpeg3audio.c:791:25: warning: unused variable 'track' [-Wunused-variable] 791 | mpeg3_atrack_t *track = audio->track; | ^~~~~ -mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] - 2442 | } - | ^ audio/mpeg3audio.c: In function 'mpeg3audio_read_raw': audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] 806 | int i; @@ -1458,9 +1613,6 @@ audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] 803 | long max_size) | ~~~~~^~~~~~~~ -audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] - 915 | int i, j, k; - | ^ audio/mpeg3audio.c: In function 'mpeg3audio_decode_audio': audio/mpeg3audio.c:957:52: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 957 | new_output = calloc(sizeof(float), new_size); @@ -1469,128 +1621,7 @@ audio/mpeg3audio.c:915:19: warning: unused variable 'k' [-Wunused-variable] 915 | int i, j, k; | ^ -audio/layer3.c: In function 'get_scale_factors_1': -audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] - 54 | int ch, - | ~~~~^~ -audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] - 55 | int gr) - | ~~~~^~ -audio/layer3.c: In function 'dequantize_sample': -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:339:33: note: in expansion of macro 'REFRESH_MASK' - 339 | REFRESH_MASK; - | ^~~~~~~~~~~~ -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:354:33: note: in expansion of macro 'REFRESH_MASK' - 354 | REFRESH_MASK; - | ^~~~~~~~~~~~ -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:382:33: note: in expansion of macro 'REFRESH_MASK' - 382 | REFRESH_MASK; - | ^~~~~~~~~~~~ -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:414:17: note: in expansion of macro 'REFRESH_MASK' - 414 | REFRESH_MASK; - | ^~~~~~~~~~~~ -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:543:33: note: in expansion of macro 'REFRESH_MASK' - 543 | REFRESH_MASK; - | ^~~~~~~~~~~~ -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:558:41: note: in expansion of macro 'REFRESH_MASK' - 558 | REFRESH_MASK; - | ^~~~~~~~~~~~ -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:585:41: note: in expansion of macro 'REFRESH_MASK' - 585 | REFRESH_MASK; - | ^~~~~~~~~~~~ -audio/layer3.c:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 227 | while(num < BITSHIFT) \ - | ^ -audio/layer3.c:619:17: note: in expansion of macro 'REFRESH_MASK' - 619 | REFRESH_MASK; - | ^~~~~~~~~~~~ -mpeg3tocutil.c: In function 'mpeg3_update_index': -audio/layer3.c: In function 'hybrid': -mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] - 739 | } - | ^ -audio/layer3.c:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 840 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) - | ^ -audio/layer3.c:848:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 848 | for( ; sb < gr_info->maxb; sb += 2, tspnt += 2, rawout1 += 36, rawout2 += 36) - | ^ -audio/layer3.c: In function 'antialias': -mpeg3tocutil.c: In function 'mpeg3_do_toc': -audio/layer3.c:867:37: warning: unused parameter 'audio' [-Wunused-parameter] - 867 | static int antialias(mpeg3_layer_t *audio, - | ~~~~~~~~~~~~~~~^~~~~ -mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] - 1160 | } - | ^ -audio/layer3.c: In function 'calc_i_stereo': -audio/layer3.c:917:41: warning: unused parameter 'audio' [-Wunused-parameter] - 917 | static int calc_i_stereo(mpeg3_layer_t *audio, - | ~~~~~~~~~~~~~~~^~~~~ -audio/layer3.c: In function 'mpeg3audio_dolayer3': -audio/layer3.c:1238:63: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1238 | if(sideinfo.ch[1].gr[gr].maxb > maxb) - | ^ -audio/layer3.c:1267:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1267 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++, in0++) - | ^ -audio/layer3.c:1275:54: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1275 | for(i = 0; i < SSLIMIT * gr_info->maxb; i++) - | ^ -audio/layer3.c:1083:13: warning: unused variable 'i' [-Wunused-variable] - 1083 | int i; - | ^ -audio/layer3.c: In function 'mpeg3_layer_header': -audio/layer3.c:1510:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] - 1510 | else - | ^~~~ -audio/layer3.c:1514:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' - 1514 | if(layer_data->samplerate != 0 && - | ^~ -mpeg3tocutil.c: At top level: -mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] - 11 | static FILE *test_file = 0; - | ^~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 video/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) @@ -1598,6 +1629,55 @@ video/getpicture.c:220:21: note: 'j' was declared here 220 | int val, i, j, sign; | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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; + | ^ +libmpeg3.c: In function 'is_bd': +libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 151 | (!ext || ext && + | ~~~~^~ + 152 | (!strncasecmp(ext, ".m2ts", 5) || + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 153 | !strncasecmp(ext, ".mts", 4))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] + 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) + | ~~~~~~~~~^~~~~ +libmpeg3.c: In function 'copy_subtitles': +libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] + 396 | int i, j; + | ^ +libmpeg3.c: In function 'mpeg3_open_copy': +libmpeg3.c:413:13: warning: unused variable 'result' [-Wunused-variable] + 413 | int result = 0; + | ^~~~~~ +libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] + 412 | int i, done; + | ^~~~ +libmpeg3.c: In function 'calculate_packet_size': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:275:1: warning: control reaches end of non-void function [-Wreturn-type] + 275 | } + | ^ +video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': +video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 412 | if(j != 0) + | ^ +video/getpicture.c:309:21: note: 'j' was declared here + 309 | int val, i, j, sign, nc; + | ^ +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) + | ~~~~~~~~~~~~~~~^~~~~ +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) @@ -1619,106 +1699,235 @@ 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) | ~~~~^~~~~~ -mpeg3bits.c: In function 'mpeg3bits_read_buffer': -mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] - 28 | int result, i = 0; - | ^ 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_new': -libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] - 32 | int i; +video/getpicture.c: In function 'mpeg3video_getmpg2interblock': +video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] + 507 | if(j != 0) + | ^ +video/getpicture.c:427:21: note: 'j' was declared here + 427 | int val, i, j, sign, nc; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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) + + | ^~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +mpeg3demux.c: In function 'remove_subtitle': +mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] + 791 | int i, j; | ^ -libmpeg3.c: In function 'is_bd': -libmpeg3.c:151:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 151 | (!ext || ext && - | ~~~~^~ - 152 | (!strncasecmp(ext, ".m2ts", 5) || - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 153 | !strncasecmp(ext, ".mts", 4))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -libmpeg3.c:148:27: warning: unused parameter 'bits1' [-Wunused-parameter] - 148 | static int is_bd(uint32_t bits1, uint32_t bits2, char *ext) - | ~~~~~~~~~^~~~~ +mpeg3demux.c: In function 'new_subtitle': +mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 851 | calloc(sizeof(mpeg3_subtitle_t), 1); + | ^~~~~~~~~~~~~~~~ +mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element +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 && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 1258 | demuxer->do_audio || + | ~~~~~~~~~~~~~~~~~ +mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1300 | if(demuxer->custom_id == demuxer->vstream && + | ^~ +mpeg3demux.c:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1300 | if(demuxer->custom_id == demuxer->vstream && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 1301 | demuxer->do_video || + | ~~~~~~~~~~~~~~~~~ +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 && + | ^~ +mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1379 | if(demuxer->custom_id == demuxer->astream && + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ + 1380 | demuxer->do_audio || + | ~~~~~~~~~~~~~~~~~ +mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] + 1092 | int i; + | ^ +mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] + 1446 | mpeg3_t *file = demuxer->file; + | ^~~~ +mpeg3demux.c:1445:13: warning: unused variable 'count' [-Wunused-variable] + 1445 | int count = 0; + | ^~~~~ +mpeg3demux.c: In function 'mpeg3_seek_phys': +mpeg3demux.c:1679:12: warning: the comparison will always evaluate as 'true' for the address of 'titles' will never be NULL [-Waddress] + 1679 | if(!demuxer->titles) return 1; + | ^ +In file included from libmpeg3.h:8, + from mpeg3demux.c:1: +mpeg3private.h:393:24: note: 'titles' declared here + 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; + | ^~~~~~ +mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] + 1719 | int got_it = 0; + | ^~~~~~ +mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] + 1718 | int64_t last_byte = demuxer->program_byte; + | ^~~~~~~~~ +mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] + 1716 | int last_cell = demuxer->title_cell; + | ^~~~~~~~~ +mpeg3demux.c: In function 'next_code': +mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] + 1753 | mpeg3_fs_t *fd = title->fs; + | ^~ +mpeg3demux.c: In function 'mpeg3_read_next_packet': +mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] + 1782 | int current_position; + | ^~~~~~~~~~~~~~~~ +mpeg3demux.c: In function 'prev_code': +mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] + 1922 | mpeg3_fs_t *fd = title->fs; + | ^~ +mpeg3demux.c: In function 'mpeg3_new_demuxer': +mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] + 2213 | int i; + | ^ +mpeg3demux.c: In function 'mpeg3_absolute_to_program': +mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] + 2461 | int i, j; + | ^ +mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] + 2461 | int i, j; + | ^ +mpeg3io.c: In function 'mpeg3io_read_buffer': +mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] + 177 | int result; + | ^~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'mpeg3demux_scan_pts': +mpeg3ifo.c: In function 'ifo_open': +mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] + 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); + | ^~~~~ +mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element +mpeg3demux.c:2414:1: warning: control reaches end of non-void function [-Wreturn-type] + 2414 | } + | ^ +mpeg3demux.c: In function 'mpeg3demux_goto_pts': +mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] + 2442 | } + | ^ +mpeg3ifo.c: In function 'program_map': +mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 265 | *ptr = pgc; + | ^ +mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; + | ^ +mpeg3ifo.c: In function 'get_ifo_playlist': +mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 362 | while(new_filename = readdir(dirstream)) + | ^~~~~~~~~~~~ +mpeg3ifo.c: In function 'get_ifo_header': +mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] + 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); + | ^~~~~~~ +mpeg3ifo.c: In function 'cellplayinfo': +mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] + 538 | ; + | ^ +mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) + | ^~~~~~~~~~~ +mpeg3ifo.c: In function 'celladdresses': +mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] + 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; + | ^~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 'finaltable': +mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~ +mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~~~ +mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] + 630 | int done; + | ^~~~ +mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] + 629 | int output_cell = 0; + | ^~~~~~~~~~~ +mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~ +mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] + 625 | mpeg3ifo_celltable_t *cells, + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +mpeg3ifo.c: In function 'mpeg3_read_ifo': +mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] + 716 | int result; + | ^~~~~~ +mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] + 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; + | ^~~~~~~~~~~~~~ +mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] + 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; + | ^~~~~~~~~~~~~ +mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] + 706 | int read_cells) + | ~~~~^~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3strack.c: In function 'mpeg3_new_strack': mpeg3strack.c:10:48: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 10 | mpeg3_strack_t *result = calloc(sizeof(mpeg3_strack_t), 1); | ^~~~~~~~~~~~~~ mpeg3strack.c:10:48: note: earlier argument should specify number of elements, later size of each element +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int i; | ^ -libmpeg3.c: In function 'copy_subtitles': -libmpeg3.c:396:16: warning: unused variable 'j' [-Wunused-variable] - 396 | int i, j; - | ^ -mpeg3vtrack.c: In function 'mpeg3_new_vtrack': -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) - | ~~~~~~~~~^~~~ -libmpeg3.c: In function 'mpeg3_open_copy': -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:413:13: warning: unused variable 'result' [-Wunused-variable] - 413 | int result = 0; - | ^~~~~~ -libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] - 412 | int i, done; - | ^~~~ -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; - | ^~~~~~~~~~~~~ -mpeg3vtrack.c: At top level: -mpeg3title.c:129:27: warning: unused variable 'prev_time' [-Wunused-variable] - 129 | double next_time, prev_time, absolute_time; - | ^~~~~~~~~ -mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] - 70 | static int last_keyframe = 0; - | ^~~~~~~~~~~~~ -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; - | ^~~~ mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ -libmpeg3.c: In function 'calculate_packet_size': -libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] - 275 | } - | ^ mpeg3tocutil.c: In function 'mpeg3_read_toc': mpeg3tocutil.c:243:70: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | file->channel_counts = calloc(sizeof(int), *atracks_return); @@ -1744,24 +1953,14 @@ 248 | file->indexes = calloc(sizeof(mpeg3_index_t*), *atracks_return); | ^~~~~~~~~~~~~ mpeg3tocutil.c:248:63: note: earlier argument should specify number of elements, later size of each element -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 && - | ^~ mpeg3tocutil.c:271:83: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 271 | index->index_data = calloc(sizeof(float*), channels); | ^~~~~ -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 && - | ^~ mpeg3tocutil.c:271:83: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c:274:94: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 274 | index->index_data[j] = calloc(sizeof(float), | ^~~~~ mpeg3tocutil.c:274:94: note: earlier argument should specify number of elements, later size of each element -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 && - | ^~ mpeg3tocutil.c:287:69: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 287 | file->frame_offsets = calloc(sizeof(int64_t*), *vtracks_return); | ^~~~~~~ @@ -1782,16 +1981,10 @@ 291 | file->video_eof = calloc(sizeof(int64_t), *vtracks_return); | ^~~~~~~ mpeg3tocutil.c:291:65: note: earlier argument should specify number of elements, later size of each element -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) + - | ^~~~~~~ mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3tocutil.c:143:13: warning: unused variable 'stream_type' [-Wunused-variable] 143 | int stream_type; | ^~~~~~~~~~~ @@ -1799,29 +1992,17 @@ 141 | int file_type; | ^~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_start_toc': -mpeg3demux.c: In function 'remove_subtitle': mpeg3tocutil.c:527:30: warning: unused variable 'toc_vtracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ -mpeg3demux.c:791:13: warning: unused variable 'i' [-Wunused-variable] - 791 | int i, j; - | ^ mpeg3tocutil.c:527:13: warning: unused variable 'toc_atracks' [-Wunused-variable] 527 | int toc_atracks = 0, toc_vtracks = 0; | ^~~~~~~~~~~ -mpeg3demux.c: In function 'new_subtitle': mpeg3tocutil.c: In function 'divide_index': -mpeg3demux.c:851:39: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 851 | calloc(sizeof(mpeg3_subtitle_t), 1); - | ^~~~~~~~~~~~~~~~ mpeg3tocutil.c:578:25: warning: unused variable 'atrack' [-Wunused-variable] 578 | mpeg3_atrack_t *atrack = file->atrack[track_number]; | ^~~~~~ -mpeg3demux.c:851:39: note: earlier argument should specify number of elements, later size of each element mpeg3tocutil.c: In function 'mpeg3_update_index': -mpeg3demux.c:825:16: warning: unused variable 'j' [-Wunused-variable] - 825 | int i, j; - | ^ mpeg3tocutil.c:638:64: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 638 | float **new_index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ @@ -1834,43 +2015,79 @@ 660 | index->index_data = calloc(sizeof(float*), atrack->channels); | ^~~~~ mpeg3tocutil.c:660:67: note: earlier argument should specify number of elements, later size of each element -video/getpicture.c: In function 'mpeg3video_get_macroblocks': -mpeg3demux.c: In function 'handle_pcm': -video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] - 518 | unsigned int code; - | ^~~~ mpeg3tocutil.c:733:69: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int64_t' {aka 'long int'} [-Wsign-compare] 733 | if(index->index_size * atrack->channels * sizeof(float) * 2 > | ^ -mpeg3demux.c:1078:1: warning: no return statement in function returning non-void [-Wreturn-type] - 1078 | } - | ^ -video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] - 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) - | ~~~~^~~~~~~~ -video/getpicture.c: In function 'mpeg3video_allocate_decoders': mpeg3tocutil.c: In function 'handle_audio': -video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] - 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) - | ~~~~^~~~~~~~~~~~~ mpeg3tocutil.c:746:19: warning: unused variable 'k' [-Wunused-variable] 746 | int i, j, k; | ^ mpeg3tocutil.c:746:16: warning: unused variable 'j' [-Wunused-variable] 746 | int i, j, k; | ^ -mpeg3demux.c: In function 'get_program_pes_packet': mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ -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 && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 1258 | demuxer->do_audio || - | ~~~~~~~~~~~~~~~~~ +mpeg3tocutil.c: In function 'handle_subtitle': +mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] + 982 | int i, j; + | ^ +mpeg3tocutil.c: In function 'mpeg3_do_toc': +mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 1069 | if(custom_id == atrack->pid) + | ^~ +mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 1120 | if(vtrack->pid == custom_id) + | ^~ +mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] + 1025 | int result = mpeg3_read_next_packet(file->demuxer); + | ^~~~~~ +mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] + 1015 | int i, j, k; + | ^ +mpeg3tocutil.c:1015:16: warning: unused variable 'j' [-Wunused-variable] + 1015 | int i, j, k; + | ^ +mpeg3tocutil.c: In function 'mpeg3_stop_toc': +mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] + 1186 | mpeg3_atrack_t *atrack = file->atrack[i]; + | ^~~~~~ +mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] + 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; + | ^~~~~~ +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; + | ^~~~ 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; @@ -1925,7 +2142,6 @@ video/headers.c:99:35: warning: variable 'transfer_characteristics' set but not used [-Wunused-but-set-variable] 99 | int colour_primaries = 0, transfer_characteristics = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ -mpeg3tocutil.c: In function 'handle_subtitle': 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; | ^~~~~~~~~~~~~~~~ @@ -1933,13 +2149,7 @@ video/headers.c:127:13: warning: unused variable 'pos' [-Wunused-variable] 127 | int pos = 0; | ^~~ -mpeg3demux.c:1300:35: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1300 | if(demuxer->custom_id == demuxer->vstream && - | ^~ video/headers.c: In function 'mpeg3video_sequence_scalable_extension': -mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] - 982 | int i, j; - | ^ video/headers.c:168:13: warning: variable 'layer_id' set but not used [-Wunused-but-set-variable] 168 | int layer_id; | ^~~~~~~~ @@ -1947,15 +2157,9 @@ 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mpeg3tocutil.c: In function 'mpeg3_do_toc': 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:1300:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1300 | if(demuxer->custom_id == demuxer->vstream && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 1301 | demuxer->do_video || - | ~~~~~~~~~~~~~~~~~ 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; @@ -1963,9 +2167,6 @@ 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; | ^~~~~~~~~~~~~~~ -mpeg3tocutil.c:1069:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 1069 | if(custom_id == atrack->pid) - | ^~ 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; | ^~~~~~~~~~~ @@ -1979,47 +2180,23 @@ video/headers.c:318:66: warning: unused parameter 'video' [-Wunused-parameter] 318 | int mpeg3video_picture_temporal_scalable_extension(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ -mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 1120 | if(vtrack->pid == custom_id) - | ^~ 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; | ^~~~~~~~~~~ -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 && - | ^~ video/headers.c:387:24: warning: variable 'closed_gop' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~~ video/headers.c:387:13: warning: variable 'drop_flag' set but not used [-Wunused-but-set-variable] 387 | int drop_flag, closed_gop, broken_link; | ^~~~~~~~~ -mpeg3tocutil.c:1025:13: warning: unused variable 'result' [-Wunused-variable] - 1025 | int result = mpeg3_read_next_packet(file->demuxer); - | ^~~~~~ video/headers.c: In function 'mpeg3video_getpicturehdr': -mpeg3io.c: In function 'mpeg3io_read_buffer': -mpeg3demux.c:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 1379 | if(demuxer->custom_id == demuxer->astream && - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ - 1380 | demuxer->do_audio || - | ~~~~~~~~~~~~~~~~~ video/headers.c:412:23: warning: variable 'vbv_delay' set but not used [-Wunused-but-set-variable] 412 | int temp_ref, vbv_delay; | ^~~~~~~~~ -mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] - 177 | int result; - | ^~~~~~ -mpeg3tocutil.c:1015:19: warning: unused variable 'k' [-Wunused-variable] - 1015 | int i, j, k; - | ^ 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:1015:16: warning: unused variable 'j' [-Wunused-variable] - 1015 | int i, j, k; - | ^ video/headers.c: In function 'mpeg3video_get_header': video/headers.c:446:26: warning: unused variable 'demuxer' [-Wunused-variable] 446 | mpeg3_demuxer_t *demuxer = track->demuxer; @@ -2027,158 +2204,10 @@ video/headers.c:443:18: warning: unused variable 'file' [-Wunused-variable] 443 | mpeg3_t *file = video->file; | ^~~~ -mpeg3tocutil.c: In function 'mpeg3_stop_toc': -mpeg3demux.c:1092:13: warning: unused variable 'i' [-Wunused-variable] - 1092 | int i; - | ^ video/headers.c: In function 'mpeg3video_getslicehdr': -mpeg3tocutil.c:1186:33: warning: unused variable 'atrack' [-Wunused-variable] - 1186 | mpeg3_atrack_t *atrack = file->atrack[i]; - | ^~~~~~ 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:1194:33: warning: unused variable 'atrack' [-Wunused-variable] - 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; - | ^~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3demux_read_program': -mpeg3io.c: In function 'mpeg3io_complete_path': -mpeg3demux.c:1446:18: warning: unused variable 'file' [-Wunused-variable] - 1446 | mpeg3_t *file = demuxer->file; - | ^~~~ -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:1445:13: warning: unused variable 'count' [-Wunused-variable] - 1445 | int count = 0; - | ^~~~~ -mpeg3ifo.c: In function 'ifo_open': -mpeg3ifo.c:166:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] - 166 | ifo = (ifo_t *)calloc(sizeof(ifo_t), 1); - | ^~~~~ -mpeg3ifo.c:166:38: note: earlier argument should specify number of elements, later size of each element -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; - | ^ -mpeg3ifo.c: In function 'program_map': -In file included from libmpeg3.h:8, - from mpeg3demux.c:1: -mpeg3private.h:393:24: note: 'titles' declared here - 393 | mpeg3_title_t *titles[MPEG3_MAX_STREAMS]; - | ^~~~~~ -mpeg3ifo.c: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)) - | ^~~~~~~~~~~~ -video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': -mpeg3demux.c:1719:13: warning: unused variable 'got_it' [-Wunused-variable] - 1719 | int got_it = 0; - | ^~~~~~ -video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 412 | if(j != 0) - | ^ -video/getpicture.c:309:21: note: 'j' was declared here - 309 | int val, i, j, sign, nc; - | ^ -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); - | ^~~~~~~ -audio/layer3.c: In function 'dequantize_sample': -mpeg3demux.c:1718:17: warning: unused variable 'last_byte' [-Wunused-variable] - 1718 | int64_t last_byte = demuxer->program_byte; - | ^~~~~~~~~ -audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] - 680 | while(xrpnt < &xr[SBLIMIT][0]) - | ^~~~~~~~~~~~~~~ -audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] - 236 | float xr[SBLIMIT][SSLIMIT], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -mpeg3ifo.c: In function 'cellplayinfo': -mpeg3demux.c:1716:13: warning: unused variable 'last_cell' [-Wunused-variable] - 1716 | int last_cell = demuxer->title_cell; - | ^~~~~~~~~ -mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] - 538 | ; - | ^ -mpeg3demux.c: In function 'next_code': -mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) - | ^~~~~~~~~~~ -mpeg3ifo.c: In function 'celladdresses': -mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] - 1753 | mpeg3_fs_t *fd = title->fs; - | ^~ -mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) - | ^~~~~~~~~~~~~~~ -mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] - 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; - | ^~~~ -mpeg3demux.c: In function 'mpeg3_read_next_packet': -mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] - 1782 | int current_position; - | ^~~~~~~~~~~~~~~~ -mpeg3ifo.c: In function 'finaltable': -mpeg3demux.c: In function 'prev_code': -mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~ -mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~~~ -mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] - 630 | int done; - | ^~~~ -mpeg3demux.c:1922:21: warning: unused variable 'fd' [-Wunused-variable] - 1922 | mpeg3_fs_t *fd = title->fs; - | ^~ -mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] - 629 | int output_cell = 0; - | ^~~~~~~~~~~ -mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~~~~~~ -mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~ -mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] - 625 | mpeg3ifo_celltable_t *cells, - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -audio/layer3.c: In function 'dequantize_sample': -audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] - 680 | while(xrpnt < &xr[SBLIMIT][0]) - | ^~~~~~~~~~~~~~~ -mpeg3demux.c: In function 'mpeg3_new_demuxer': -mpeg3ifo.c: In function 'mpeg3_read_ifo': -audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] - 236 | float xr[SBLIMIT][SSLIMIT], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] - 716 | int result; - | ^~~~~~ -mpeg3ifo.c:708:36: warning: unused variable 'first_ifo_byte' [-Wunused-variable] - 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; - | ^~~~~~~~~~~~~~ -mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] - 2213 | int i; - | ^ -mpeg3ifo.c:708:17: warning: unused variable 'last_ifo_byte' [-Wunused-variable] - 708 | int64_t last_ifo_byte = 0, first_ifo_byte = 0; - | ^~~~~~~~~~~~~ -mpeg3ifo.c:706:13: warning: unused parameter 'read_cells' [-Wunused-parameter] - 706 | int read_cells) - | ~~~~^~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } @@ -2187,62 +2216,50 @@ mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ -mpeg3demux.c: In function 'mpeg3_absolute_to_program': -mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] - 2461 | int i, j; - | ^ -mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] - 2461 | int i, j; - | ^ mpeg3tocutil.c: At top level: mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] 11 | static FILE *test_file = 0; | ^~~~~~~~~ -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': -mpeg3demux.c:2442:1: warning: control reaches end of non-void function [-Wreturn-type] - 2442 | } - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +video/getpicture.c: In function 'mpeg3video_get_macroblocks': +video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] + 518 | unsigned int code; + | ^~~~ +video/getpicture.c:516:57: warning: unused parameter 'framenum' [-Wunused-parameter] + 516 | int mpeg3video_get_macroblocks(mpeg3video_t *video, int framenum) + | ~~~~^~~~~~~~ +video/getpicture.c: In function 'mpeg3video_allocate_decoders': +video/getpicture.c:617:59: warning: unused parameter 'decoder_count' [-Wunused-parameter] + 617 | int mpeg3video_allocate_decoders(mpeg3video_t *video, int decoder_count) + | ~~~~^~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 mpeg3ifo.c: In function 'get_ifo_playlist.constprop': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/getpicture.c: In function 'mpeg3video_getmpg2interblock': -video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 507 | if(j != 0) - | ^ -video/getpicture.c:427:21: note: 'j' was declared here - 427 | int val, i, j, sign, nc; - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/reconstruct.c: In function 'recon_comp': -video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] - 418 | void recon_comp(mpeg3video_t *video, - | ~~~~~~~~~~~~~~^~~~~ -video/reconstruct.c: In function 'mpeg3video_reconstruct': -video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 619 | ; - | ^ -video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 691 | ; - | ^ -video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] - 757 | ; - | ^ +mpeg3vtrack.c: In function 'mpeg3_new_vtrack': +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; + | ^~~~~~~~~~~~~ +video/mmxtest.c: In function 'mpeg3_mmx_test': +video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] + 11 | char string[MPEG3_STRLEN]; + | ^~~~~~ +video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] + 10 | FILE *proc; + | ^~~~ +video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] + 9 | int result = 0; + | ^~~~~~ video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, @@ -2251,17 +2268,19 @@ video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ -video/seek.c: In function 'mpeg3video_match_refframes': -video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] - 143 | int i, j, size; - | ^ -video/seek.c: In function 'mpeg3video_seek_byte': -video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] - 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; - | ^~~~~~~ -video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] - 173 | mpeg3_t *file = video->file; - | ^~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +audio/layer3.c: In function 'dequantize_sample': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +audio/layer3.c:680:23: warning: array subscript 576 is outside array bounds of 'float[576]' [-Warray-bounds=] + 680 | while(xrpnt < &xr[SBLIMIT][0]) + | ^~~~~~~~~~~~~~~ +audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] + 236 | float xr[SBLIMIT][SSLIMIT], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -2273,39 +2292,16 @@ video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | int i; | ^ -video/seek.c: In function 'mpeg3video_seek': video/mpeg3video.c: In function 'mpeg3video_read_frame_backend': -video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] - 218 | int match_refframes = 1; - | ^~~~~~~~~~~~~~~ video/mpeg3video.c:293:33: warning: statement with no effect [-Wunused-value] 293 | got_top == 1; | ~~~~~~~~^~~~ -video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] - 211 | int attempts; - | ^~~~~~~~ -video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] - 210 | int back_step; - | ^~~~~~~~~ -video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] - 208 | long this_gop_start; - | ^~~~~~~~~~~~~~ video/mpeg3video.c:268:18: warning: unused variable 'file' [-Wunused-variable] 268 | mpeg3_t *file = (mpeg3_t*)video->file; | ^~~~ video/mpeg3video.c:267:25: warning: unused variable 'track' [-Wunused-variable] 267 | mpeg3_vtrack_t *track = video->track; | ^~~~~ -video/mmxtest.c: In function 'mpeg3_mmx_test': -video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] - 11 | char string[MPEG3_STRLEN]; - | ^~~~~~ -video/mmxtest.c:10:15: warning: unused variable 'proc' [-Wunused-variable] - 10 | FILE *proc; - | ^~~~ -video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] - 9 | int result = 0; - | ^~~~~~ video/mpeg3video.c: In function 'mpeg3video_new': video/mpeg3video.c:406:29: warning: unused variable 'gop_found' [-Wunused-variable] 406 | int gop_found; @@ -2340,10 +2336,7 @@ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ -video/slice.c: In function 'mpeg3video_addblock': -video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] - 62 | int spar = slice->sparse[comp]; - | ^~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 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; @@ -2384,20 +2377,61 @@ 308 | int i, len2; | ^ video/output.c: In function 'mpeg3video_present_frame': +video/reconstruct.c: In function 'recon_comp': +video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] + 418 | void recon_comp(mpeg3video_t *video, + | ~~~~~~~~~~~~~~^~~~~ 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/reconstruct.c: In function 'mpeg3video_reconstruct': +video/reconstruct.c:619:33: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 619 | ; + | ^ +video/reconstruct.c:691:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 691 | ; + | ^ 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/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] + 757 | ; + | ^ 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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/seek.c: In function 'mpeg3video_match_refframes': +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/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] + 143 | int i, j, size; + | ^ +video/seek.c: In function 'mpeg3video_seek_byte': +video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] + 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; + | ^~~~~~~ +video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] + 173 | mpeg3_t *file = video->file; + | ^~~~ +video/seek.c: In function 'mpeg3video_seek': +video/seek.c:218:13: warning: unused variable 'match_refframes' [-Wunused-variable] + 218 | int match_refframes = 1; + | ^~~~~~~~~~~~~~~ +video/seek.c:211:13: warning: unused variable 'attempts' [-Wunused-variable] + 211 | int attempts; + | ^~~~~~~~ +video/seek.c:210:13: warning: unused variable 'back_step' [-Wunused-variable] + 210 | int back_step; + | ^~~~~~~~~ +video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] + 208 | long this_gop_start; + | ^~~~~~~~~~~~~~ video/subtitle.c: In function 'decompress_subtitle': video/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; @@ -2427,20 +2461,8 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/getpicture.c: In function 'mpeg3video_getinterblock': video/getpicture.c:294:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 294 | if(j != 0) @@ -2455,6 +2477,20 @@ video/getpicture.c:309:21: note: 'j' was declared here 309 | int val, i, j, sign, nc; | ^ +In function 'handle_scrambling', + inlined from 'get_program_pes_packet' at mpeg3demux.c:1426:17, + inlined from 'mpeg3demux_read_program' at mpeg3demux.c:1537:13: +mpeg3demux.c:777:20: warning: 'decryption_offset' may be used uninitialized [-Wmaybe-uninitialized] + 777 | if(mpeg3_decrypt_packet(title->fs->css, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 778 | buffer_ptr, + | ~~~~~~~~~~~ + 779 | decryption_offset)) + | ~~~~~~~~~~~~~~~~~~ +mpeg3demux.c: In function 'mpeg3demux_read_program': +mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here + 1091 | int decryption_offset; + | ^~~~~~~~~~~~~~~~~ video/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 507 | if(j != 0) @@ -2526,7 +2562,7 @@ create-stamp debian/debhelper-build-stamp dh_prep -O-Smakefile dh_auto_install -O-Smakefile - make -j42 install DESTDIR=/build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j20 install DESTDIR=/build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libmpeg3-1.8.dfsg' install -d /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin install -m 755 x86_64/mpeg3dump x86_64/mpeg3peek x86_64/mpeg3toc x86_64/mpeg3cat /build/reproducible-path/libmpeg3-1.8.dfsg/debian/tmp/usr/bin @@ -2574,12 +2610,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/3682662/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3682662/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/2656771 and its subdirectories -I: Current time: Mon Nov 3 05:14:19 -12 2025 -I: pbuilder-time-stamp: 1762190059 +I: removing directory /srv/workspace/pbuilder/3682662 and its subdirectories +I: Current time: Wed Oct 2 00:53:55 +14 2024 +I: pbuilder-time-stamp: 1727780035 Compressing the 2nd log... /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libmpeg3_1.8.dfsg-6.diff: 88.1% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/logdiffs/unstable/amd64/libmpeg3_1.8.dfsg-6.diff.gz b2/build.log: 86.6% -- replaced with stdout Compressing the 1st log... b1/build.log: 87.3% -- replaced with stdout Tue Oct 1 10:53:58 UTC 2024 I: diffoscope 278 will be used to compare the two builds: ++ date -u +%s + DIFFOSCOPE_STAMP=/var/log/reproducible-builds/diffoscope_stamp_libmpeg3_unstable_amd64_1727780038 + touch /var/log/reproducible-builds/diffoscope_stamp_libmpeg3_unstable_amd64_1727780038 + RESULT=0 + systemd-run '--description=diffoscope on libmpeg3/1.8.dfsg-6 in unstable/amd64' --slice=rb-build-diffoscope.slice -u rb-diffoscope-amd64_6-22835 '--property=SuccessExitStatus=1 124' --user --send-sighup --pipe --wait -E TMPDIR timeout 155m nice schroot --directory /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO --run-session -c jenkins-reproducible-unstable-diffoscope-ef78d5df-692c-473f-a3e8-9ccc7a252a09 -- sh -c 'export TMPDIR=/srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/dbd-tmp-3gHcTqh ; timeout 150m diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/libmpeg3_1.8.dfsg-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/libmpeg3_1.8.dfsg-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/libmpeg3_1.8.dfsg-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b1/libmpeg3_1.8.dfsg-6_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b2/libmpeg3_1.8.dfsg-6_amd64.changes' + false + set +x Running as unit: rb-diffoscope-amd64_6-22835.service Warning: program compiled against libxml 212 using older 209 # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/libmpeg3_1.8.dfsg-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/libmpeg3_1.8.dfsg-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/libmpeg3_1.8.dfsg-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b1/libmpeg3_1.8.dfsg-6_amd64.changes /srv/reproducible-results/rbuild-debian/r-b-build.PcqfIxzO/b2/libmpeg3_1.8.dfsg-6_amd64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.380s) 0.380s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.023s) 0.023s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 701ms CPU time consumed: 702ms _ _ _ _____ | (_) |__ _ __ ___ _ __ ___ __ _|___ / | | | '_ \| '_ ` _ \| '_ \ / _ \/ _` | |_ \ | | | |_) | | | | | | |_) | __/ (_| |___) | |_|_|_.__/|_| |_| |_| .__/ \___|\__, |____/ |_| |___/ Tue Oct 1 10:53:59 UTC 2024 I: diffoscope 278 found no differences in the changes files, and a .buildinfo file also exists. Tue Oct 1 10:53:59 UTC 2024 I: libmpeg3 from unstable built successfully and reproducibly on amd64. INSERT 0 1 INSERT 0 1 DELETE 1 [2024-10-01 10:54:00] INFO: Starting at 2024-10-01 10:54:00.207131 [2024-10-01 10:54:00] INFO: Generating the pages of 1 package(s) [2024-10-01 10:54:00] CRITICAL: https://tests.reproducible-builds.org/debian/unstable/amd64/libmpeg3 didn't produce a buildlog, even though it has been built. [2024-10-01 10:54:00] INFO: Finished at 2024-10-01 10:54:00.713284, took: 0:00:00.506159 Tue Oct 1 10:54:00 UTC 2024 - successfully updated the database and updated https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libmpeg3.html Tue Oct 1 10:54:00 UTC 2024 I: Submitting .buildinfo files to external archives: Tue Oct 1 10:54:00 UTC 2024 I: Submitting 8.0K b1/libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc https://buildinfo.debian.net/2c921205f52750c19026fca4a8e354e603af4cbe/libmpeg3_1.8.dfsg-6_amd64 Tue Oct 1 10:54:01 UTC 2024 I: Submitting 8.0K b2/libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc https://buildinfo.debian.net/e3f50fc91813282a0d29b39698990a6a6ef1669f/libmpeg3_1.8.dfsg-6_amd64 Tue Oct 1 10:54:02 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Tue Oct 1 10:54:02 UTC 2024 I: Done submitting .buildinfo files. Tue Oct 1 10:54:02 UTC 2024 I: Removing signed libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc files: removed './b1/libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc' removed './b2/libmpeg3_1.8.dfsg-6_amd64.buildinfo.asc' 1727780042 amd64 unstable libmpeg3 Starting cleanup. /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libmpeg3_1.8.dfsg-6.rbuild.log: 86.0% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/amd64/libmpeg3_1.8.dfsg-6.rbuild.log.gz [2024-10-01 10:54:03] INFO: Starting at 2024-10-01 10:54:03.347495 [2024-10-01 10:54:03] INFO: Generating the pages of 1 package(s) [2024-10-01 10:54:03] INFO: Finished at 2024-10-01 10:54:03.966769, took: 0:00:00.619286 All cleanup done. Tue Oct 1 10:54:04 UTC 2024 - total duration: 0h 3m 29s. Tue Oct 1 10:54:04 UTC 2024 - reproducible_build.sh stopped running as /tmp/jenkins-script-Aqx8SVGM, removing. Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 3min 33.422s CPU time consumed: 8.753s