Diff of the two buildlogs: -- --- b1/build.log 2025-03-08 13:19:56.707706870 +0000 +++ b2/build.log 2025-03-08 13:20:45.437500742 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Mar 8 01:18:57 -12 2025 -I: pbuilder-time-stamp: 1741439937 +I: Current time: Sat Apr 11 09:42:59 +14 2026 +I: pbuilder-time-stamp: 1775850179 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -34,51 +34,83 @@ 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/3809372/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/207730/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Apr 10 19:43 /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/207730/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/207730/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' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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='1e121f6e211046a69924e1ec0c7bcad2' - 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='3809372' - PS1='# ' - PS2='> ' + INVOCATION_ID=b72ef9425a7043c0a65b4410aea6dcf1 + 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=207730 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.EpNGk9NR/pbuilderrc_dVsv --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.EpNGk9NR/b1 --logfile b1/build.log libmpeg3_1.8.dfsg-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.EpNGk9NR/pbuilderrc_6h0U --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.EpNGk9NR/b2 --logfile b2/build.log libmpeg3_1.8.dfsg-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.1.0-31-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3809372/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/207730/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -148,7 +180,7 @@ Get: 30 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.24.1 [920 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4 amd64 0.7.4-20+b3 [34.2 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 liba52-0.7.4-dev amd64 0.7.4-20+b3 [53.4 kB] -Fetched 20.6 MB in 4s (5065 kB/s) +Fetched 20.6 MB in 0s (92.1 MB/s) Preconfiguring packages ... 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 ... 19783 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/207730/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/207730/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 @@ -323,6 +359,53 @@ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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) + | ~~~~~~~~~^~~~ +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/ac3.c: In function 'mpeg3audio_doac3': +audio/ac3.c:117:17: warning: pointer targets in passing argument 2 of 'a52_frame' differ in signedness [-Wpointer-sign] + 117 | frame, + | ^~~~~ + | | + | char * +In file included from audio/ac3.c:5: +/usr/include/a52dec/a52.h:138:47: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char *' + 138 | int a52_frame (a52_state_t * state, uint8_t * buf, int * flags, + | ~~~~~~~~~~^~~ +audio/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] + 107 | int frame_size, + | ~~~~^~~~~~~~~~ +audio/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 mpeg3demux.c -o x86_64/mpeg3demux.o audio/layer2.c: In function 'step_two': audio/layer2.c:283:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 283 | if(ba = *bita++) @@ -330,6 +413,7 @@ audio/layer2.c:369:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 369 | for(i = sblimit; i < SBLIMIT; 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 mpeg3ifo.c -o x86_64/mpeg3ifo.o 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; | ^~~~~~ @@ -337,6 +421,10 @@ 276 | int d1, step, test; | ^~~~ audio/layer2.c: In function 'mpeg3audio_dolayer2': +libmpeg3.c: In function 'mpeg3_new': +libmpeg3.c:32:13: warning: unused variable 'i' [-Wunused-variable] + 32 | int i; + | ^ 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); | ^~~~~ @@ -346,83 +434,47 @@ ./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); | ~~~~~~~~~~~~~~~^~~~~~ +mpeg3bits.c: In function 'mpeg3bits_read_buffer': +mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] + 28 | int result, i = 0; + | ^ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ +audio/tables.c: In function 'init_layer2': +audio/tables.c:138:39: warning: unused parameter 'audio' [-Wunused-parameter] + 138 | static int init_layer2(mpeg3_layer_t *audio) + | ~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 audio/layer3.c:55:21: warning: unused parameter 'gr' [-Wunused-parameter] 55 | int gr) | ~~~~^~ +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; + | ^ 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/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/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/ac3.c:107:13: warning: unused parameter 'frame_size' [-Wunused-parameter] - 107 | int frame_size, - | ~~~~^~~~~~~~~~ -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/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: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; - | ^~~~~~~~~~~~ +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; + | ^~~~ 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); @@ -431,22 +483,13 @@ 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/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/mpeg3audio.c:332:55: note: earlier argument should specify number of elements, later size of each element -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: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/mpeg3audio.c:362:46: warning: pointer targets in passing argument 2 of 'mpeg3audio_doac3' differ in signedness [-Wpointer-sign] 362 | audio->packet_buffer, | ~~~~~^~~~~~~~~~~~~~~ @@ -481,28 +524,25 @@ 211 | char *frame, | ~~~~~~^~~~~ audio/mpeg3audio.c: In function 'get_length': +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/mpeg3audio.c:446:21: warning: unused variable 'try' [-Wunused-variable] 446 | int try = 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) - | ^ audio/mpeg3audio.c: In function 'calculate_format': +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/mpeg3audio.c:500:31: warning: unused parameter 'file' [-Wunused-parameter] 500 | int calculate_format(mpeg3_t *file, mpeg3_atrack_t *track) | ~~~~~~~~~^~~~ -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++) - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -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 '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); @@ -512,13 +552,13 @@ 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/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/mpeg3audio.c: In function 'seek': -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 && - | ^~ audio/mpeg3audio.c:646:13: warning: unused variable 'result' [-Wunused-variable] 646 | int result = 0; | ^~~~~~ @@ -526,6 +566,35 @@ audio/mpeg3audio.c:791:25: warning: unused variable 'track' [-Wunused-variable] 791 | mpeg3_atrack_t *track = audio->track; | ^~~~~ +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; + | ^~~~~~~~~~~~ +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 'hybrid': audio/mpeg3audio.c: In function 'mpeg3audio_read_raw': audio/mpeg3audio.c:806:13: warning: unused variable 'i' [-Wunused-variable] 806 | int i; @@ -533,81 +602,119 @@ audio/mpeg3audio.c:803:14: warning: unused parameter 'max_size' [-Wunused-parameter] 803 | long max_size) | ~~~~~^~~~~~~~ +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/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/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/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 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 -audio/tables.c: In function 'init_layer2': -audio/tables.c:138:39: warning: unused parameter 'audio' [-Wunused-parameter] - 138 | static int init_layer2(mpeg3_layer_t *audio) - | ~~~~~~~~~~~~~~~^~~~~ -mpeg3atrack.c: In function 'mpeg3_delete_atrack': -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -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; +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/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; | ^ -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; +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 && + | ^~ +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 +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 | ; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) + | ^~~~~~~~~~~ +mpeg3ifo.c: In function 'celladdresses': +mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] + 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; + | ^~~~ +mpeg3ifo.c: In function 'finaltable': +mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~ +mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~~~ +mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] + 630 | int done; + | ^~~~ +mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] + 629 | int output_cell = 0; + | ^~~~~~~~~~~ +mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~ +mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] + 625 | mpeg3ifo_celltable_t *cells, + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ +mpeg3ifo.c: In function 'mpeg3_read_ifo': +mpeg3ifo.c:716:13: warning: unused variable 'result' [-Wunused-variable] + 716 | int result; | ^~~~~~ -libmpeg3.c:412:16: warning: unused variable 'done' [-Wunused-variable] - 412 | int i, done; - | ^~~~ -libmpeg3.c: In function 'calculate_packet_size': -mpeg3bits.c: In function 'mpeg3bits_read_buffer': -mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] - 28 | int result, i = 0; - | ^ -libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] - 275 | } - | ^ -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) - | ~~~~^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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 mpeg3strack.c -o x86_64/mpeg3strack.o mpeg3demux.c: In function 'get_transport_pes_packet': mpeg3demux.c:302:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 302 | if((demuxer->custom_id == demuxer->astream && @@ -658,9 +765,20 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 1301 | demuxer->do_video || | ~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~ 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 && | ^~ +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:1379:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1379 | if(demuxer->custom_id == demuxer->astream && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ @@ -698,7 +816,11 @@ mpeg3demux.c:1753:21: warning: unused variable 'fd' [-Wunused-variable] 1753 | mpeg3_fs_t *fd = title->fs; | ^~ +mpeg3ifo.c: In function 'get_ifo_playlist.constprop': mpeg3demux.c: In function 'mpeg3_read_next_packet': +mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] + 359 | strncpy(vob_prefix, filename, 6); + | ^ mpeg3demux.c:1782:13: warning: unused variable 'current_position' [-Wunused-variable] 1782 | int current_position; | ^~~~~~~~~~~~~~~~ @@ -707,10 +829,10 @@ 1922 | mpeg3_fs_t *fd = title->fs; | ^~ mpeg3demux.c: In function 'mpeg3_new_demuxer': -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 mpeg3demux.c:2213:13: warning: unused variable 'i' [-Wunused-variable] 2213 | 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 mpeg3title.c -o x86_64/mpeg3title.o mpeg3demux.c: In function 'mpeg3_absolute_to_program': mpeg3demux.c:2461:16: warning: unused variable 'j' [-Wunused-variable] 2461 | int i, j; @@ -718,113 +840,23 @@ mpeg3demux.c:2461:13: warning: unused variable 'i' [-Wunused-variable] 2461 | int i, j; | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 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': +mpeg3strack.c: In function 'mpeg3_new_strack': 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 mpeg3title.c -o x86_64/mpeg3title.o -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 -mpeg3ifo.c: In function 'program_map': -mpeg3strack.c: In function 'mpeg3_new_strack': -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)) - | ^~~~~~~~~~~~~~~ -mpeg3io.c: In function 'mpeg3io_read_buffer': -mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] - 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; - | ^~~~ -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]) - | ^~~~~~~~~~~~~~~ -mpeg3ifo.c: In function 'finaltable': -audio/layer3.c:236:23: note: at offset 2304 into object 'xr' of size [0, 2304] - 236 | float xr[SBLIMIT][SSLIMIT], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~ -mpeg3io.c:177:21: warning: variable 'result' set but not used [-Wunused-but-set-variable] - 177 | 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; - | ^~~~~~~~~~~~~~ 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 -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) - | ~~~~^~~~~~~~~~ mpeg3strack.c: In function 'mpeg3_get_strack': mpeg3strack.c:70:13: warning: unused variable 'i' [-Wunused-variable] 70 | int 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpeg3title.c: In function 'extend_cell_table': mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] 82 | int i; @@ -858,9 +890,10 @@ mpeg3title.c:185:18: warning: unused variable 'file' [-Wunused-variable] 185 | mpeg3_t *file = title->file; | ^~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -mpeg3tocutil.c: In function 'read_data': cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } | ^ @@ -920,17 +953,12 @@ mpeg3tocutil.c:337:37: warning: variable 'string_len' set but not used [-Wunused-but-set-variable] 337 | int string_len = 0; | ^~~~~~~~~~ -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/headers.c -o x86_64/video/headers.o 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; | ^~~~~~~~~ -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); - | ^ 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; @@ -995,8 +1023,18 @@ mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ +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) + | ~~~~^~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': -mpeg3vtrack.c: In function 'mpeg3_new_vtrack': +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) + | ~~~~^~~~~~~~~~~~~ mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ @@ -1004,6 +1042,11 @@ mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ +mpeg3tocutil.c: At top level: +mpeg3vtrack.c: In function 'mpeg3_new_vtrack': +mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] + 11 | static FILE *test_file = 0; + | ^~~~~~~~~ mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] 11 | int result = 0; | ^~~~~~ @@ -1011,14 +1054,19 @@ mpeg3vtrack.c:49:34: warning: unused parameter 'file' [-Wunused-parameter] 49 | int mpeg3_delete_vtrack(mpeg3_t *file, mpeg3_vtrack_t *vtrack) | ~~~~~~~~~^~~~ -mpeg3tocutil.c: At top level: mpeg3vtrack.c: At top level: -mpeg3tocutil.c:11:14: warning: 'test_file' defined but not used [-Wunused-variable] - 11 | static FILE *test_file = 0; - | ^~~~~~~~~ mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] 70 | static int last_keyframe = 0; | ^~~~~~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ 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; @@ -1139,23 +1187,20 @@ 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/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/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 +video/motion.c: In function 'mpeg3video_motion_vector': video/mmxtest.c: In function 'mpeg3_mmx_test': +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:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; | ^~~~~~ @@ -1165,17 +1210,7 @@ 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/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 video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] 178 | int i, padding; @@ -1187,6 +1222,7 @@ video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] 211 | 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/reconstruct.c -o x86_64/video/reconstruct.o 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; @@ -1231,12 +1267,18 @@ 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/seek.c -o x86_64/video/seek.o video/output.c: In function 'mpeg3video_ditherframe': video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] 141 | int uv_subscript, step, w = -1; | ^~~~ video/output.c: In function 'mpeg3video_ditherframe444': +video/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/output.c:281:45: warning: unused parameter 'video' [-Wunused-parameter] 281 | int mpeg3video_ditherframe444(mpeg3video_t *video, unsigned char *src[]) | ~~~~~~~~~~~~~~^~~~~ @@ -1285,15 +1327,7 @@ video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] 499 | int mpeg3video_display_second_field(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ -video/getpicture.c: In function 'mpeg3video_getinterblock': video/reconstruct.c: In function 'recon_comp': -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 video/slice.c -o x86_64/video/slice.o video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] 418 | void recon_comp(mpeg3video_t *video, | ~~~~~~~~~~~~~~^~~~~ @@ -1307,19 +1341,25 @@ video/reconstruct.c:757:25: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 757 | ; | ^ +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; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -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: +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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': -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': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] 143 | int i, j, size; | ^ @@ -1327,9 +1367,6 @@ video/seek.c:175:26: warning: unused variable 'demuxer' [-Wunused-variable] 175 | mpeg3_demuxer_t *demuxer = vstream->demuxer; | ^~~~~~~ -mpeg3demux.c:1091:13: note: 'decryption_offset' was declared here - 1091 | int decryption_offset; - | ^~~~~~~~~~~~~~~~~ video/seek.c:173:18: warning: unused variable 'file' [-Wunused-variable] 173 | mpeg3_t *file = video->file; | ^~~~ @@ -1346,19 +1383,22 @@ video/seek.c:208:14: warning: unused variable 'this_gop_start' [-Wunused-variable] 208 | long this_gop_start; | ^~~~~~~~~~~~~~ -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/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; - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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 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; @@ -1385,20 +1425,14 @@ 29 | int even_offset = 0; | ^~~~~~~~~~~ video/subtitle.c: In function 'mpeg3_decode_subtitle': +video/slice.c: In function 'mpeg3video_addblock': video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ -video/getpicture.c: In function 'mpeg3video_getmpg2interblock': -video/getpicture.c: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 audio/ac3.c -o x86_64/audio/ac3.lo +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 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 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, @@ -1412,6 +1446,11 @@ 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/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 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++) @@ -1438,93 +1477,8 @@ audio/layer2.c:378:13: warning: unused parameter 'frame_size' [-Wunused-parameter] 378 | int frame_size, | ~~~~^~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -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/layer3.c: In function 'get_scale_factors_1': -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': -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 audio/synthesizers.c -o x86_64/audio/synthesizers.lo +audio/layer3.c: In function 'get_scale_factors_1': audio/layer3.c:54:21: warning: unused parameter 'ch' [-Wunused-parameter] 54 | int ch, | ~~~~^~ @@ -1592,7 +1546,6 @@ 867 | static int antialias(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ audio/layer3.c: In function 'calc_i_stereo': -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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:917:41: warning: unused parameter 'audio' [-Wunused-parameter] 917 | static int calc_i_stereo(mpeg3_layer_t *audio, | ~~~~~~~~~~~~~~~^~~~~ @@ -1616,18 +1569,101 @@ 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 && | ^~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +audio/mpeg3audio.c: In function 'read_frame': audio/pcm.c: In function 'mpeg3audio_dopcm': -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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/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/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': +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 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 +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 audio/tables.c: In function 'init_layer2': audio/tables.c:138:39: warning: unused parameter 'audio' [-Wunused-parameter] 138 | static int init_layer2(mpeg3_layer_t *audio) | ~~~~~~~~~~~~~~~^~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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; @@ -1658,80 +1694,22 @@ libmpeg3.c:275:1: warning: control reaches end of non-void function [-Wreturn-type] 275 | } | ^ -mpeg3atrack.c: In function 'mpeg3_delete_atrack': -mpeg3atrack.c:51:34: warning: unused parameter 'file' [-Wunused-parameter] - 51 | int mpeg3_delete_atrack(mpeg3_t *file, mpeg3_atrack_t *atrack) - | ~~~~~~~~~^~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 mpeg3bits.c: In function 'mpeg3bits_read_buffer': -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) + - | ^~~~~~~ -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': mpeg3bits.c:28:21: warning: unused variable 'i' [-Wunused-variable] 28 | int result, i = 0; | ^ -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 && - | ^~ +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], + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +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) + | ~~~~~~~~~^~~~ mpeg3css_fake.c: In function 'mpeg3_delete_css': -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': mpeg3css_fake.c:11:35: warning: unused parameter 'css' [-Wunused-parameter] 11 | int mpeg3_delete_css(mpeg3_css_t *css) | ~~~~~~~~~~~~~^~~ @@ -1752,45 +1730,21 @@ 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) | ~~~~^~~~~~ -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; - | ^~~~~~~~~ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -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; - | ^~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT mpeg3title.c -o x86_64/mpeg3title.lo -mpeg3demux.c: In function 'mpeg3_new_demuxer': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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; + | ^ 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; @@ -1802,144 +1756,6 @@ 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: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; - | ^ -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 mpeg3tocutil.c -o x86_64/mpeg3tocutil.lo -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 | } - | ^ -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], - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -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; - | ^ -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 -mpeg3ifo.c: In function 'program_map': -mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 265 | *ptr = pgc; - | ^ -mpeg3ifo.c:313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 313 | *ptr = get2bytes((unsigned char*)*ptr) + pgc; - | ^ -mpeg3ifo.c: In function 'get_ifo_playlist': -mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 362 | while(new_filename = readdir(dirstream)) - | ^~~~~~~~~~~~ -mpeg3ifo.c: In function 'get_ifo_header': -mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] - 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); - | ^~~~~~~ -mpeg3ifo.c: In function 'cellplayinfo': -mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] - 538 | ; - | ^ -mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) - | ^~~~~~~~~~~ -mpeg3ifo.c: In function 'celladdresses': -mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] - 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) - | ^~~~~~~~~~~~~~~ -mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] - 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; - | ^~~~ -mpeg3ifo.c: In function 'finaltable': -mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~ -mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] - 634 | int64_t program_start_byte[256], program_end_byte[256]; - | ^~~~~~~~~~~~~~~~~~ -mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] - 630 | int done; - | ^~~~ -mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] - 629 | int output_cell = 0; - | ^~~~~~~~~~~ -mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~~~~~~ -mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] - 628 | int input_cell = 0, current_address = 0; - | ^~~~~~~~~~ -mpeg3ifo.c:625:39: warning: unused parameter 'cells' [-Wunused-parameter] - 625 | mpeg3ifo_celltable_t *cells, - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ -mpeg3title.c: In function 'extend_cell_table': -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 '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) - | ~~~~^~~~~~~~~~ -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; - | ^~~~ mpeg3tocutil.c: In function 'read_data': mpeg3tocutil.c:113:1: warning: no return statement in function returning non-void [-Wreturn-type] 113 | } @@ -1948,7 +1764,6 @@ 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); | ^~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 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); @@ -2044,7 +1859,12 @@ mpeg3tocutil.c:746:13: warning: unused variable 'i' [-Wunused-variable] 746 | int i, j, k; | ^ +mpeg3ifo.c: In function 'ifo_open': mpeg3tocutil.c: In function 'handle_subtitle': +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 mpeg3tocutil.c:982:16: warning: unused variable 'j' [-Wunused-variable] 982 | int i, j; | ^ @@ -2052,9 +1872,49 @@ 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: In function 'program_map': +mpeg3title.c: In function 'extend_cell_table': +mpeg3ifo.c:265:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 265 | *ptr = pgc; + | ^ +mpeg3title.c:82:21: warning: unused variable 'i' [-Wunused-variable] + 82 | int i; + | ^ mpeg3tocutil.c:1120:48: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1120 | if(vtrack->pid == custom_id) | ^~ +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; + | ^~~~~~~~~ +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; + | ^ +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:1025:13: warning: unused variable 'result' [-Wunused-variable] 1025 | int result = mpeg3_read_next_packet(file->demuxer); | ^~~~~~ @@ -2071,6 +1931,47 @@ mpeg3tocutil.c:1194:33: warning: unused variable 'atrack' [-Wunused-variable] 1194 | mpeg3_atrack_t *atrack = file->atrack[i]; | ^~~~~~ +mpeg3ifo.c: In function 'get_ifo_playlist': +mpeg3ifo.c:362:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 362 | while(new_filename = readdir(dirstream)) + | ^~~~~~~~~~~~ +mpeg3ifo.c: In function 'get_ifo_header': +mpeg3ifo.c:433:21: warning: unused variable 'atracks' [-Wunused-variable] + 433 | int atracks = ifo_audio((char*)ifo->data[ID_MAT] + IFO_OFFSET_AUDIO, (char**)&audio); + | ^~~~~~~ +mpeg3ifo.c: In function 'cellplayinfo': +mpeg3ifo.c:538:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] + 538 | ; + | ^ +mpeg3ifo.c:541:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 541 | if(total_cells = get_cellplayinfo((unsigned char*)cell_hdr_start, (unsigned char**)&cell_hdr)) + | ^~~~~~~~~~~ +mpeg3ifo.c: In function 'celladdresses': +mpeg3ifo.c:582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] + 582 | if(total_addresses = bswap_32(cell_addr_hdr->len) / sizeof(ifo_cell_addr_t)) + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:620:34: warning: unused variable 'cell' [-Wunused-variable] + 620 | mpeg3ifo_cell_t *cell = &cell_addresses->cells[i]; + | ^~~~ +mpeg3ifo.c: In function 'finaltable': +mpeg3ifo.c:634:42: warning: unused variable 'program_end_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~ +mpeg3ifo.c:634:17: warning: unused variable 'program_start_byte' [-Wunused-variable] + 634 | int64_t program_start_byte[256], program_end_byte[256]; + | ^~~~~~~~~~~~~~~~~~ +mpeg3ifo.c:630:13: warning: unused variable 'done' [-Wunused-variable] + 630 | int done; + | ^~~~ +mpeg3ifo.c:629:13: warning: unused variable 'output_cell' [-Wunused-variable] + 629 | int output_cell = 0; + | ^~~~~~~~~~~ +mpeg3ifo.c:628:29: warning: unused variable 'current_address' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~~~~~~ +mpeg3ifo.c:628:13: warning: unused variable 'input_cell' [-Wunused-variable] + 628 | int input_cell = 0, current_address = 0; + | ^~~~~~~~~~ mpeg3tocutil.c: In function 'mpeg3_update_index': mpeg3tocutil.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } @@ -2079,10 +1980,81 @@ mpeg3tocutil.c:1160:1: warning: control reaches end of non-void function [-Wreturn-type] 1160 | } | ^ +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 mpeg3vtrack.c -o x86_64/mpeg3vtrack.lo 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 '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) + + | ^~~~~~~ +mpeg3demux.c: In function 'remove_subtitle': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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 && + | ^~ mpeg3vtrack.c: In function 'mpeg3_new_vtrack': mpeg3vtrack.c:11:13: warning: unused variable 'result' [-Wunused-variable] 11 | int result = 0; @@ -2095,7 +2067,77 @@ mpeg3vtrack.c:70:12: warning: 'last_keyframe' defined but not used [-Wunused-variable] 70 | static int last_keyframe = 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; + | ^ +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; + | ^ +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 +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 | } + | ^ +mpeg3ifo.c: In function 'get_ifo_playlist.constprop': video/getpicture.c: In function 'mpeg3video_get_macroblocks': +mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] + 359 | strncpy(vob_prefix, filename, 6); + | ^ video/getpicture.c:518:22: warning: unused variable 'code' [-Wunused-variable] 518 | unsigned int code; | ^~~~ @@ -2106,13 +2148,9 @@ 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/headers.c -o x86_64/video/headers.lo -mpeg3ifo.c: In function 'get_ifo_playlist.constprop': -mpeg3ifo.c:359:9: warning: '__builtin_strncpy' output may be truncated copying 6 bytes from a string of length 1023 [-Wstringop-truncation] - 359 | strncpy(vob_prefix, filename, 6); - | ^ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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/headers.c: In function 'mpeg3video_getseqhdr': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 video/headers.c:16:13: warning: variable 'constrained_parameters_flag' set but not used [-Wunused-but-set-variable] 16 | int constrained_parameters_flag; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2129,7 +2167,6 @@ 13 | mpeg3_t *file = video->file; | ^~~~ video/headers.c: In function 'mpeg3video_sequence_extension': -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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/headers.c:74:13: warning: unused variable 'pos' [-Wunused-variable] 74 | int pos = 0; | ^~~ @@ -2179,6 +2216,7 @@ 168 | int layer_id; | ^~~~~~~~ video/headers.c: In function 'mpeg3video_picture_display_extension': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 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]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2233,16 +2271,6 @@ video/headers.c:521:48: warning: variable 'intra_slice' set but not used [-Wunused-but-set-variable] 521 | int slice_vertical_position_extension, intra_slice; | ^~~~~~~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -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/mmxtest.c: In function 'mpeg3_mmx_test': video/mmxtest.c:11:14: warning: unused variable 'string' [-Wunused-variable] 11 | char string[MPEG3_STRLEN]; @@ -2253,7 +2281,6 @@ video/mmxtest.c:9:13: warning: unused variable 'result' [-Wunused-variable] 9 | int result = 0; | ^~~~~~ -cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 video/motion.c: In function 'mpeg3video_motion_vector': video/motion.c:132:31: warning: unused parameter 'video' [-Wunused-parameter] 132 | mpeg3video_t *video, @@ -2262,17 +2289,22 @@ video/motion.c:178:13: warning: unused variable 'result' [-Wunused-variable] 178 | int result = 0; | ^~~~~~ -video/getpicture.c: In function 'mpeg3video_getmpg2intrablock': +cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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 -video/getpicture.c:412:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 412 | if(j != 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.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:309:21: note: 'j' was declared here - 309 | int val, i, j, sign, nc; +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 video/reconstruct.c -o x86_64/video/reconstruct.lo -video/mpeg3video.c: In function 'mpeg3video_deletedecoder': video/output.c: In function 'mpeg3video_ditherframe': +video/mpeg3video.c: In function 'mpeg3video_deletedecoder': +video/mpeg3video.c:178:16: warning: unused variable 'padding' [-Wunused-variable] + 178 | int i, padding; + | ^~~~~~~ video/output.c:141:27: warning: unused variable 'step' [-Wunused-variable] 141 | int uv_subscript, step, w = -1; | ^~~~ @@ -2311,31 +2343,27 @@ video/output.c:308:13: warning: unused variable 'i' [-Wunused-variable] 308 | int i, len2; | ^ -video/getpicture.c: In function 'mpeg3video_getmpg2interblock': video/output.c: In function 'mpeg3video_present_frame': -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/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/mpeg3video.c: In function 'mpeg3video_allocate_struct': -video/mpeg3video.c:211:13: warning: unused variable 'i' [-Wunused-variable] - 211 | int i; - | ^ 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/mpeg3video.c:178:13: warning: unused variable 'i' [-Wunused-variable] + 178 | int i, padding; + | ^ +video/mpeg3video.c: In function 'mpeg3video_allocate_struct': video/output.c:499:51: warning: unused parameter 'video' [-Wunused-parameter] 499 | int mpeg3video_display_second_field(mpeg3video_t *video) | ~~~~~~~~~~~~~~^~~~~ +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; @@ -2380,11 +2408,12 @@ video/mpeg3video.c:716:21: warning: variable 'size0' set but not used [-Wunused-but-set-variable] 716 | int size0, size1; | ^~~~~ -video/getpicture.c:507:11: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] - 507 | if(j != 0) +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:427:21: note: 'j' was declared here - 427 | int val, i, j, sign, nc; +video/getpicture.c:309:21: note: 'j' was declared here + 309 | int val, i, j, sign, nc; | ^ video/reconstruct.c: In function 'recon_comp': video/reconstruct.c:418:31: warning: unused parameter 'video' [-Wunused-parameter] @@ -2401,12 +2430,15 @@ 757 | ; | ^ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-unused-function -W -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/usr/include/a52dec -g -fPIC -D_REENTRANT video/seek.c -o x86_64/video/seek.lo +video/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/slice.c -o x86_64/video/slice.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/subtitle.c -o x86_64/video/subtitle.lo -video/slice.c: In function 'mpeg3video_addblock': -video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] - 62 | int spar = slice->sparse[comp]; - | ^~~~ cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libmpeg3-1.8.dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -Wno-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/seek.c: In function 'mpeg3video_match_refframes': video/seek.c:143:16: warning: unused variable 'j' [-Wunused-variable] @@ -2433,20 +2465,6 @@ 208 | long this_gop_start; | ^~~~~~~~~~~~~~ video/subtitle.c: In function 'decompress_subtitle': -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/subtitle.c:371:56: warning: unused variable 't' [-Wunused-variable] 371 | float f, p, q, t; | ^ @@ -2475,6 +2493,24 @@ video/subtitle.c:540:25: warning: unused variable 'vtrack' [-Wunused-variable] 540 | mpeg3_vtrack_t *vtrack = (mpeg3_vtrack_t*)video->track; | ^~~~~~ +video/slice.c: In function 'mpeg3video_addblock': +video/slice.c:62:13: warning: unused variable 'spar' [-Wunused-variable] + 62 | int spar = slice->sparse[comp]; + | ^~~~ +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 workarounds.c -o x86_64/workarounds.lo 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 \ @@ -2562,11 +2598,11 @@ dh_gencontrol -O-Smakefile dh_md5sums -O-Smakefile dh_builddeb -O-Smakefile -dpkg-deb: building package 'libmpeg3-2t64' in '../libmpeg3-2t64_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 'mpeg3-utils' in '../mpeg3-utils_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-2t64' in '../libmpeg3-2t64_1.8.dfsg-6_amd64.deb'. dpkg-deb: building package 'libmpeg3-dev' in '../libmpeg3-dev_1.8.dfsg-6_amd64.deb'. -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-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) @@ -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/207730/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/207730/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/3809372 and its subdirectories -I: Current time: Sat Mar 8 01:19:55 -12 2025 -I: pbuilder-time-stamp: 1741439995 +I: removing directory /srv/workspace/pbuilder/207730 and its subdirectories +I: Current time: Sat Apr 11 09:43:44 +14 2026 +I: pbuilder-time-stamp: 1775850224